i think, this error is self-expalnatory. you have a problem in the code
itself,try changing the private modifier to public...or either post your
program. can you run this program independently (that is, out of server
root) ?
On Tue, 22 Jul 2008 11:55:01 +0530, Fu-Tung Cheng <[EMAIL PROTECTED]>
wrote:
Hi,
I am using tc 6.0.16 with jdk 1.6.0.
I get the following error on startup:
java.lang.IllegalAccessException:
Class org.apache.catalina.core.StandardContext
can not access a member of class
com.mycom.Myclass
with modifiers "private"
web.xml:
<listener>
<listener-class>com.mycom.Myclass</listener-class>
</listener>
where Myclass is located inside my war in WEB-INF/class/com/mycom
Any help?
Thanks,
Fu-Tung
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]