spring-tool-suite

Indirectly referenced from required .class files

给你一囗甜甜゛ 提交于 2019-12-07 03:09:33
问题 I'm getting below error in STS: The type org.springframework.core.env.EnvironmentCapable cannot be resolved. It is indirectly referenced from required .class files 回答1: This sounds like a transitive dependency issue. What this means is that your code relies on a jar or library to do something - evidently, you depend on Spring framework code. Well, all that Spring code also depends on libraries and jars. Most likely, you need to add the corerctly versioned org.springframework.core jar to your

How to debug grails command

别说谁变了你拦得住时间么 提交于 2019-12-06 21:52:23
问题 When I run dbm-generate-changelog exception is thrown. I would like to debug this script but I can't figure how to do it. I tried to put breakpoint to the script file _DatabaseMigrationCommon.groovy and then in eclipse created new "debug configuraion" command. When I run this none of breakpoints suspend the execution. I also tried with --debug argument. setup: Grails: 2.3.3 GGTS: 3.4 Eclipse: 4.3 回答1: Do the following: launch grails with the -debug option grails -debug run-app create Remote

import source code (meant for eclipse spring STS) into intellij

折月煮酒 提交于 2019-12-06 15:47:42
How to import and run spring mvc github source code meant for Eclipse Spring STS into IntelliJ? What I did: downloaded working spring mvc project source code zip file https://github.com/simplyi/springmvc-ws?fbclid=IwAR2xKg6Oh0YHLuVJ2YEh2vt6cr1u3-4E4IzKnPMDJVc6nvI-BN6pRaPMKHQ 'import' upon starting Intellij don't know what configurations to pick so got a lot of errors. SO, followed this https://www.lagomframework.com/documentation/1.5.x/java/IntellijMaven.html?fbclid=IwAR3JaAw6dF2jX9k4fxxKg37j8mpNI2dNTEqupVULzLrk83G_wEtN4beNJsI BUT got error: ERROR] No plugin found for prefix 'lagom' in the

Pivotal tc Server v.3.1 won't start

倾然丶 夕夏残阳落幕 提交于 2019-12-06 12:12:57
问题 I've recently downloaded STS and I tried firing up the TC Server, but it gives this error: Server Pivotal tc Server Developer Edition v3.1 failed to start. Error: Could not find or load main class Files.Spring.sts-bundle.pivotal-tc-server-developer-3.1.0.RELEASE.base-instance.conf.logging.properties Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 I went to the folder and it seems that the properties file is there. Is this a bug or is

GGTS repetitive method name/signature error in controllers

ぐ巨炮叔叔 提交于 2019-12-06 03:58:26
I am using latest GGTS v3.4 based on eclipse 4.3.1 64bit version for development app on Grails 2.3.2. Every single controller that is in my classpath has an error in it. There are two identical errors per every controller class. Groovy:Repetitive method name/signature for method 'java.lang.Object withFormat(groovy.lang.Closure)' in class 'package.SomeController'. SomeController.groovy /appname/grails-app/controllers/package line 1 Java Problem Everything just work, but my Problems tab is getting quite messy. This seems to be a problem when you run GGTS with JDK8. Switching to JDK7 fixes the

No option to create Roo project is Spring Tool Suite (STS version 3.6.1)

China☆狼群 提交于 2019-12-05 15:08:42
There seems to be no option in STS 3.6.1 to create a Roo app. While Googling I noticed this question for the same problem in version 3.5.0, and the sloution was to install Roo to STS manually as it is no longer included. Sweet, so I did that. I installed it from the STS dashboard and after installation was complete and STS was re-started the dashboard shows this (so the installation was successful): And lo and behold... still no option to creat a Spring Roo app! So... how can I find the option to create a Spring Roo app from within Spring tool Suite? You must install "Spring IDE - Roo

Spring Roo project on Spring Tool Suite 3.5.0 [closed]

半城伤御伤魂 提交于 2019-12-05 13:34:23
I have installed Spring Tool Suite 3.5.0 (STS). I was expecting to be able to create a Spring Roo project within STS as have been possible in the past in previous versions of STS. The option Roo project isn't among the listed project types. How can I create a Roo project within STS? Though I wrote this matter in my blog in Japanese, I hope you can see the figures there and will find the solution. http://nomprix.blogspot.jp/2014/04/sts-350spring-roo.html 来源: https://stackoverflow.com/questions/23364056/spring-roo-project-on-spring-tool-suite-3-5-0

Cannot perform operation. Computing alternate solutions, may take a while STS?

折月煮酒 提交于 2019-12-05 13:20:47
问题 I would like to ask what does this error mean when adding a new Available Software Site and installing new software in Eclipse/STS (Spring Tool Suite) using Install New Software ? I am experiencing this problem with the Spring Tool Suite Nightly Build : http://dist.springsource.com/snapshot/STS/nightly-distributions.html I am trying to update my STS and reinstall the Welcome Dashboard . When I try to add the following Available Software Site : http://dist.springsource.com/snapshot/TOOLS

Spring Boot incorrectly loads test configuration when running from eclipse+gradle

£可爱£侵袭症+ 提交于 2019-12-05 12:51:49
When I run Spring Boot application from Eclipse (STS) as 'Java Application' or as 'Spring Boot App' the app fails because it tries to load configurations (@Configuration) from test classpath . The thing is that it works for maven based builds correctly, but not for gradle. The only workaround I see is to rename test package to something else to hide it from classpath scanning. Overall the question is - how to make it work properly? I'd assume that SpringToolSuite team encounters this problem on a daily basis or I do something incorrectly. Here's a test project which works when imported as

Grails default package name

五迷三道 提交于 2019-12-05 12:05:08
I am new to Grails and I like it very much. I want to place my classes in packages like org.company.project.module.model . Its quite painful for to me to repeat create-domain-class <package>.<class_name> . Is there something like "package templates" or can I somehow "enter" (like grails cd org.comopany... ) and then just write Class names ( grails Person will be generated in ./ location)? Is that possible or should I use copy paste design pattern? Thanks in advance for any help. Alidad If I understood your question, you are looking for default package name for your domain classes. In your