As I said, I have solved all the problems in the workspace. Now, I just
can't get any of the Session EJB projects to build. The entity EJB projects
seem to build fine. Here is the stack trace from ejbc:
ERROR: Error from ejbc: Class not found: Lcom/cwb/ejb/commons/CWBProperties;
java.lang.NoClassDefFoundError: Class not found:
Lcom/cwb/ejb/commons/CWBProperties;
at
weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.ja
va:282)
at
weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBCompli
anceChecker.java:227)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:923)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:879)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:232)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:396)
at weblogic.ejbc20.runBody(ejbc20.java:464)
at weblogic.utils.compiler.Tool.run(Tool.java:126)
at weblogic.ejbc.main(ejbc.java:21)
ERROR: ejbc found errors
So, when I use the "Rebuild Project" contextual menu item, the progress bar
goes through compilation, validation, and building. Then, the console
reports the error above. I have already checked:
1. Build path (it contains everything necessary)
2. Java JAR dependencies
3. Project references
For some reason, ejbc is not finding the appropriate classpath. Any help on
this matter would be greatly appreciated. Thanks in advance.
In an IDE like WSAD, I didn't think these physical files were actually
needed. Am I wrong? Is there a particular technique to AVOID this jar
creation? Thanks.
"Mark Buensalido" <mark_bu...@yahoo.com> wrote in message
news:bkqjra$574e$1...@news.boulder.ibm.com...
Do'nt forget to actually create jar files when you export the though
outside of WSAD the jar files still need to exist!
Hope this helps
/Anders
Are you sure that you also have implemented those dependencies in the
MANIFEST files?
When WSAD builds the project, it uses the classpath from the .classpath
file.
But when weblogic builds the implementations of the local and remote
interfaces it uses the classpath defined in the
MANIFEST.MF file of the ejb-jar file.
Regards, Robert
"Mark Buensalido" <mark_bu...@yahoo.com> schrieb im Newsbeitrag
news:bkqlks$a95a$1...@news.boulder.ibm.com...