spring-tool-suite

How do I create a Spring Boot Starter Project in Eclipse that is properly configured with a Run Configuration?

岁酱吖の 提交于 2019-12-05 05:24:43
I followed the instructions in Spring Boot Support in Spring Tool Suite 3.6.4 and ended up with an Eclipse project which has several issues. The number one issue is that when I right-click on the class containing the "main" entry method and select the "Run As" option, the only entry I get is the fallback "Run Configurations..." method. I neither get the option to run it as a "Spring Boot App" or as a "Java Application". My question is how do I create the project or what do I do after it's created following the instructions in that site to get that Run As option? In addition to the above

Apache Tomcat server not in list to add new

ⅰ亾dé卋堺 提交于 2019-12-05 01:21:53
问题 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 回答1: 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

Recommended way to upgrade STS?

Deadly 提交于 2019-12-05 00:26:38
问题 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

Exception while starting spring web mvc application

别等时光非礼了梦想. 提交于 2019-12-04 22:08:49
问题 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

Lombok and STS issue - Method undefined

旧街凉风 提交于 2019-12-04 19:13:03
问题 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

Pivotal tc Server v.3.1 won't start

偶尔善良 提交于 2019-12-04 15:28:40
I've recently downloaded STS and I tried firing up the TC Server, but it gives this error: Server Pivotal tc Server Developer Edition v3.1 failed to start. Error: Could not find or load main class Files.Spring.sts-bundle.pivotal-tc-server-developer-3.1.0.RELEASE.base-instance.conf.logging.properties Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 I went to the folder and it seems that the properties file is there. Is this a bug or is there something wrong with my settings? I guess you might have already solved this. But just answering.

Eclipse 3.8 - Prevent File Name Truncating in Editor Tabs

爱⌒轻易说出口 提交于 2019-12-04 12:25:00
问题 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. 回答1: 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.

Creating a Spring 4 MVC project with annotations and no xml files

雨燕双飞 提交于 2019-12-04 09:48:13
问题 I'm new to Spring MVC and Hibernate. I'm trying to start a project by following tutorials but I have been running into problems as my project structure is not consistent with the tutorials I am reading. I have downloaded the latest STS and I do see the option of creating an Spring MVC project. However it is based on Spring 3 and still uses XML files. From what I have read it looks like there is a way to do it without XML files since Spring 3. I prefer annotations over XML files greatly. How

STS randomly crashes on ubuntu

耗尽温柔 提交于 2019-12-04 05:32:09
问题 Two months i experience crashing STS (3.7.3.RELEASE) on ubutnu 14.04. Before posting this, i made following steps: Reinstalled STS Reinstalled java-oracle (web8upd ppa) Changing workspace also made no difference The issue randomly appears after clicking on Server Tab (doesnt matter on server or not) and then it closes without any warning. The log file is huge, i leave link: http://pastebin.com/zFLQWf7u Hope someone can help me. Thanks 回答1: This looks like a bug to me that we might be able to

Spring Tool Suite (STS) 3.5.0 - org.codehaus.groovy.eclipse is unknown in the solver

偶尔善良 提交于 2019-12-04 04:27:17
There is a problem with STS 3.5.0 https://issuetracker.springsource.com/browse/STS-3792 org.codehaus.groovy.eclipse 2.9.0.xx-201403261719-e43j8 is unknown in the solver! These are the steps I took to fix it and it allowed me to use eclipse marketplace Help -> Check for updates Problem Occured "JDT Core patch with Java 8 Support for Groovy-Eclipse plugin" is not applicable to the current configuration and will not be installed. An internal error occurred during: "Searching alternate solutions...". org.codehaus.groovy.eclipse 2.9.0.xx-201403261719-e43j8 is unknown in the solver! If you get this