PLEASE HELP!! Very odd Castor problem

G

Gandu

Could some Java Guru please me? I am new to the Castor library, and I am
having horrible problems starting up. I have downloaded the castor-0.9.5.2.jar
file, put ith in the classpath, extracted all the files and put them in a
directory, C:\Temp

Now, whenever I try to compile, I get the following error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/exolab/castor/builder/SourceBuilder

I am using a well-formed .xsd file, and I am clueless as to what I am doing
wrong. Any help would be immensely helpful and highly appreciated.
 
J

Jose Rubio

Gandu said:
Could some Java Guru please me? I am new to the Castor library, and I am
having horrible problems starting up. I have downloaded the castor-0.9.5.2.jar
file, put ith in the classpath, extracted all the files and put them in a
directory, C:\Temp

There is no need to extract the files from the jar. Adding the jar to the
classpath is more than enough.
Now, whenever I try to compile, I get the following error message:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/exolab/castor/builder/SourceBuilder
This is a runtime error, not a compile time error. What is the command line
you are running?
I am using a well-formed .xsd file, and I am clueless as to what I am doing
wrong. Any help would be immensely helpful and highly appreciated.

Jose
 

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