别人的project, 从CVS下载到local, 在elipse BUILD时出现以下错误,不知哪位大虾知道哪里出问题了
[java] <12-May-2014 4:41:15 o'clock PM EDT> <Warning> <EJB> <BEA-010054> <EJB Deployment: RHMCToolsClassic has a class ca.gc.ccra.rhmc.tools.tieri.ejb.RHMCToolsClassic that is in the classpath. This class should only be located in the ejb-jar file.>
[java] <12-May-2014 4:41:16 o'clock PM EDT> <Warning> <EJB> <BEA-010202> <Call-by-reference is not enabled for the EJB 'RHDataCachingBroker'. The server will have better performance if it is enabled. To enable call-by-reference, set the enable-call-by-reference element to True in the weblogic-ejb-jar.xml deployment descriptor or corresponding annotation for this EJB.>
[java] There are 1 nested errors:
[java] java.lang.NoClassDefFoundError: Class not found: Lorg/apache/commons/logging/Log;
[java] at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:346)
[java] at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:286)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:952)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:920)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:246)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:552)
。。。
BUILD FAILED
C:\Dev\rhmc\rhmc\rh\implementation\build.xml:334
build.xml的程序片段如下:
<!-- precompile jsps, generate ejb stubs, etc. -->
<java classname="weblogic.appc" fork="yes" dir="${BUILD}" failonerror="yes" classpathref="appc-classpath">
<jvmarg line="-Xms128M -Xmx256M -Djava.io.tmpdir=c:/temp" />
<arg line="-verbose -forceGeneration -keepgenerated -iiop -basicclientjar ${DIST}/rhmc.codes.ear" />
</java>
--转自