Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1149

Unable to create annotation on private methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AS 5.0.0.Beta3
    • None
    • None
    • None

      java.lang.RuntimeException: Unable to create annotation from method/field cleanup for EJB lTestEJB
      at org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2153)
      at org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2159)
      at org.jboss.ejb3.Ejb3DescriptorHandler.addRemoveAnnotations(Ejb3DescriptorHandler.java:1044)
      at org.jboss.ejb3.Ejb3DescriptorHandler.addAssemblyAnnotations(Ejb3DescriptorHandler.java:1000)
      at org.jboss.ejb3.Ejb3DescriptorHandler.addDescriptorAnnotations(Ejb3DescriptorHandler.java:913)
      at org.jboss.ejb3.Ejb3DescriptorHandler.getStatefulContainer(Ejb3DescriptorHandler.java:461)
      at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:149)
      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:525)
      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:485)
      at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:467)
      at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:433)
      at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:375)
      at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:163)
      ... 65 more
      Caused by: java.lang.NoSuchMethodException: com.sun.ts.tests.ejb30.sec.stateful.common.lTestEJB.cleanup(com.sun.ts.tests.ejb30.sec.stateful.common.SecTestLocal)
      at java.lang.Class.getMethod(Class.java:1581)
      at org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2141)
      ... 77 more

              rhn-engineering-cdewolf Carlo de Wolf
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: