File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat IllegalAccessError!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat IllegalAccessError!!!!" Watch "Tomcat IllegalAccessError!!!!" New topic

Tomcat IllegalAccessError!!!!

aravind shenoy

Joined: Aug 26, 2004
Posts: 6
I have developed a struts application (using jdk 1.4.2 + Tomcat 4.1 + Eclipse IDE).When I tried deploying the same application on the server which makes use of JDK 1.4.0, it is giving following error..

ERROR digester.Digester- Begin Event Threw Error
java.lang.illegalAccessError:class sun.reflect.GeneratedConstructorAccessor
cannot access its superclass sun.reflect.ConstructorAccessorImpl
at sun.misc.unSafe.defineClass(Native Method)......

I am not finding any resolution for the above mentioned problem..So pls help me in this regards

Thanks and Regards
Angel Dobbs-Sciortino
Ranch Hand

Joined: Sep 10, 2003
Posts: 101
Have you tried deleting all your class files and recompiling?
Archana Annamaneni
Ranch Hand

Joined: Jan 29, 2003
Posts: 147
In your new deployment also are you using the eclipse ?And there are some significant changes in jdk1.4 and 1.4.2 so that might causing the problem.
I agree. Here's the link:
subject: Tomcat IllegalAccessError!!!!
jQuery in Action, 3rd edition