Announcement Announcement Module
Collapse
No announcement yet.
building sample Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • building sample

    I am using maven 2.2.1. I include C:\download\maven\apache-maven-2.2.1\bin to my path, then try to build the echo sample as directed by readme. I use spring-ws 1.5.8. Then I got the following error. I says it "Cannot find parent: org.springframework.ws:spring-ws-parent."

    can someone tell me know I can resolve this?

    Thanks!

    C:\download\spring framework\spring-ws-1.5.8\samples\echo>mvn package
    [INFO] Scanning for projects...
    Downloading: http://s3.amazonaws.com/maven.spring...estone/org/spr
    ingframework/ws/spring-ws-parent/1.5.8/spring-ws-parent-1.5.8.pom
    [WARNING] Unable to get resource 'org.springframework.ws:spring-ws-parentom:1.
    5.8' from repository spring-milestone (http://s3.amazonaws.com/maven.springframe
    work.org/milestone): Error transferring file: Connection timed out: connect
    Downloading: http://repo1.maven.org/maven2/org/sp...spring-ws-pare
    nt/1.5.8/spring-ws-parent-1.5.8.pom
    [WARNING] Unable to get resource 'org.springframework.ws:spring-ws-parentom:1.
    5.8' from repository central (http://repo1.maven.org/maven2): Error transferring
    file: Connection timed out: connect
    [INFO] ------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Error building POM (may not be this project's POM).


    Project ID: null:spring-ws-samplesom:null

    Reason: Cannot find parent: org.springframework.ws:spring-ws-parent for project:
    null:spring-ws-samplesom:null for project null:spring-ws-samplesom:null


    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.spring
    framework.ws:spring-ws-parent for project: null:spring-ws-samplesom:null for p
    roject null:spring-ws-samplesom:null
    at org.apache.maven.DefaultMaven.getProjects(DefaultM aven.java:404)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:272)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:3 62)
    at org.apache.maven.cli.compat.CompatibleMain.main(Co mpatibleMain.java:6
    0)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)

    at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
    Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent
    : org.springframework.ws:spring-ws-parent for project: null:spring-ws-sampleso
    m:null for project null:spring-ws-samplesom:null
    at org.apache.maven.project.DefaultMavenProjectBuilde r.assembleLineage(D
    efaultMavenProjectBuilder.java:1396)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.assembleLineage(D
    efaultMavenProjectBuilder.java:1407)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.buildInternal(Def
    aultMavenProjectBuilder.java:823)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.buildFromSourceFi
    leInternal(DefaultMavenProjectBuilder.java:508)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.build(DefaultMave
    nProjectBuilder.java:200)
    at org.apache.maven.DefaultMaven.getProject(DefaultMa ven.java:604)
    at org.apache.maven.DefaultMaven.collectProjects(Defa ultMaven.java:487)
    at org.apache.maven.DefaultMaven.getProjects(DefaultM aven.java:391)
    ... 12 more
    Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.springfra
    mework.ws:spring-ws-parent' not found in repository: Unable to download the arti
    fact from any repository

    org.springframework.ws:spring-ws-parentom:1.5.8

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    spring-milestone (http://s3.amazonaws.com/maven.spring....org/milestone)


    for project org.springframework.ws:spring-ws-parent
    at org.apache.maven.project.DefaultMavenProjectBuilde r.findModelFromRepo
    sitory(DefaultMavenProjectBuilder.java:605)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.assembleLineage(D
    efaultMavenProjectBuilder.java:1392)
    ... 19 more
    Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoun dException: Unable
    to download the artifact from any repository

    org.springframework.ws:spring-ws-parentom:1.5.8

    from the specified remote repositories:
    central (http://repo1.maven.org/maven2),
    spring-milestone (http://s3.amazonaws.com/maven.spring....org/milestone)



    at org.apache.maven.artifact.resolver.DefaultArtifact Resolver.resolve(De
    faultArtifactResolver.java:228)
    at org.apache.maven.artifact.resolver.DefaultArtifact Resolver.resolve(De
    faultArtifactResolver.java:90)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.findModelFromRepo
    sitory(DefaultMavenProjectBuilder.java:558)
    ... 20 more
    Caused by: org.apache.maven.wagon.ResourceDoesNotExistExcepti on: Unable to downl
    oad the artifact from any repository
    at org.apache.maven.artifact.manager.DefaultWagonMana ger.getArtifact(Def
    aultWagonManager.java:404)
    at org.apache.maven.artifact.resolver.DefaultArtifact Resolver.resolve(De
    faultArtifactResolver.java:216)
    ... 22 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 42 seconds
    [INFO] Finished at: Wed Oct 07 14:44:01 EDT 2009
    [INFO] Final Memory: 1M/4M
    [INFO] ------------------------------------------------------------------------
Working...
X