hi,
I already had it set to the correct folder...any other idea??
thanks
On 7/4/06, Sameer Tyagi <Sameer.Tyagi_at_sun.com> wrote:
> You need to set the environment variable JAXWS_HOME to the JAX-WS
> installation directory
>
> /s
>
>
>
> jm wrote:
>
> > hi,
> >
> > I am trying to run generate-client from the examples, I have tried
> > with several and I always get the same excpetion, both with 2.0 and
> > 2.0.1.
> >
> > I have changed the build.xml to get the lib.home from my jaxws/lib
> > dir, the rest of the targets run ok, but generate-client throws this:
> >
> > [C:\java\jaxws-2.0.1-ea51\samples\fromjava]ant generate-client -v
> > Apache Ant version 1.6.5 compiled on June 2 2005
> > Buildfile: build.xml
> > Detected Java version: 1.5 in: C:\jdk1.5.0_06\jre
> > Detected OS: Windows XP
> > parsing buildfile C:\java\jaxws-2.0.1-ea51\samples\fromjava\build.xml
> > with URI = file:///C:/java/jaxws-2.0.1-ea51/sample
> > s/fromjava/build.xml
> > Project base dir set to: C:\java\jaxws-2.0.1-ea51\samples\fromjava
> > Importing file etc/deploy-targets.xml from
> > C:\java\jaxws-2.0.1-ea51\samples\fromjava\build.xml
> > parsing buildfile
> > C:\java\jaxws-2.0.1-ea51\samples\fromjava\etc\deploy-targets.xml with
> > URI = file:///C:/java/jaxws-2.0.
> > 1-ea51/samples/fromjava/etc/deploy-targets.xml
> > [property] Loading Environment env.
> > [property] Loading C:\java\jwsdp-shared\bin\sjsas.props
> > [property] Unable to find property file:
> > C:\java\jwsdp-shared\bin\sjsas.props
> > Property ${DOMAIN_DIR} has not been set
> > [available] Unable to find C:\java\jwsdp-shared\bin\sjsas.props
> > Property ${env.AS_HOME} has not been set
> > [available] Unable to find C:\java\jwsdp-shared\bin\sjsas.props
> > [property] Loading
> > C:\java\jaxws-2.0.1-ea51\samples\fromjava\etc\build.properties
> > Override ignored for property build.home
> > Override ignored for property build.war.home
> > Property ${lib.sample.home} has not been set
> > dropping
> > C:\java\jaxws-2.0.1-ea51\samples\fromjava\${lib.sample.home}\jaxwsSampleUtils.jar
> >
> > from path as it doesn't exist
> >
> > dropping
> > C:\java\jaxws-2.0.1-ea51\samples\fromjava\${lib.sample.home}\jaxwsSampleUtils.jar
> >
> > from path as it doesn't exist
> >
> > Build sequence for target(s) `generate-client' is [setup,
> > generate-client]
> > Complete build sequence is [setup, generate-client, server-j2se,
> > client, deploy-tomcat, deploy-appserver, deploy, server
> > , run, help, server-j2se-stop, clean, create-war, build-server-java, ]
> >
> > setup:
> >
> > generate-client:
> > Property ${extension} has not been set
> >
> > BUILD FAILED
> > java.lang.NoClassDefFoundError:
> > com/sun/xml/ws/wsdl/writer/WSDLOutputResolver
> > at
> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225)
> > at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> > at
> > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
> >
> > at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> > at org.apache.tools.ant.Main.runBuild(Main.java:668)
> > at org.apache.tools.ant.Main.startAnt(Main.java:187)
> > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> > Caused by: java.lang.NoClassDefFoundError:
> > com/sun/xml/ws/wsdl/writer/WSDLOutputResolver
> > at com.sun.tools.ws.ant.WsImport.execute(WsImport.java:410)
> > at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > at org.apache.tools.ant.Task.perform(Task.java:364)
> > at org.apache.tools.ant.Target.execute(Target.java:341)
> > at org.apache.tools.ant.Target.performTasks(Target.java:369)
> > at
> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> > ... 7 more
> > --- Nested Exception ---
> > java.lang.NoClassDefFoundError:
> > com/sun/xml/ws/wsdl/writer/WSDLOutputResolver
> > at com.sun.tools.ws.ant.WsImport.execute(WsImport.java:410)
> > at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > at org.apache.tools.ant.Task.perform(Task.java:364)
> > at org.apache.tools.ant.Target.execute(Target.java:341)
> > at org.apache.tools.ant.Target.performTasks(Target.java:369)
> > at
> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> > at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> > at
> > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
> >
> > at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> > at org.apache.tools.ant.Main.runBuild(Main.java:668)
> > at org.apache.tools.ant.Main.startAnt(Main.java:187)
> > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> >
> > Total time: 3 seconds
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>