There are a couple of distributions of castor.  One is the src, one is with
docs, and one includes all the dependencies as used by their testing team. 
I believe I used the latter distro, called "Full SVN snapshot: All sources,
docs, and 3rd party libraries (big)" from
http://castor.org/download.html#Download-sets.


cfctest wrote:
> 
> Hi all,
> Where can I obtain the install-com.pnehrer.castor_2.0.4.jar. I couldn't
> find in castor-1.2-src.zip
> 
> Thanks.
> 
> 
> daab wrote:
>> 
>> 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-tp18616833p20120840.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


Reply via email to