Yes, this problem exists in 2.1 but it is already fixed in svn and
will be included in 2.1.1. You can use 2.1.1-SNAPSHOT if you want in
the meantime (http://geronimo.apache.org/maven/server/binaries/2.1/).

Jarek

On Wed, Mar 19, 2008 at 10:22 AM, Ashish Jain <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using the jaxws-tools.bat to create the required artifacts for jax-ws
> webservice.
> I ran the command jaxws-tools.bat wsgen on a command window and got the
> following error.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.geronimo.c
>  ommon.DeploymentException
>         at java.lang.J9VMInternals.verifyImpl(Native Method)
>         at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
>          at
> org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run(JAXWSToolsCLI.jav
> a:71)
>         at
> org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.ja
> va:61)
>
> I could find this class at
> <GERONIMO_HOME>\repository\org\apache\geronimo\framework\geronimo-common\2.1.
>
> The previous version of geronimo on running the same command will give a
> help menu
>
> Usage: wsgen [options] <SEI>
>
> where [options] include:
>   -classpath <path>          specify where to find input class files
>    -cp <path>                 same as -classpath <path>
>   -d <directory>             specify where to place generated output files
>   -extension                 allow vendor extensions - functionality not
> specifi
>  ed
>                              by the specification.  Use of extensions may
>                              result in applications that are not portable or
>                              may not interoperate with other implementations
>    -help                      display help
>   -keep                      keep generated files
>   -r <directory>             resource destination directory, specify where
> to
>                              place resouce files such as WSDLs
>    -s <directory>             specify where to place generated source files
>   -verbose                   output messages about what the compiler is
> doing
>   -version                   print version information
>    -wsdl[:protocol]           generate a WSDL file.  The protocol is
> optional.
>                              Valid protocols are soap1.1 and Xsoap1.2, the
> defau
> lt
>                              is soap1.1.  Xsoap1.2 is not standard and can
> only
>  be
>                              used in conjunction with the -extension option
>   -servicename <name>        specify the Service name to use in the
> generated WS
> DL
>                              Used in conjunction with the -wsdl option.
>    -portname <name>           specify the Port name to use in the generated
> WSDL
>                              Used in conjunction with the -wsdl option.
>
> Examples:
>   wsgen -cp . example.Stock
>   wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService
>
> Note: Previous version of geronimo had the class DeploymentException at
> <GERONIMO_HOME>\repository\org\apache\geronimo\modules\geronimo-common\2.0.1
>
> Thanks
> Ashish
>

Reply via email to