You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harry Hehl <hh...@diskstream.com> on 2005/08/23 18:50:54 UTC

error loading class in $CATALINA_BASE/shared/classes

Hello,

I am just starting out with Tomcat 5 and I am experimenting with loading
classes from a servlet. 

I have placed my .class files in $CATALINA_BASE/shared/classes.
My servlet tries to instantiate a class located in
$CATALINA_BASE/shared/classes I get

javax.servlet.ServletException: Servlet execution threw an exception
root cause 
java.lang.IllegalAccessError: tried to access class XXXX from class YYYYY

I discovered even if I delete the .class files from CATALINA_BASE/shared/classes I still get this error. 

Is there a security setup required to permit this?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org