sts-springsourcetoolsuite

Grails - Class “org.grails.tomcat.TomcatLoader” was not found in the CLASSPATH

放肆的年华 提交于 2020-01-04 05:33:10
问题 grails run-app from within Eclipse is currently giving me the exception below for my Google App Engine/Grails test application: Enhancing JDO classes [enhance] DataNucleus Enhancer (version 1.1.4) : Enhancement of classes [enhance] Jan 24, 2010 5:11:42 AM org.datanucleus.metadata.MetaDataManager loadClasses [enhance] SEVERE: Class "org.grails.tomcat.TomcatLoader" was not found in the CLASSPATH. Please check your specification and your CLASSPATH. [enhance] org.datanucleus.exceptions

SpringSource Roo Controller Removal

流过昼夜 提交于 2020-01-04 03:56:08
问题 Environment: Windows XP, SpringSource Tool Suite 2.3.2, Roo 1.0.2.Release, Java 1.6.0_10, tc Server 6.0 I'm using the canned Roo generated code. I created an entity and associated controller. Then deleted both classes. The problem I'm seeing is the Roo created home page still shows the "Create/List" section for the deleted classes. I'm executing this within the tc Server, within Eclipse. Any ideas on how to get Roo to update the home page? Thanks, Steve 回答1: Got the answer. I needed to

Eclipse (STS), Maven and maven-minify-plugin, can they work together?

 ̄綄美尐妖づ 提交于 2020-01-02 12:14:08
问题 I am working on a project where I am in charge of html, css and javascript. I found this maven-minify-plugin that seemed to just what I wanted. Everything is good when I deploy using maven on the server, but when I am using Eclipse (STS, www.springsource.com/products/sts) to run the project on localhost no css nor js file is generated by the plugin. Does anyone have experience with this Maven plugin, so they can tell me if it should be possible or not run on localhost? Does anyone have

Missing Spring AOP libraries in STS

蹲街弑〆低调 提交于 2020-01-01 12:34:09
问题 I'm getting my feet wet with Spring. I downloaded STS and I'm following basic examples from Spring in Action Second Edition. I'm stuck when trying to implement basic AOP and I guess I'm just missing some specific libraries in my project. I say so because annotations like @Aspect are not recognized in my classes like also <aop:config> in my xml. This are my Maven Dependencies: junit-4.7.jar spring-test-3.0.2.RELEASE.jar spring-context-3.0.2.RELEASE.jar spring-aop-3.0.2.RELEASE.jar aopalliance

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

痴心易碎 提交于 2020-01-01 03:39:15
问题 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

Springsource tool suite skipping codes

谁说我不能喝 提交于 2019-12-25 08:15:07
问题 I have a very weird problem. When I try to debug a code, sts totally ignores the code. Below is my very simple code and I wondered why the values did not change, when I debugged, the lines from { to client.employmentKindOfWork ="asdasd" are not executed. It skips all and jumped right into client.save(). Client client = Client.FindById(caseInstance.clientIdClient); if (client!=null) { client.clientMailAddr1="sdfsdfsf" client.isDelete = true client.employmentKindOfWork ="asdasd" client.save() }

SpringSource ToolSuite and Subclipse Plugin

☆樱花仙子☆ 提交于 2019-12-25 06:51:16
问题 since I use SpringSource ToolSuite 2.7.1 and installed the latest Subclipse Plugin (1.6.x), this plugin ask's me every time I commit something into the repo for my password, regardless I've enabled the 'Save Password' checkbox. As I know, the Subclipse plugin doesn't store the credentials itself, instead use the authentication informations from the underlying SVN adapter so I try the following without any success: 1) delete ~/.subversion/auth 2) delete ~/.eclipse_keyring After restarting STS

Enable Spring Project Nature in STS 4 to fix XML Schema problems

安稳与你 提交于 2019-12-23 05:31:39
问题 I'm trying to apply the solutions (proper XML schema resolution) mentioned here which requires me to enable Spring project nature in an existing project in STS 4. According to this, there would be a Spring Tools context menu on which one can do “Spring Tools -> Add Spring Project Nature” . I'm not seeing that menu: My .project file has the following already: <natures> <nature>org.springframework.ide.eclipse.core.springnature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature

Eclipse (STS) + Maven

丶灬走出姿态 提交于 2019-12-22 05:29:30
问题 I basically have 2 questions: Is there a way to invoke maven console from eclipse? (where I could write eclipse:eclipse , and it started building eclipse project) Where does STS unpack it's maven? I'd like to add that path to env variables, so that I could use it from my windows console. 回答1: Is there a way to invoke maven console from eclipse? (where I could write eclipse:eclipse, and it started building eclipse project) You could open a shell inside eclipse , cd into the right directory and

How to debug JSTL?

天涯浪子 提交于 2019-12-22 01:39:29
问题 I'm using SpringSource Tool Suite (with Roo) and have some success. What bothers me though is that I don't know how to debug tag library-stuff. I may add breakpoints but it never stops at them. What I'm looking for is a dump of all current variables in the context. Up until now I did something like: <c:forEach items="${data}" var="item"> <c:out value="${item}"></c:out><br /> </c:forEach> Sadly, that's difficult to read and also not pretty straightforward. What can I do to improve this? 回答1: