• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Tomcat IllegalAccessError!!!!

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried deleting all your class files and recompiling?
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Paddy spent all of his days in the O'Furniture back yard with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic