Hi Steve,

Make sure you include xml-apis.jar on the classpath.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

"Weston, Steven" <[EMAIL PROTECTED]> wrote on 01/18/2008 09:20:50
AM:

> I'm trying to implement the newer Xerces SAX 2.9 parser.  For ease
> of use (at least I thought) I used the provided instructions to
> create a single xerces.jar file from the 2.9 components.  From what
> I read it looked like this should allow me to do a straight
> replacement of the older 1.x xerces.jar with this new one.  However,
> when I try to compile my code I'm getting an error about the
> Attributes2 class.  The top few lines from the error stack are as
follows?
> ava.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>         at java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> Can anyone tell me how to resolve this compile issue so I can
> implement the newer parser?
> Thanks
> steve


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

Reply via email to