tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Cannot create object of class
Date Tue, 09 Jan 2007 17:50:34 GMT
> From: Stephan Schöffel [mailto:stephan.schoeffel@gmx.net] 
> Subject: Cannot create object of class

> java.lang.NoClassDefFoundError: org/apache/catalina/manager/MyClass$1

It's not MyClass that can't be found, it's a failure to create the anonymous inner class:

>         timer.schedule(new TimerTask(){
>             public void run(){
>                 timer.cancel();
>             }
>         }, 60*1000);

The TimerTask definition (interface or superclass) must also be available in the manager app's
classpath (i.e., WEB-INF/lib or WEB-INF/classes).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message