sts-springsourcetoolsuite

Error abotut dynamic web module version reported by STS

旧时模样 提交于 2019-12-04 23:24:17
问题 I've created a web project in STS 2.9.2 using Spring 3.0.6 and Maven 3.0.3. I've created some pages and code with no errors. I've upgraded Spring libraries version from 3.0.6 to 3.1.2 in project's pom.xml and now I get following error message: Dynamic Web Module 3.0 requires Java 1.6 or newer. Dynamic web module version and Java compiler version in project's faces are set to 2.5 and 1.6 respectively. Also set JRE system library for my project to 1.6. I've tried to remove Maven nature and then

maven doesnt seem to be installing with springsource tool suite

戏子无情 提交于 2019-12-04 17:14:25
I recently installed the springsource tool suite plugin for eclipse, running on windows 7. But when I open a command prompt (by typing cmd in the windows start menu) and type in: mvn --version I get the following response: 'mvn' is not recognized as an internal or external command, operable program, or batch file. So I then downloaded the stand-alone version of springsource tool suite, which is not what I want. And nonetheless, I still get the same response on the command line when I type in mvn --version. Can anyone tell me how to fix this problem? I get the same response when I type in java

In Grails, the command “tomcat:deploy” does not generate the complete war as the command “dev war” does

╄→尐↘猪︶ㄣ 提交于 2019-12-04 06:19:53
问题 The command "grails dev war" deploys perfectly in my local Tomcat6 server with a generated war which contains the next folders: css images js META-INF plugins WEB-INF Unfortunately, I need that the command tomcat:deploy works too (I'm actually using: tomcat:redeploy -DskipTests). But Tomcat gives the next error : 2013-05-23 05:12:53,094 [http-8080-4] ERROR digester.Digester - Parse Fatal Error at line 1 column 1: Final de archivo prematuro. org.xml.sax.SAXParseException; systemId: jndi:

Projects in Project Browser are disappeared but remain in disk

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 06:04:32
Every new day my projects are lost in project browser in eclipse-indigo but remain in disk, so I must import all projects again in every morning. Do you have any idea about this problem? I can see all projects in ~/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects When I open the eclipse, the files which I worked one day ago, make an exception: org.eclipse.core.runtime.CoreException: The file does not exist. Two days ago my eclipse crashed and this problem started probably after this time. Also I found these in error logs: --> The workspace exited with unsaved changes in the

Error abotut dynamic web module version reported by STS

﹥>﹥吖頭↗ 提交于 2019-12-03 15:06:49
I've created a web project in STS 2.9.2 using Spring 3.0.6 and Maven 3.0.3. I've created some pages and code with no errors. I've upgraded Spring libraries version from 3.0.6 to 3.1.2 in project's pom.xml and now I get following error message: Dynamic Web Module 3.0 requires Java 1.6 or newer. Dynamic web module version and Java compiler version in project's faces are set to 2.5 and 1.6 respectively. Also set JRE system library for my project to 1.6. I've tried to remove Maven nature and then add it again and JRE system library is set to JSE 1.5 automatically (but I have no Java 1.5 installed)

Spring Explorer not showing beans from bean definition file

不羁的心 提交于 2019-12-03 09:47:56
问题 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? 回答1: In the Spring Explorer tab in Eclipse, right click on

Trouble importing multi module maven project in to Eclipse (STS 2.5.2)

99封情书 提交于 2019-12-03 08:48:09
I've just spent the last hour looking at threads on Stackoverflow.com , trying to import a Maven project in to Spring ToolSuite 2.5.2. The Maven project has multiple modules, when I use the Import... wizard in STS to import the project All the Modules are listed in the Package Explorer and some of the modules dependencies are not resolved. Can any advise on the proper way to import a Multi-Module Maven project in to STS/Eclipse such that all the modules appear under a Parent directory? And so all the modules dependencies are resolved? The project is in a hierarchy on the file system, I've

Grails: Native2ascii error when I add a new property to message.properties

喜夏-厌秋 提交于 2019-12-03 05:54:31
I get a strange error when I add a new property to message.properties file in my grails application during runtime. When I restart the application via the command line, or restart STS, this error disappears. I am on version 2.0.1 and until a week ago, I was able to add new properties to message.properties file during runtime. Here is the stacktrace of the error | Error 2012-06-18 16:54:58,702 [Thread-38] ERROR plugins.AbstractGrailsPluginManager - Plugin [i18n:2.0.1] could not reload changes to file [/home/project/grails-app/i18n/messages.properties]: Error starting Sun's native2ascii: Message

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)

Configure Eclipse word-boundaries so 'Next-Word-Key' skips whole identifier

送分小仙女□ 提交于 2019-12-03 01:15:57
If I have a piece of Code MyIdentifierIsNice(OtherThingAlsoNice isBetterThen); I'd like to change the behavior of Ctrl-Left in Eclipse from stopping here: My|Identifier|Is|Nice|(|Other|Thing|Also|Nice is|Better|Then|);| to here: MyIdentifierIsNice(|OtherThingAlsoNice |isBetterThen);| ...or at least just not so often. Other variants would be also fine, like: MyIdentifierIsNice|(|OtherThingAlsoNice| isBetterThen|);| Mainly it should stop considering a CamelCaseIdentifier to consist of several words for navigation via Next-Word , and such like. I use SpringSourceSuite Version 2.5.1, which is