Looks like your classpath is missing a semi-colon ';' after the
xerces.jar entry.
--Keith
> rajesh wrote:
>
> Hi All,
>
> I looked on the archives but none of the cases matche dmy scenario so
> trying this post also this is my first one.
>
> I saw your post on castor mailing list regarding SAXExcetion when
> using castor source generator.
>
> this is my classpath
>
> set
>
>CLASSPATH=C:\tomcat3.2\lib\crimson.jar;C:\tomcat3.2\lib\jaxp.jar;C:\tomcat3.2\lib\xml-apis.jar;C:\tomcat3.2\lib\xalan.jar;C:\tomcat3.2\lib\xerces.jar..\lib\castor-0.9.3-xml.jar;..\lib\jakarta-regexp-1.2.jar;.
>
> and i am trying to
>
> java org.exolab.castor.builder.SourceGenerator -i %XSD_FILE% -dest
> %DESTINATION_DIR%
>
> i get the following error.
>
> C:\unzipped\jw-1228-jaxb\javacommand\bin>java
> org.exolab.castor.builder.SourceGe
> nerator -i ..\sams_code\castor\socks.xsd -dest
> ..\generated_code\castor
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/xml/sax/SAXExcept
> ion
>
> i do have xerces in my classpath as shown above also i tried with
> xercesj that come swith castor.93 but no luck.
>
> could you help me figure out what i am doing wrong.
>
> Regards
> Rajesh Kalluri.
> Manduca Management LLC,
> Suite 230, 5757 Blue Lagoon Dr.
> Miami, FL 33126.
> Phone: 786-552-0521
> Fax: 786-552-0501
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev