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

  • build sample

    i have a question about building the sample and i posted a few days ago, but i couldn't see it on the forum. can anyone take a look?

  • #2
    finally i got it posted. i have a fresh download spring ws 1.5.8, and maven 2.2.1. following the readme, i couldn't build. can someone tell me what's the correct command sequence? i tried
    samples>mvn install
    (failed)
    cd echo
    mvn package
    (failed)

    also tryed mvn jetty:run, still failed...
    C:\download\spring framework\extracted\spring-ws-1.5.7\samples\airline>mvn jetty
    :run
    [INFO] Scanning for projects...
    Downloading: http://download.java.net/maven/1//or....ws/poms/sprin
    g-ws-parent-1.5.7.pom
    Downloading: https://springframework.svn.sourcefo...pringframework
    /repos/repo-ext//org/springframework/ws/spring-ws-parent/1.5.7/spring-ws-parent-
    1.5.7.pom
    Downloading: http://s3.amazonaws.com/maven.spring...estone/org/spr
    ingframework/ws/spring-ws-parent/1.5.7/spring-ws-parent-1.5.7.pom
    Downloading: http://repo1.maven.org/maven2/org/sp...spring-ws-pare
    nt/1.5.7/spring-ws-parent-1.5.7.pom
    [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:378)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:292)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:3 01)
    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:1369)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.assembleLineage(D
    efaultMavenProjectBuilder.java:1386)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.buildInternal(Def
    aultMavenProjectBuilder.java:820)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.buildFromSourceFi
    leInternal(DefaultMavenProjectBuilder.java:505)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.build(DefaultMave
    nProjectBuilder.java:197)
    at org.apache.maven.DefaultMaven.getProject(DefaultMa ven.java:583)
    at org.apache.maven.DefaultMaven.collectProjects(Defa ultMaven.java:461)
    at org.apache.maven.DefaultMaven.getProjects(DefaultM aven.java:365)
    ... 11 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.7

    from the specified remote repositories:
    spring-ext (https://springframework.svn.sourcefo...springframewor
    k/repos/repo-ext/),
    spring-milestone (http://s3.amazonaws.com/maven.spring....org/milestone)
    ,
    java.net (http://download.java.net/maven/1/),
    central (http://repo1.maven.org/maven2)

    for project org.springframework.ws:spring-ws-parent
    at org.apache.maven.project.DefaultMavenProjectBuilde r.findModelFromRepo
    sitory(DefaultMavenProjectBuilder.java:602)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.assembleLineage(D
    efaultMavenProjectBuilder.java:1365)
    ... 18 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.7

    from the specified remote repositories:
    spring-ext (https://springframework.svn.sourcefo...springframewor
    k/repos/repo-ext/),
    spring-milestone (http://s3.amazonaws.com/maven.spring....org/milestone)
    ,
    java.net (http://download.java.net/maven/1/),
    central (http://repo1.maven.org/maven2)


    at org.apache.maven.artifact.resolver.DefaultArtifact Resolver.resolve(De
    faultArtifactResolver.java:212)
    at org.apache.maven.artifact.resolver.DefaultArtifact Resolver.resolve(De
    faultArtifactResolver.java:74)
    at org.apache.maven.project.DefaultMavenProjectBuilde r.findModelFromRepo
    sitory(DefaultMavenProjectBuilder.java:555)
    ... 19 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:332)
    at org.apache.maven.artifact.resolver.DefaultArtifact Resolver.resolve(De
    faultArtifactResolver.java:200)
    ... 21 more
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1 minute 25 seconds
    [INFO] Finished at: Fri Oct 09 14:28:29 EDT 2009
    [INFO] Final Memory: 2M/4M
    [INFO] ------------------------------------------------------------------------

    Comment

    Working...
    X