PLEASE PLEASE HELP - Castor porblem

G

Gandu

I am a newbie to the Castor library. As per the instructions at the
exolab site,
I have added the paths of the relevant jar files to the CLASSPATH.
However,
whenever I type in:
D:\Castor\org\exolab\castor\builder>java
org.exolab.castor.builder.SourceGenerator -i
D:\\Castor\org\exolab\castor\dsml\schema\dsml.xsd

I get the error message:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xml/serialize/XMLSerializer
at org.exolab.castor.builder.BuilderConfiguration.load(BuilderConfiguration.java:440)
at org.exolab.castor.builder.BuilderConfiguration.getDefault(BuilderConfiguration.java:247)
at org.exolab.castor.builder.BuilderConfiguration.<init>(BuilderConfiguration.java:233)
at org.exolab.castor.builder.SourceGenerator.<init>(SourceGenerator.java:272)
at org.exolab.castor.builder.SourceGenerator.<init>(SourceGenerator.java:261)
at org.exolab.castor.builder.SourceGenerator.<init>(SourceGenerator.java:252)
at org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:708)
Could someone please help me?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top