Title: 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-----
From: Green, Jason M. [mailto:[EMAIL PROTECTED]
Sent: Friday, September 16, 2005 6:40 AM
To: dev@xmlbeans.apache.org
Subject: No class def found error when running pretty printer

 

Hey all,
   I'm, of course, new to xmlbeans.  I have run through the setup with all the environment variables with no problem.  When I run the first little command to view the schema, I get this:

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
Path:  %XMLBEANS_HOME%\bin  (system variable)
PATH:  %XMLBEANS_HOME%\bin  (user variable)
XMLBEANS_HOME:   C:\xmlbeans-1.0.4-jdk1.3

I have tried moving all these around so that they are in the front, and not the back, etc.
Please Help,
Jason

Reply via email to