ClassDefNotFound error when running jar, but works when running class files!
Posted on 2002-07-09
This ones doing my nut!
I have a simple single class app which runs fine when I execute its .class files, but when I put them in a jar it can't find classes it uses in other jars (eg XML parsers etc). I'm executing from the same directory, with the same classpath, etc in both cases. My app is executing in both cases (ie its not my MANFIEST Main-Class entry thats a problem).
Occurs on both Solaris & Win2000.
Any ideas appreciated.