i took the example from the head first ooa&d book.
i now created separate classes for timertask and runnable. works fine.
thanks for the help
stephan
Caldarale, Charles R wrote:
From: Stephan Schöffel [mailto:[EMAIL PROTECTED]
Subject: Cannot create object of c
> From: Stephan Schöffel [mailto:[EMAIL PROTECTED]
> 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:
> t
try to call your time in a single jsp file. say test.jsp ...
<%@ page import="yourtimerpath" %>
<%
... I am calling my timer here
%>
See if you can make it work ...
On 1/9/07, Stephan Schöffel <[EMAIL PROTECTED]> wrote:
MyClass is in the manage lib.
if i delete this timer-stuff it wor
MyClass is in the manage lib.
if i delete this timer-stuff it works fine... but i need the timer
Li wrote:
Hi, it seems that catalina was trying to find your MyClass in her
manager's
classpath "java.lang.NoClassDefFoundError:
org/apache/catalina/manager/MyClass$1".
Make sure your class pat
Hi, it seems that catalina was trying to find your MyClass in her manager's
classpath "java.lang.NoClassDefFoundError:
org/apache/catalina/manager/MyClass$1".
Make sure your class path is correct. A faster way to test if to write a
simple jsp and run your thread inside
<% ... %>. You can need con
hi,
have a problem with creating a class in the doPost method of a servlet:
MyClass mc= new MyClass();
if i do so i get the following error message:
HTTP Status 500 -
*type* Exception report
*message*
*description*