Hi, Thanks for the quick response Ralf, I tried that also and it didn't work. I have a ";." At the end of my class path which should include the current directory where I am trying to execute the command from.
Any other suggestions? Tom. > -----Original Message----- > From: Ralf Joachim [mailto:[EMAIL PROTECTED] > Sent: Monday, February 27, 2006 4:24 PM > To: [email protected] > Subject: Re: [castor-user] Unable to run MappingTool > > Hi Thomas, > > it seams you forgot to also put Output.class on your classpath. > > Regards > Ralf > > > Thomas A Hurley schrieb: > > Hi, > > > > > > > > I'm having a problem running the MappingTool from a DOS prompt. When I > > execute: > > > > > > > > java org.exolab.castor.tools.MappingTool -i Output.class -o Output.xml > > > > > > > > I get the following stack dump even though I am in the directory > > containing the Output.class file. > > > > > > > > org.exolab.castor.mapping.MappingException: Nested error: > > java.lang.ClassNotFoundException: Output.class > > > > java.lang.ClassNotFoundException: Output.class > > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at java.net.URLClassLoader.findClass(Unknown Source) > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > > at java.lang.Class.forName0(Native Method) > > > > at java.lang.Class.forName(Unknown Source) > > > > at > > org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:239) > > > > at > > org.exolab.castor.tools.MappingTool.addClass(MappingTool.java:220) > > > > at > org.exolab.castor.tools.MappingTool.main(MappingTool.java:185) > > > > > > > > My classpath is: > > > > > > > > set > > classpath=c:\anabus_dev\castor\castor- > 0.9.9.1.jar;c:\anabus_dev\XOM\lib\xercesImpl.jar;c:\anabus_dev\Apache > > Commons\commons-logging.jar;. > > > > > > > > Thank you in advance for any help. I've been staring at this so long > > that I've got to be doing something stupid. > > > > > > > > Tom. > > > > > > > > > > > > > > > > set > > > > classpath=c:\anabus_dev\castor\castor- > 0.9.9.1.jar;c:\anabus_dev\XOM\lib\xercesImpl.jar;c:\anabus_dev\Apache > > > > > > Commons\commons- > logging.jar;C:\backup\anabus_projects\SUN_Studio\gamma\classes;. > > > > java org.exolab.castor.tools.MappingTool -i Output.class -o > Output.xml > > > > > > > > **AnaBus **Analytic Business Services, Inc. > > > > //With //**/better information, we/**// help you > > make //**/better decisions./** > > > > Thomas A. Hurley > > > > (215) 576-8447 ext.104 > > > > (215) 576-8452 fax > > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > > > > > ------------------------------------------------- > If you wish to unsubscribe from this list, please > send an empty message to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

