Hi

I am new castor user. I am working on docs and examples from one week. I am working on a Linux machine.

Until now I was progressing slowly (very) but from this morning for any reason I get now these messages :

./example.sh jdo
lib/adaptx_0.9.7.jar:lib/ant_1.4.jar:lib/ant_1.5.jar:lib/jakarta-oro-2.0.5.jar:lib/jakarta-regexp-1.1.jar:lib/jdbc-se2.0.jar:lib/jndi_1.2.1.jar:lib/jta1.0.1.jar:lib/jtf-0.1.jar:lib/junit_3.5.jar:lib/ldapjdk_4.1.jar:lib/postgresql.jar:lib/servlet.jar:lib/xerces-J_1.4.0.jar:./build/classes:./build/examples:/Master/extern/java/j2sdk_nb/jini/jini1_2_1_001/lib:/Master/extern/java/j2sdk_nb/j2sdk1.4.2/lib:/Master/extern/java/j2sdk_nb/j2sdk1.4.2/jre/lib:/Master/extern/java/ant/apache-ant-1.5.3-1/lib:/Master/extern/java/jwsdp/server/lib/
[test] Loading mapping descriptors from file:/home/rcs/Master/extern/java/castor/castor-0.9.5.2/build/examples/jdo/mapping.xml
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer
at org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:257)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:213)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:200)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:508)
at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:423)
at jdo.Test.<init>(Test.java:79)
at jdo.Test.main(Test.java:62)


(I add in the example shell an echo $CLASSPATH just before the Java call.)

If I put the xerces-J_1.4.0.jar in the $JAVA_HOME/jre/lib/ext. I have no more this error but another one about another class.

It seem that the java call does not take car about the CLASSPATH and I have no idea why !!

I have some other application using java and still working good.

Please help me


Andre Legendre


----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev


Reply via email to