Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat IllegalAccessError!!!!

 
aravind shenoy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried deleting all your class files and recompiling?
 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic