ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandrasekaran.V" <chand...@wisorindia.soft.net>
Subject No Class Def found error
Date Wed, 23 Apr 2003 21:16:12 GMT
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



Mime
View raw message