Re: Failure to load listener path dependent?

2003-11-17 Thread Christopher Schultz
Kenneth,
As soon as I
add a listener I get a NoClassDefFoundError. Here is a snippet from the
java.lang.NoClassDefFoundError: com/jspbook/SiteLogger (wrong name:
SiteLogger)
Your SiteLogger.java file is missing a package declaration at the top 
of the file. That's why it can find the file, but says wrong name. The 
name it sees is the fully-qualified class name, which in the case has no 
package. Add the package declaration and you should be fine.

-chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Failure to load listener path dependent?

2003-11-17 Thread Kenneth LaFrance
That was it - thank you.

-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2003 11:40
To: Tomcat Users List
Subject: Re: Failure to load listener path dependent?


Kenneth,
 As soon as I
 add a listener I get a NoClassDefFoundError. Here is a snippet from the
 java.lang.NoClassDefFoundError: com/jspbook/SiteLogger (wrong name:
 SiteLogger)

Your SiteLogger.java file is missing a package declaration at the top 
of the file. That's why it can find the file, but says wrong name. The 
name it sees is the fully-qualified class name, which in the case has no 
package. Add the package declaration and you should be fine.

-chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]