sts-springsourcetoolsuite

org.springframework.web.servlet.DispatcherServlet not found with VMWare vFabric tc Server and maven

心不动则不痛 提交于 2019-12-07 11:19:52
问题 I know that there is a previously posted question that is very similar to this one. But the solution doesn't apply to my problem. I'm trying to start a basic Spring project with Maven. This is my pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>es.indra</groupId> <artifactId>springappUV<

No mapping found for HTTP request with URI [/myproject/] in DispatcherServlet with name 'appServlet' [duplicate]

白昼怎懂夜的黑 提交于 2019-12-07 05:26:47
问题 This question already has answers here : Why does Spring MVC respond with a 404 and report “No mapping found for HTTP request with URI […] in DispatcherServlet”? (7 answers) Closed 2 years ago . I'm absolutely newbie with Java and Spring and I want to learn from example. I'm using an out-of-the-box configuration / installation Mac OSX Springsource Tool Suite as IDE Spring 2.8.1.RELEASE vfabric-tc-server-developer-2.6.1.RELEASE I've tried to generate a new project based on "Spring Template

Groovy/Grails - Unable to Resolve Class

醉酒当歌 提交于 2019-12-07 01:40:50
问题 I am trying to build a Grails project in STS and am getting many error messages of the form: Groovy:unable to resolve class org.codehaus.groovy.grails.commons.ConfigurationHolder as well as others like Groovy:unable to resolve class org.grails.plugins.springsecurity.service.AuthenticateService . I have Grails 1.3.7 selected in the Project Properties, but I don't see an item for 'Grails Depedencies' like I do when I create a sample project. Is this the problem? How can I add it back in? 回答1: I

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

拟墨画扇 提交于 2019-12-06 06:18:13
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 knowledge of another plugin I can use to (combine and) minify javascript and css files when running on

Testing New Spring MVC Project in STS - Default Root Context?

蹲街弑〆低调 提交于 2019-12-06 04:20:59
问题 I'm trying to get into the Spring MVC world and I'm starting by using SpringSource Tool Suite. I've created a new Spring MVC project and I understand the basics. The quick question I have is - what's the best way to change the root context of the default vFabric server that comes with STS? By default it maps my project to /projectname - but when I finally deploy this project I want it to be in the root context /. Is there a way to change this within STS/vFabric so when I "Run On Server" and

SVN how upgrade working copy

落爺英雄遲暮 提交于 2019-12-05 21:52:40
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. You try to upgrade already 1.7 (WC-NG) working copy. But upgrade needed only once for 1.6 WC I know this question is quite old, but for people who stumble upon it like I did and are still having problems, there

pom.xml no such file or directory

醉酒当歌 提交于 2019-12-05 13:57:18
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 complied successfully. I've also tried the following but still not work: 1. reinstall the STS. 2. re-import

No mapping found for HTTP request with URI [/myproject/] in DispatcherServlet with name 'appServlet' [duplicate]

牧云@^-^@ 提交于 2019-12-05 09:07:18
This question already has answers here : Why does Spring MVC respond with a 404 and report “No mapping found for HTTP request with URI […] in DispatcherServlet”? (7 answers) Closed 2 years ago . I'm absolutely newbie with Java and Spring and I want to learn from example. I'm using an out-of-the-box configuration / installation Mac OSX Springsource Tool Suite as IDE Spring 2.8.1.RELEASE vfabric-tc-server-developer-2.6.1.RELEASE I've tried to generate a new project based on "Spring Template Project". Then I've chosen the "Spring MVC Project". The sample project is generated. After that, without

Eclipse (STS) + Maven

荒凉一梦 提交于 2019-12-05 07:05:57
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. Pascal Thivent 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 run the maven console from there. But, when using M2Eclipse (see next point), you're not

Groovy/Grails - Unable to Resolve Class

偶尔善良 提交于 2019-12-05 05:27:59
I am trying to build a Grails project in STS and am getting many error messages of the form: Groovy:unable to resolve class org.codehaus.groovy.grails.commons.ConfigurationHolder as well as others like Groovy:unable to resolve class org.grails.plugins.springsecurity.service.AuthenticateService . I have Grails 1.3.7 selected in the Project Properties, but I don't see an item for 'Grails Depedencies' like I do when I create a sample project. Is this the problem? How can I add it back in? I don't know why, but here are the steps I took to solve the problem: Right click on the project and go to