I downloaded  xmlbeans-2.1.0 and when I run scomp i
get -

Exception in thread "main"
java.lang.NoClassDefFoundError:
Files\Java\jdk1/5/0_05\\lib\tools/jar;C:\xmlbeans-2/1/0\lib\resolver/jar

I have my path and my classpath set,
I downloaded SAXON8.1.1,
I have set XMLBEANS_Home and XMLBEANS_LIB

I have tried this on three windows machines, XP Pro,
XP HOME, and 2000 Pro.

I fing it very odd that ANT can find tools.jar but
scomp cannot.


This acts very much like a classpath issue - nut I
have even ran xbeanenv.cmd and get the same results.

I have jdk1.5 _06 installed, xmlbeans-2.1, saxon8.1.1
on a windows xp Pro - I followed these instructions at

http://xmlbeans.apache.org/documentation/conInstallGuide.html

Windows Setup

On Windows, do the following:

   1. Right-click My Computer, then click Properties.
   2. On the Advanced tab, click Environment
Variables.
   3. Add an XMLBEANS_HOME variable whose value is the
XMLBeans location.

      For example, if you downloaded the XMLBeans
release to the root of your C drive, this might be
c:\xmlbeans-1.0.2.
   4. Edit the PATH variable so that it includes the
bin directory of your XMLBeans installation. For the
XMLBeans release, you could add %XMLBEANS_HOME%\bin.
   5. Edit the CLASSPATH variable to include the
xbean.jar included with XMLBeans.

      This is located in the lib directory. If you
built XMLBeans from source, you can also use the JAR
file in the build/ar or build/lib directories.

Note that you may also need to edit your PATH variable
so that the JDK is earlier in the path. For more
information, see the XMLBeans FAQ.

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

Reply via email to