Announcement Announcement Module
Collapse
No announcement yet.
Unable to run tutorial project on spring ws Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.


    UPDATE:
    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]
    [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]
    [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]
    [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, 05:35 AM.

  • #2
    Same issue as http://forum.springsource.org/showth...ial-WS-project
    (Please see my newly post on it )

    Comment

    Working...
    X