Oct 3rd, 2012, 04:07 AM
Unable to run tutorial project on spring ws
I am completely new to Spring and have only little experience in Java and Maven. So I am sorry if this sounds lame. I am doing my best.
I am following web services tutorial http://static.springsource.org/sprin.../tutorial.html
I am stuck at point 3.5. Creating the project. The mvn command listed there doesnt work for me. mvn returns some errors. I have decided to download spring-ws-2.1.1.RELEASE manually.
Inside this release there is a folder /samples/tutorial and it seems to be what I need for tutorial. Installation instructions says: "Simply run "mvn package" and deploy the war file generated in target". I have very little idea what that means. So I studied Maven a bit.
I believe I have to change to /samples/tutorial directory and run command "mvn package" right? All information needed are in /samples/tutorial/pom.xml right?
If I do this following errors come out: screenshot - http://cl.ly/JsI0
Now I have no idea what to do. Am I doing everything right? Thank you for your help.
I have tried to create new project in Eclipse and then right clicked on the project "Spring Tools -> Update Maven Dependencies". I have the same errors:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR] The project org.springframework.ws:tutorial:2.1.1.RELEASE (/Users/Chates/Diplomka/spring-ws-2.1.1.RELEASE/samples/tutorial/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.springframework.ws:spring-ws-samples:2.1.1.RELEASE: Failure to find org.springframework.ws:spring-ws-parentom:2.1.1.RELEASE in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ org.springframework.ws:spring-ws-samples:2.1.1.RELEASE, /Users/Chates/Diplomka/spring-ws-2.1.1.RELEASE/samples/pom.xml, line 3, column 13 -> [Help 2]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/d...ldingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/d...ModelException
Last edited by Chates; Oct 3rd, 2012 at 04:35 AM.
Nov 9th, 2012, 03:40 AM