weblogic.servlet.internal.dd.compliance.ComplianceException

Element "<ejb-local-ref>" with ejb-ref-name "ali/testejb" must either specify a valid ejb-link element or have a corresponding ejb-reference-descriptor element in weblogic.xml with a valid jndi-name.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Unknown by TakhteJamshid,
  • via Unknown by 666705,
  • Stack trace

    • weblogic.servlet.internal.dd.compliance.ComplianceException: Element "<ejb-local-ref>" with ejb-ref-name "ali/testejb" must either specify a valid ejb-link element or have a corresponding ejb-reference-descriptor element in weblogic.xml with a valid jndi-name. at weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDescriptorError(BaseComplianceChecker.java:74) at weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDescriptorError(BaseComplianceChecker.java:80) at weblogic.servlet.internal.dd.compliance.EJBRefsComplianceChecker.validate(EJBRefsComplianceChecker.java:97) at weblogic.servlet.internal.dd.compliance.EJBRefsComplianceChecker.checkEJBLocalRef(EJBRefsComplianceChecker.java:47) at weblogic.servlet.internal.dd.compliance.EJBRefsComplianceChecker.check(EJBRefsComplianceChecker.java:39) at weblogic.servlet.internal.dd.compliance.ComplianceUtils.checkCompliance(ComplianceUtils.java:48) at weblogic.servlet.jsp.JspcInvoker.checkCompliance(JspcInvoker.java:145) at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:198) at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376) at weblogic.application.compiler.WARModule.compile(WARModule.java:245) at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18) at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26) at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29) at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112) at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37) at weblogic.application.compiler.Appc.runBody(Appc.java:198) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.Appc.main(Appc.java:257) at weblogic.appc.main(appc.java:14)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.