[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-user
Subject:    Subject: java.lang.IllegalAccessError with taglib
From:       "Vivek Parekh" <vivekparekh () hotmail ! com>
Date:       2000-08-22 18:42:42
[Download RAW message or body]

Q) Tomcat throws following error while executing the example
SimpleTag using foo.jsp. What could be the cause of this error?

java.lang.IllegalAccessError: try to access class
com.sun.xml.tree.ParentNode from class
org.apache.jasper.compiler.TagLibraryInfoImpl

Answer) Presumption : you are using  Tomcat 3.1
You have two options :
a) Download the sourcecode and compile it yourself :-)
b) Download Tomcat 3.2 

The above error is due to a bug in Tomcat 3.1. It seems that some of the classes were \
compiled with a different version of Java.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Q) Tomcat 
throws following error while executing the example<BR>SimpleTag using foo.jsp. 
What could be the cause of this error?<BR><BR>java.lang.IllegalAccessError: try 
to access class<BR>com.sun.xml.tree.ParentNode from 
class<BR>org.apache.jasper.compiler.TagLibraryInfoImpl</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" 
size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Answer) 
Presumption :&nbsp;you are using &nbsp;Tomcat 3.1</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>You have two 
options :</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>a) Download the 
sourcecode and compile it yourself :-)</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>b) Download 
Tomcat 3.2 </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" 
size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>The above error 
is due to a bug in Tomcat 3.1. It seems that some of the classes were compiled 
with a different version of Java.</FONT></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic