This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Consider Paul's rocket mass heater.
 
subject: Tomcat IllegalAccessError!!!!
 
Similar Threads
Can Tomcat run with JRE only?
java.lang.OutOfMemory Exception in Apache
Affordable Tomcat Hosting?
16 bit error?
Bad Version Number when deploying app