sts-springsourcetoolsuite

Spring Explorer not showing beans from bean definition file

自作多情 提交于 2019-12-02 23:02:36
I just downloaded the Springsource Tool Suite, and I created a simple bean configuration file called myDefinition.xml and placed it in the root directory of the Spring Project. However, the Spring Explorer is not showing any data. I'm using eclipse 3.5 and the latest SpringSource all-in-one installation. Also, if I specify invalid property names in the configuration file, I get no error. Autocomplete, however, is working. Thoughts? In the Spring Explorer tab in Eclipse, right click on your project > properties. Then go to Spring > Beans Support and select the Config Files tab. You can then

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

Setup Maven plugin connectors Error

倾然丶 夕夏残阳落幕 提交于 2019-12-02 09:29:56
问题 I am trying to import a project into Spring Source Tool Suite (latest version). The project was previously created from maven archetype cataloge. I am getting the errors shown on the screenshot. I was able to import the same project on a different machine but with the same maven repository (I copied the whole .m2 directory) without any problems. Note: all of those tree bundles: com.springsource.bundlor.maven1.0.0.RELEASE, i18n-maven-plugin, maven-dependency-plugin are present in .m2

Could not run Grails project GGTS

你。 提交于 2019-12-02 06:50:30
问题 I have a grails project that runs perfectly in the command line. When I try to run it in GGTS with grails run-app it runs the first time without any error. Then, I stopped the server and ran it again with grails run-app. Now the following errors occur. | Error 2013-04-29 15:32:14,965 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'annotationHandlerMapping': Invocation of init method failed; nested exception is java

GWT + JSTL in development mode — is it possible?

回眸只為那壹抹淺笑 提交于 2019-12-02 00:00:02
问题 I have a GWT app (generated by roo) that I have decided to secure with Spring Security. Roo generates a login.jspx page as part of the security setup and this jspx uses some basic JSTL taglibs. When running in development mode, the underpinning Jetty server apparently does not like this. With the following Maven dependencies <dependency> <groupId>javax.servlet.jsp.jstl</groupId> <artifactId>jstl-api</artifactId> <version>1.2</version> <classifier/> </dependency> <dependency> <groupId>org

How to add source folder to grails application

血红的双手。 提交于 2019-12-01 20:30:29
I use STS for developing Grails application, and I need to use there a bunch of classes generated by wsimport utility. In order to not to mix my source with autogenerated source, I want to add separate directory and put there generated classes, like this: grails-project | |-- .classpath |-- .groovy |-- .project |-- .settings |-- application.properties |-- grails-app |-- lib |-- scripts |-- src | |-- groovy | |-- java | `-- wsimport <- where I want to make additional source folder |-- target |-- target-eclipse |-- test `-- web-app I can add new classpath entry to .classpath file and STS will

Eclipse or Spring Suit Error - Maven Project - Dynamic Web module cannot be changed to 3.1

梦想与她 提交于 2019-12-01 13:30:57
I have configure external Maven 3.9 to spring tool suit. I did all possible way what was mentioned in different post from stackover flow but failed to overcome below error Cannot change version of project facet Dynamic Web Module to 3.1 Can any one please help me to resolve it. I will give you the steps I did to create the Maven Project. New -> Maven Project -> Selected maven-arcetype-webapp ** As some blog suggested updated the web.xml to latest 3.1 Changed the System Library from 1.5 to 1.8 Still when i try to change the Dynamic Web Module in project facet, its gives me the error I shared.

Eclipse or Spring Suit Error - Maven Project - Dynamic Web module cannot be changed to 3.1

主宰稳场 提交于 2019-12-01 10:31:26
问题 I have configure external Maven 3.9 to spring tool suit. I did all possible way what was mentioned in different post from stackover flow but failed to overcome below error Cannot change version of project facet Dynamic Web Module to 3.1 Can any one please help me to resolve it. I will give you the steps I did to create the Maven Project. New -> Maven Project -> Selected maven-arcetype-webapp ** As some blog suggested updated the web.xml to latest 3.1 Changed the System Library from 1.5 to 1.8

How to fix Groovy Grails Tool Suite 3 extreme memory usage

坚强是说给别人听的谎言 提交于 2019-12-01 07:35:35
Groovy Grails Tool Suite always takes more than 3000M of memory. Even at start. Heap status show about 2500M How can I fix this, it's not supposed to take that much. I always have to restart my IDE because it's too slow. I've already upgraded my GGTS.ini: -Xms320m -Xmx3072m -XX:MaxPermSize=2048m Close unused project Deactivate auto-build Recreate your workspace (Back it up first!) Others solutions: http://blog.normation.com/2010/05/24/optimizing-eclipse-performances/ 来源: https://stackoverflow.com/questions/13515704/how-to-fix-groovy-grails-tool-suite-3-extreme-memory-usage

How to fix Groovy Grails Tool Suite 3 extreme memory usage

旧城冷巷雨未停 提交于 2019-12-01 05:35:54
问题 Groovy Grails Tool Suite always takes more than 3000M of memory. Even at start. Heap status show about 2500M How can I fix this, it's not supposed to take that much. I always have to restart my IDE because it's too slow. I've already upgraded my GGTS.ini: -Xms320m -Xmx3072m -XX:MaxPermSize=2048m 回答1: Close unused project Deactivate auto-build Recreate your workspace (Back it up first!) Others solutions: http://blog.normation.com/2010/05/24/optimizing-eclipse-performances/ 来源: https:/