spring-tool-suite

Intellij, Spring dev tools remote, Docker, error Unexpected 404 response uploading class files

亡梦爱人 提交于 2019-12-04 01:24:41
问题 Im trying to use Spring Boot Dev tools (Spring Remote), and automatically upload recompiled files to my docker container. I keep receiving Unexpected 404 response uploading class files This is my docker file: FROM java:8 WORKDIR /first ADD ./build/libs/first.jar /first/first.jar EXPOSE 8080 RUN bash -c 'touch /first/first.jar' ENTRYPOINT ["java","-Dspring.data.mongodb.uri=mongodb://mongodb/micros", "-Djava.security.egd", "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005","

Cannot perform operation. Computing alternate solutions, may take a while STS?

折月煮酒 提交于 2019-12-03 22:38:38
I would like to ask what does this error mean when adding a new Available Software Site and installing new software in Eclipse/STS (Spring Tool Suite) using Install New Software ? I am experiencing this problem with the Spring Tool Suite Nightly Build : http://dist.springsource.com/snapshot/STS/nightly-distributions.html I am trying to update my STS and reinstall the Welcome Dashboard . When I try to add the following Available Software Site : http://dist.springsource.com/snapshot/TOOLS/nightly/e4.5 I select all the items in order that they all will be installed, Then this message is shown in

Unable to choose Tomcat 8.5 in Spring Tool Suite when running Spring Boot application

本小妞迷上赌 提交于 2019-12-03 21:24:39
I can run a Spring boot application by deploying its war in an external Tomcat 8.5, but cannot run the same from Spring Tool Suite. I have a Spring boot application with packaging set to war. I can generate the war file, deploy it to an external tomcat with version 8.5.34. But I cannot run this application using Spring Tool Suite. When I right click on the project > Run As > Run on Server, I get the following dialog box When I select Tomcat 8.5, the next and finish buttons are disabled. The Server name box is disabled as well. It works fine when selecting Tomcat 9 though. If I try to edit the

Apache Tomcat server not in list to add new

南楼画角 提交于 2019-12-03 16:41:40
I need to add an Apache Tomcat server but the "Apache" folder have only Geronimo servers. How to fix this? STS 4.0.0.0.M12 The STS4 distribution doesn't contain those adapters out of the box, since we tried to reduce the overall size of the distribution for various reasons (reduced startup time, reduced size, etc.). If you want to get the Apache Tomcat server adaptors back, you can install the JST Server Adaptor... features from the main Eclipse 2018-09 p2 repository via Install New Software , select the main Eclipse update site (the right one depends on the base Eclipse version that you have,

Recommended way to upgrade STS?

喜欢而已 提交于 2019-12-03 16:21:39
Lets assume that I have a fairly large organization of Spring Tool Suite (STS) users. Those users are using some out-of-date version of STS (e.g. 3.1.0). What is the recommended and least painful way to upgrade those users to latest STS+Eclipse? I basically see two main approaches. Use Eclipse built-in P2 update mechanism to update STS+Eclipse from within Eclipse/STS. Is this an officially supported way? Assuming that I stick to the "officially released" STS+Eclipse version combinations of STS (e.g STS 3.1.0 + Eclipse 3.8.0, STS 3.1.0 + Eclipse 4.2.0, STS 3.2.0 + Eclipse 3.8.2, STS 3.2.0 +

Exception while starting spring web mvc application

北战南征 提交于 2019-12-03 14:43:11
My spring project works fine when I am using spring 3.2.9 but if I changed it to 4.1.4 I get following exception when i m starting the application. <org.springframework-version>4.1.4.RELEASE</org.springframework-version> here is the exception details of the exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans

Lombok and STS issue - Method undefined

末鹿安然 提交于 2019-12-03 12:41:26
I have STS versioned 3.6.3.SR1 that's based on Eclipse Luna 4.4.1. I have did the following steps: 1) Donwload and run the lombak runnable jar and gave the path of my STS. 2) I verified the entries of vmargs, but was missing Xbootclasspath and added it to have like, -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Dorg.eclipse.swt.browser.IEVersion=10001 -Xms512m -Xmx1024m -javaagent:C:\tools\Lombok\lombok.jar -Xbootclasspath/a:C:\tools\Lombok\lombok.jar 3) I have exit and opened the STS both from shortcut as well as the absoulte location of the STS.exe 4) I verified the outline of

How can I install the Spring Tool Suite in Ubuntu?

守給你的承諾、 提交于 2019-12-03 08:14:21
问题 How do I install STS on Ubuntu? I already downloaded the compressed STS tar.gz file from spring.io. 回答1: Extract tar.gz file wherever you want (for 64 Bit) sudo tar -xvf spring-tool-suite-3.7.0.RELEASE-e4.5-linux-gtk-x86_64.tar.gz (or for 32 Bit) sudo tar -xvf spring-tool-suite-3.7.0.RELEASE-e4.5-linux-gtk.tar.gz and you can start to use (/sts-bundle/sts-3.7.0.RELEASE/STS). 回答2: Step 1 : Download the latest Spring Tool Suite for Linux from STS official website: http://spring.io/tools/sts/all

Eclipse 3.8 - Prevent File Name Truncating in Editor Tabs

半世苍凉 提交于 2019-12-03 07:24:30
I have want seems like it should be a simple question but I keep striking out... In Eclipse 3.8 / STS 3.1, how do I stop Eclipse from truncating the file names in the editor tabs. I can't tell which tab is which. Thanks in advance. Under Window -> Preferences go to General -> Editors . The last point should be "Close editors automatically", and you can specify a number. If you check this, the least recently used editor will be closed when the given amount of opened editors is reached. That way the open editors don't take up so much space, and the possibility of truncated names is reduced. You

The type org.eclipse.jdt.annotation.NonNull cannot be resolved. It is indirectly referenced from required .class files

强颜欢笑 提交于 2019-12-03 05:40:56
问题 When I use the Java 8 method reference double colon operator ( :: ) with new operator (e.g. MyType::new ), I get this error in Eclipse of Spring Tool suite (STS): The type org.eclipse.jdt.annotation.NonNull cannot be resolved. It is indirectly referenced from required .class files How to get rid of this error? 回答1: Error description is provided in Stephan Herrmann's comment. There is open Eclipse issue to make this issue more user friendly. Solution is to include following dependency: