I tried to answer this question by myselef, but failed totally. What more 
- the archives are not available now. So i'm writing (it seems quite a 
typical error - and not answered on the net)

I'm using xerces 1.4.4, sun java 1.4.1_01 and s1studio as an ide.

I was developing an application that uses DOMParser from xerces in the 
standard way. I included xerces.jar in the s1studio and everything worked 
fine. I created a jar out of there and now problems begun.

whenever i try to use my program from the commandline i get the:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/xerces/parsers/DOMParser

the command was:
java -classpath .:/home/talen/usr/java/xerces.jar:/home/talen/usr/java/js.jar 
-jar 
genericPlugin.jar examples/test.xml

both jars are located were i pointed them. genericPlugin.jar is my 
program. 

What more - i can compile all sources by hand with the above classpath and 
everything goes fine. 

What might be wrong ? It seems that java just dont like xerces. (and 
xerces only)

--jw

Jarosław Wypychowski
[EMAIL PROTECTED]
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to