spring-tool-suite

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

若如初见. 提交于 2019-12-03 05:06:47
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 can I create a Spring MVC 4 application that is based on annotations and relies on xml files minimally?

Tomcat vs Pivotal tc Server

荒凉一梦 提交于 2019-12-03 02:38:49
问题 Could anyone advise as to the pros and cons of using Pivotal tc Server as opposed to just vanilla Tomcat for a Spring-MVC Java web application? Could find very little about Pivotal other than on their website and the fact it's packaged as part of the Spring Tool Suite. This lack of info is making me a bit wary about being dependent on it... Background: Am preparing the development environment for a Spring-MVC project and currently evaluating whether to use the packaged Spring Tool Suite (STS)

How can I install the Spring Tool Suite in Ubuntu?

試著忘記壹切 提交于 2019-12-02 21:52:37
How do I install STS on Ubuntu? I already downloaded the compressed STS tar.gz file from spring.io . 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). Step 1 : Download the latest Spring Tool Suite for Linux from STS official website: http://spring.io/tools/sts/all Step 2 : Extract into any folder which you prefer. My extracted Spring Tool Suite locations is /home/harishshan

Missing tools.jar when launching STS application

久未见 提交于 2019-12-02 21:44:28
i have the latest STS4.I am using installed java-1.8 jdk NOT embedded as the execution environment. My project just runs fine without any issue. However when I launch the STS application itself I have a pop up saying "Missing tools.jar" I have already tried I have tried pointing JAVA_HOME to different Jdk added -vm args in the .ini file. Yet I cannot get rid of this pop up. The fix is in the -vm parameter. the order and the absolute path of the javaw.exe seems to be the issue. the readme file mentions _ "To run Eclipse with an alternate Java runtime environment, the path to the Java virtual

Tomcat vs Pivotal tc Server

情到浓时终转凉″ 提交于 2019-12-02 16:12:10
Could anyone advise as to the pros and cons of using Pivotal tc Server as opposed to just vanilla Tomcat for a Spring-MVC Java web application? Could find very little about Pivotal other than on their website and the fact it's packaged as part of the Spring Tool Suite. This lack of info is making me a bit wary about being dependent on it... Background: Am preparing the development environment for a Spring-MVC project and currently evaluating whether to use the packaged Spring Tool Suite (STS) or just start with the latest Eclipse (possibly combined with the Eclipse STS plugin ). Came across

Optimal Performance tuning STS on Mac OS X

柔情痞子 提交于 2019-12-02 08:27:57
What are the optimal performance tuning settings to put in my sts.ini file to ensure STS runs well on my Mac? I am looking to optimize two machines . One is a MacBook Pro with 16GB ram and a 6-core 2.6Gh i7 processor and the other is an 8GB dual-core processor 2.2Ghz. I am looking to get a faster overall speed for STS. The thing that really slows me down is the change event handler process. When it starts running then everything slows down. There are quite a few one-off guides around for optimal performance tuning of the Spring Tool Suite. Some are written for a Windows platform and some for

STS randomly crashes on ubuntu

社会主义新天地 提交于 2019-12-02 03:59:05
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 This looks like a bug to me that we might be able to fix. There an action in tc server integration plugin that requires java.awt.Desktop to navigate to URL.

Spring Tool Suite finds spring-boot integration test configuration and does not start main application

余生长醉 提交于 2019-12-02 03:56:33
I have a little struggle with Spring Tool Suite in combination with spring-boot. I created a custom Maven spring-boot-web-application including several JUnit tests, one of this test is an integration test which has a configuration for the testapplication. If I want to start the spring-boot-web-application via Spring Tool Suite ( run as -> Spring Boot Application ) the application does not start because both configurations ( src/main/java, src/test/java ) are found and conflict each other. As soon I remove the test resources from the buildpath the application starts as expected. Is there any

How to run STS on Java version 1.7

天涯浪子 提交于 2019-12-01 17:19:33
I need to run eclipse(java 1.7) and STS 3.8.1 ( java 1.8) but if i select the java 7 as default i am getting error in the STS 3.8.1. I am using OS : ubuntu 14.10 Error : Version 1.7.0_80 of the JVM is not suitable for this product. Version: 1.8 or greater is required. Or I select java 1.8 as default eclipse is not working fine. My requirement is to build a Project using java 1.7 with STS. and latest version 3.8.1 doesnot support the java 1.7. and i try to search which version of STS support 1.7 but i am not getting any answer . This question is old, but for anyone looking at this in the future

How to run STS on Java version 1.7

大城市里の小女人 提交于 2019-12-01 16:25:38
问题 I need to run eclipse(java 1.7) and STS 3.8.1 ( java 1.8) but if i select the java 7 as default i am getting error in the STS 3.8.1. I am using OS : ubuntu 14.10 Error : Version 1.7.0_80 of the JVM is not suitable for this product. Version: 1.8 or greater is required. Or I select java 1.8 as default eclipse is not working fine. My requirement is to build a Project using java 1.7 with STS. and latest version 3.8.1 doesnot support the java 1.7. and i try to search which version of STS support 1