weblogic.ejb.container.compliance.ComplianceException

In EJB HelloEJB, method beaInvoke([Ljava.lang.Object;,int) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web31

  • via Oracle Community by 879974, 1 year ago
    In EJB HelloEJB, method beaInvoke([Ljava.lang.Object;,int) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
  • via Oracle Community by 879974, 1 year ago
    In EJB HelloEJB, method beaInvoke([Ljava.lang.Object;,int) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
  • via Stack Overflow by pbk
    , 1 year ago
    In EJB MonthlySessionStatMgmt, method getEJBHome() defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
  • Stack trace

    • weblogic.ejb.container.compliance.ComplianceException: In EJB HelloEJB, method beaInvoke([Ljava.lang.Object;,int) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class. at weblogic.ejb.container.compliance.BeanClassChecker.checkBusinessMethods(BeanClassChecker.java:510) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:331) at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280) at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:428) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:437) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:795) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:683) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1254) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)

    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

    You’re the first here who have seen this exception.