[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: RE: No class def found error when running pretty printer
From: "Radu Preotiuc-Pietro" <radup () bea ! com>
Date: 2005-09-30 0:41:59
Message-ID: 4B2B4C417991364996F035E1EE39E2E10294F4CE () uskiex01 ! amer ! bea ! com
[Download RAW message or body]
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:jason.green@ngc.com]
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
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>No class def found error when running pretty printer</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><!-- Converted from text/rtf format -->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.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>If anyone using JDK1.3 has a fix for this
problem, we’d appreciate sharing it with us.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Radu</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Green, Jason M.
[mailto:jason.green@ngc.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, September 16, 2005 6:40
AM<br>
<b><span style='font-weight:bold'>To:</span></b> dev@xmlbeans.apache.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> No class def found error
when running pretty printer</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Hey all,</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>
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:</span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/xmlbeans/impl/tool/PrettyPrinter</span></font> </p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>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:</span></font></p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>CLASSPATH:
C:\xmlbeans-1.0.4-jdk1.3\lib\xbean.jar (I have tried it at the beginning
and end of the classpath</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Path:
%XMLBEANS_HOME%\bin (system variable)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>PATH:
%XMLBEANS_HOME%\bin (user variable)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>XMLBEANS_HOME:
C:\xmlbeans-1.0.4-jdk1.3</span></font> </p>
<p style='margin-left:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>I have tried moving all these around so that they are
in the front, and not the back, etc.</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Please
Help,</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Jason</span></font>
</p>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic