FYI: org.apache.catalina.core.StandardWrapper can not access a member

S

SS Tsay

I am working on a web app with java servlets and was having a lot of
problems with this one servlet, where I kept getting 500 errors with
long Exception traces, with not much useful info, except for the top
line below root cause:

java.lang.IllegalAccessException: Class
org.apache.catalina.core.StandardWrapper can not access a member of
class MyMain with modifiers ""

The problem was that my servlet class was not declared to be public.

TS
 
Joined
Jun 11, 2007
Messages
1
Reaction score
0
Thanks

Thank you very much. You really helped me. I verified everything, all classes, all jar files, but I missed the class attrribute.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top