sts-springsourcetoolsuite

Eclipse Groovy and autocompletion

拥有回忆 提交于 2019-12-10 22:24:06
问题 I am using the current version of SpringSource Tool Suite with the Groovy/Grails plugin installed. I can understand that when defining and using "pure" groovy classes/objects there are cases that make code autocompletion difficult. But if I use Java classes in the groovy class shouldn't the autocompletion feature work as intended? For example i'm trying to use "readFileToString" from the org.apache.commons.io.FileUtils class. Eclipse only suggests groovy methods for this class, there is no

Where did Eclipse's Run As > Maven Package go?

依然范特西╮ 提交于 2019-12-10 14:53:07
问题 In an older version of Eclipse, the number of which I can't remember, there was an option when right-clicking a project under Run As of Maven Package . In Springsource Tool Suite 2.9.0 built on Eclipse 3.7.2, this option is no longer there. I could create specific run configurations per project to quickly do a Maven package, but I found it rather handy having the one shortcut for doing a package no matter which project was selected without having to set it all up first. Is there a way to get

Can a broken eclipse be repaired?

感情迁移 提交于 2019-12-10 14:02:28
问题 Since a few days I can't no longer use the keyboard shortcuts like Ctrl-S because it inserts special characters into my sources. In a property file I noticed that Ctrl-S inserts \u2308 . Is there a way to repair this, without reinstalling STS_2.8.1 ? 回答1: You can try starting Eclipse from the command line with the -clean option (so use the command eclipse -clean ). See also: What does the -clean parameter mean in the Eclipse IDE? 回答2: You can try changing workspace, it usually restores all

maven doesnt seem to be installing with springsource tool suite

妖精的绣舞 提交于 2019-12-09 21:46:48
问题 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

Projects in Project Browser are disappeared but remain in disk

本小妞迷上赌 提交于 2019-12-09 18:01:10
问题 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

Eclipse + Maven + Groovy: src/test/groovy directory gets removed after update project configuration

你。 提交于 2019-12-09 13:37:05
问题 I'm developing a Java web project in Eclipse (STS version 2.8.1.RELEASE) with Maven (version 2.2.1) and unit tests written in Groovy. The unit tests are located under src/test/groovy . Furthermore I'm using the m2eclipse plugin for Eclipse (version 1.0) and the Gmaven plugin in Maven (version 1.3). Building in Maven works without problems: the groovy files are compiled and executed as tests. For the unit tests to work in Eclipse I added the Groovy nature to the project, added the folder src

STS Spring Boot Dashboard Doesn't Recognize Successful Start

邮差的信 提交于 2019-12-08 04:16:23
问题 Similar to this question, but the Spring "Boot Dashboard" doesn't show as starting (the 'up arrow' icon); specifically the first two applications in the list below. I could care less about the icon, but the resulting impact is that the applications cannot shutdown via the Boot Dashboard (required kill -9 ). The applications start without any problem: Started Application in 1.337 seconds (JVM running for 1.998) All three applications are using the latest spring-boot-starter-parent version, 1.3

STS Spring Boot Dashboard Doesn't Recognize Successful Start

佐手、 提交于 2019-12-08 03:57:27
Similar to this question , but the Spring "Boot Dashboard" doesn't show as starting (the 'up arrow' icon); specifically the first two applications in the list below. I could care less about the icon, but the resulting impact is that the applications cannot shutdown via the Boot Dashboard (required kill -9 ). The applications start without any problem: Started Application in 1.337 seconds (JVM running for 1.998) All three applications are using the latest spring-boot-starter-parent version, 1.3.1.RELEASE . The third application's start is reflected correctly, but I'm not sure where to look-

SVN how upgrade working copy

心已入冬 提交于 2019-12-07 15:46:31
问题 I use STS for working with SVN. When I try upgrade (version 1.6) I received this error: org.apache.subversion.javahl.ClientException: Invalid operation on the current working directory svn: Can't upgrade 'C:\..... as it is not a pre-1.7 working copy directory Can't find an entry svn: Missing default entry But is sure that missed - I have add new folder. How it can be resolved? Thanks. 回答1: You try to upgrade already 1.7 (WC-NG) working copy. But upgrade needed only once for 1.6 WC 回答2: I know

pom.xml no such file or directory

耗尽温柔 提交于 2019-12-07 11:21:02
问题 I've got a problem when I am building my project. I uses the springsource tools (STS) version 3.1.0 on Linux platform. After I imported my project to the STS, the springsource tools told me that "No such file or directory" at the pom.xml file. The file is actually exist in the correct path. I think the project is working fine because I've tried to import the same project with the same procedure in the other computer. When I use console to compile the project with maven, all of them are