i'm building EJB and while building the deployable jars, i sometimes have this exception - some sessions beans have it all time and some session beans don't have it all the time.
the thing is that the jars are created and work well in both cases, i just want to get rid of this exception in case it does harm me someway.
java.lang.NoClassDefFoundError: javax/ejb/EntityBean
at weblogic.ejb.compliance.BeanClassChecker.class$(BeanClassChecker.java:26)
at weblogic.ejb.compliance.EntityBeanClassChecker.checkBeanClassImplementsEntityBean(EntityBeanClassChecker.java:124)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb.compliance.EJB11ComplianceChecker.checkEJB(Compiled Code)
at weblogic.ejb.compliance.EJB11ComplianceChecker.checkDeploymentUnit(Compiled Code)
at weblogic.ejb.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:302)
at weblogic.ejb.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:251)
at weblogic.ejb.ejbc.EJBCompiler.compileEJB(Compiled Code)
at weblogic.ejbc.runBody(Compiled Code)
at weblogic.utils.compiler.Tool.run(Tool.java:80)
at weblogic.ejbc.main(ejbc.java:353)
[EJB]: Unexpected exception java.lang.NoClassDefFoundError: javax/ejb/EntityBean
the thing is that the jars are created and work well in both cases, i just want to get rid of this exception in case it does harm me someway.
java.lang.NoClassDefFoundError: javax/ejb/EntityBean
at weblogic.ejb.compliance.BeanClassChecker.class$(BeanClassChecker.java:26)
at weblogic.ejb.compliance.EntityBeanClassChecker.checkBeanClassImplementsEntityBean(EntityBeanClassChecker.java:124)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb.compliance.EJB11ComplianceChecker.checkEJB(Compiled Code)
at weblogic.ejb.compliance.EJB11ComplianceChecker.checkDeploymentUnit(Compiled Code)
at weblogic.ejb.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:302)
at weblogic.ejb.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:251)
at weblogic.ejb.ejbc.EJBCompiler.compileEJB(Compiled Code)
at weblogic.ejbc.runBody(Compiled Code)
at weblogic.utils.compiler.Tool.run(Tool.java:80)
at weblogic.ejbc.main(ejbc.java:353)
[EJB]: Unexpected exception java.lang.NoClassDefFoundError: javax/ejb/EntityBean