actually what i found was that in all the scripts it checks
for the existence of XMLBEANS_HOME\build\ar\xbean.jar OR
XMLBEANS_HOME\lib\xbean.jar. I had the lib\xbean.jar, but both if branches
set the cp to equal the same path to build\ar\xbean.jar and not the
lib\xbean.jar. that is definitely a copy/paste error in apache that
should be fixed and re-distributed.
Jason From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 8:42 PM To: dev@xmlbeans.apache.org Subject: RE: No class def found error when running pretty printer Probably a bug in the “xpretty” script. Looking at your “XMLBEANS_HOME” variable though, it seems that you are using JDK 1.3. XmlBeans is really targeted at JDK 1.4 and above, so support for 1.3-related issues is scarce.
If anyone using JDK1.3 has a fix for this problem, we’d appreciate sharing it with us.
Thanks, Radu
-----Original
Message-----
Hey all, Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlbeans/impl/tool/PrettyPrinter I know that I have my class paths set correctly, but I will display them, and I also know that the prettyprinter is in the xbean.jar. Needless to say, I'm out of ideas. Anyway, here are my environment variables: CLASSPATH:
C:\xmlbeans-1.0.4-jdk1.3\lib\xbean.jar (I have tried it at the beginning
and end of the classpath I have tried moving all these around
so that they are in the front, and not the back, etc. |
Title: No class def found error when running pretty printer
- No class def found error when running pretty printer Green, Jason M.
- RE: No class def found error when running pretty... Radu Preotiuc-Pietro
- RE: No class def found error when running pretty... Green, Jason M.
- RE: No class def found error when running pretty... Radu Preotiuc-Pietro
- RE: No class def found error when running pretty... Green, Jason M.
- RE: No class def found error when running pretty... Green, Jason M.