I'm pretty sure this is a problem with log4j. Are you using one of the CVS releases?  If so, you have to have the JUnit testing framework loaded also... check out this doc -> http://www.log4j.org/log4j/FAQ.html#prerequisites .   The log4j release-quality distributions don't need this.

-Jason



<snip>
I'm running into a (basic?) problem trying to deploy an EJB to jBoss.

Platform:  Windows 2000, JDK1.3 +hotspot, jBoss version pr4-beta

Problem:

I'm using log4j as my logging package with a stateless session (not using a
jboss.xml - accepting server defaults for anything not in the ejb-jar.xml).
I'm not using the jBoss logging package because I want to run the same
logging service across multiple app. servers  -the same EJB runs on WL 5.1
with no errors.

When I try to run the EJB, I get the following stack trace:

[frameworkTester] Exception occurred; nested exception is:
       java.lang.ClassCastException: java.lang.NoClassDefFoundError


</snip>

Reply via email to