sts-springsourcetoolsuite

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

拈花ヽ惹草 提交于 2019-12-20 20:06:15
问题 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

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

我的梦境 提交于 2019-12-20 11:06:41
问题 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

The matching wildcard is strict, but no declaration can be found for element

最后都变了- 提交于 2019-12-19 05:21:56
问题 I'm using Springsource Tools Suite 3 and trying to implement interceptions. That's the code and errors are commented: servlet-context.xml <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www

SpringJUnit4ClassRunner class not found

↘锁芯ラ 提交于 2019-12-19 05:04:35
问题 i am trying to create a unit test using SpringJUnit4ClassRunner but everytime i execute the test it says it cannot find SpringJUnit4ClassRunner using mvn install. \src\test\java\com\jr\freedom\util\JsonParserUtilTest.java:11: cannot find symbol [ERROR] symbol: class SpringJUnit4ClassRunner [ERROR] -> [Help 1] here is my code @RunWith(SpringJUnit4ClassRunner.class) public class JsonParserUtilTest { private String jsonUser = "{ \"username\":\"jono111\",\"emailAddress\":\"jon@google.com\", \

Cannot find Spring MVC project when creating new web application project using STS?

£可爱£侵袭症+ 提交于 2019-12-19 03:43:14
问题 I'm new to Spring MVC and trying to learn from the internet tutorial such as these good ones from journaldev, springsource, and codejava All of those tell me use STS as the IDE and to go for New Project - Spring Template Project - Spring MVC Project . Though in my case, using the version 3.6.1.RELEASE of STS, I can NOT find any Spring MVC Project options there. Do you have the same issue using STS? p.s. I found the solution here for previous version of STS, though it not works for version 3.6

Why Template “Spring MVC Project” in “SpringSource Tool Suite” not work with Tomcat?

为君一笑 提交于 2019-12-18 17:27:58
问题 When Im create Spring MVC Template project in SpringSource Tool and try to Run on the Tomcat server I have this error: WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/test/] in DispatcherServlet with name 'appServlet'. This is default: /test/src/main/java/ru/test/test/HomeController.java @Controller public class HomeController { private static final Logger logger = LoggerFactory .getLogger(HomeController.class); /** * Simply selects the home

Why Template “Spring MVC Project” in “SpringSource Tool Suite” not work with Tomcat?

强颜欢笑 提交于 2019-12-18 17:27:39
问题 When Im create Spring MVC Template project in SpringSource Tool and try to Run on the Tomcat server I have this error: WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/test/] in DispatcherServlet with name 'appServlet'. This is default: /test/src/main/java/ru/test/test/HomeController.java @Controller public class HomeController { private static final Logger logger = LoggerFactory .getLogger(HomeController.class); /** * Simply selects the home

STS.app on Mac 10.12.1 always creates a new org.springsource.sts folder in .eclipse

半腔热情 提交于 2019-12-18 04:54:15
问题 I've downloaded and installed STS 3.8.2 on my Mac (10.12.1). Each time the STS.app file is launched, it creates a new org.springsource.sts_3.8.2.RELEASE_########_macosx_cocoa_x86_64 folder under the hidden .eclipse folder (the hashes are there because I have MANY of the same folder with the numbers in the hash area being the only difference). In doing so, the default workspace and all plugins I installed the last time it was running are wiped out (because they exist in the previous ####

Compiler error “archive for required library could not be read” - Spring Tool Suite

吃可爱长大的小学妹 提交于 2019-12-17 08:30:56
问题 I am starting to configure my development environment and I am using Spring Tool Suite 2.8.1 along with m2E 1.01. As far as I can tell, since this is a Maven Project (my first), my Maven POM is dictating (along with m2E smarts) my project build configuration and dependencies. What I would like to know is why my IDE is displaying Java Build Problems that read "Archive required for library library/path/somejar.jar cannot be read or is not a valid zip file" when I can see the jars in my .m2

tomcat server fails to start the server and application in STS [duplicate]

泄露秘密 提交于 2019-12-17 04:07:35
问题 This question already has answers here : Deploying Maven project throws java.util.zip.ZipException: invalid LOC header (bad signature) (12 answers) Closed last year . When I run a Spring MVC application I get this exception and the sever fails to start. Please help me to fix this issue. Exception StackTrace: Jan 24, 2013 11:33:59 AM org.apache.catalina.startup.ContextConfig processAnnotationsJar SEVERE: Unable to process Jar entry [org/springframework/instrument/classloading/oc4j/package-info