This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat IllegalAccessError!!!!" Watch "Tomcat IllegalAccessError!!!!" New topic
Author

Tomcat IllegalAccessError!!!!

aravind shenoy
Greenhorn

Joined: Aug 26, 2004
Posts: 6
Hi,
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
aravind
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: http://aspose.com/file-tools
 
subject: Tomcat IllegalAccessError!!!!