You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Jacob Kjome <ho...@visi.com> on 2003/04/24 06:38:51 UTC

Re: Problem with Commons and Log4j

This is an issue with commons-logging, not Log4j.  The best way around this 
issue is to dump commons-logging like a bad habit ASAP.  Oh, and 
read  http://www.qos.ch/logging/thinkAgain.html .

Jake

At 08:46 AM 4/24/2003 -0700, you wrote:
>All,
>I am using ANT with weblogic 7.0 and Commons with log4j.When I run the
>ejbc task I get the following error.
>
>Any suggestions on why this is happening?
>
>Thanks in Advance,
>Chandrav
>
>: ServiceProviderInterfaceEntityBean has a class
>com.wisor.validator.serviceprov
>idermanagement.entitybean.ServiceProviderInterfaceEntityLocalHome which is
>in th
>e classpath. This class should only be located in the ejb-jar file.>
>      [java]
>      [java]
>      [java] ERROR: Error from ejbc: Class not found:
>Lorg/apache/commons/logging
>/Log;
>       [java] <Apr 23, 2003 1:59:58 PM PDT> <Warning> <EJB> <010054> <EJB
>Deploym
>ent: ServiceProviderInterfaceEntityBean has a class
>com.wisor.validator.servicep
>rovidermanagement.entitybean.ServiceProviderInterfaceEntityLocal which is in
>the
>  classpath. This class should only be located in the ejb-jar file.>
>      [java] [EJBCompiler] : Recompiling because no previous hashes found
>     [java]
>      [java] java.lang.NoClassDefFoundError: Class not found:
>Lorg/apache/commons
>/logging/Log;
>      [java]     at
>weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBCompl
>ianceChecker.java:282)
>      [java]     at
>weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymen
>tInfo(EJBComplianceChecker.java:227)
>      [java]     at
>weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompile
>r.java:923)
>      [java]     at
>weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.j
>ava:879)
>      [java]     at
>weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:23
>2)
>      [java]     at
>weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:3
>96)
>      [java]     at weblogic.ejbc20.runBody(ejbc20.java:459)
>      [java]     at weblogic.utils.compiler.Tool.run(Tool.java:126)
>      [java]     at weblogic.ejbc.main(ejbc.java:21)
>      [java]
>      [java]
>      [java] ERROR: ejbc found errors
>      [java]
>
>BUILD FAILED
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org