Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IllegalAccessError with Tomcat 4.01

Status
Not open for further replies.

manu0

Programmer
Apr 28, 2001
54

Hi

I'm using a third party API and have deployed it (jar file) in the /lib folder of my webapp.

One of my servlets instanciate a class of this API wich use another class of the same API (but this second class doesn't mention any package name).

Then I get an IllegalAccessError : try to access class "class2" from class "com. ... .class1"

When I run the same program out of Tomcat (with à "main") it works fine.

manu0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top