XML Parser in Servlet causes exception

Lars George lgeorge at gmx.net
Tue Oct 5 23:18:25 BST 1999


Dave,

Thanks for pointing that out, but unfortunately this does not apply here.
The release notes talk about recompiling the XML java classes, which I have
not done. Another indication is that it runs as the standalone demo but not
inside the servlet. Both VM point to the same classpath and both use the
same jdk on my disk - so both should have the same problem. As I have not
recompiled the XML classes but use the precompiled one, this error should
not occur. BUT as I get this exception in a nearly similar fashion I have
the suspicion that this must be something related to it. But how can I find
out? Question, questions...

Thanks,

Lars George
Woodgate Research Pty Ltd
Brisbane, Australia

> -----Original Message-----
> From: owner-xml-dev at ic.ac.uk [mailto:owner-xml-dev at ic.ac.uk]On Behalf Of
> David Brownell
> Sent: Wednesday, 6 October 1999 5:01
> To: Lars George
> Cc: xml-dev at ic.ac.uk
> Subject: Re: XML Parser in Servlet causes exception
>
>
> Lars George wrote:
> >
> > java.lang.IllegalAccessError: com/sun/xml/tree/ParentNode at
>
> There's some information in the release notes about this
> diagnostic, which so far as I know _only_ shows up if the
> source code was recompiled with a JDK 1.1 version of "javac".
>
> The issue is that the JDK 1.1 compiler (and many derived
> compilers) generate incorrect bytecodes, which cause that
> exception to be reported.  I've not heard of any JVM which
> reports that error when given _correct_ bytecodes.
>
> - Dave
>
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on
> CD-ROM/ISBN 981-02-3594-1
> To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
> unsubscribe xml-dev
> To subscribe to the digests, mailto:majordomo at ic.ac.uk the
> following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list