Hi,
When running source generator on my XSD file, I get the following error:
C:\castor-1.2>java -cp castor-1.2-codegen.jar
org.exolab.castor.builder.SourceGeneratorMain -i mySchema.xsd -package
com.xyz
Exception in thread "main" java.lang.NoClassDefFoundError:
org/exolab/castor/util/CommandLineOptions
at
org.exolab.castor.builder.SourceGeneratorMain.setupCommandLineOptions(SourceGeneratorMain.java:414)
at
org.exolab.castor.builder.SourceGeneratorMain.<clinit>(SourceGeneratorMain.java:174)
C:\castor-1.2>
I noticed there is no CommandLineOptions class in castor1-1.2-codegen.jar.
>From the http://www.castor.org/SourceGeneratorUser.pdf pdf file and
http://www.castor.org/srcgen-cline.html website , I understood I had to run
SourceGeneratorMain which I thought would be in the codegen.jar. Should I
be using another jar?
--
View this message in context:
http://www.nabble.com/Error-while-running-source-generator-tp18616833p18616833.html
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email