You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2010/08/21 19:38:16 UTC

[jira] Commented: (OPENEJB-1336) Deployment in Tomcat fails with NoSuchMethodException

    [ https://issues.apache.org/jira/browse/OPENEJB-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901060#action_12901060 ] 

David Jencks commented on OPENEJB-1336:
---------------------------------------

Since java 6 includes the wrong (1.0) annotation spec for ee 6 you need to put the annotation 1.1 jar in the endorsed classpath.

It might also be possible to access this method only by reflection.

> Deployment in Tomcat fails with NoSuchMethodException
> -----------------------------------------------------
>
>                 Key: OPENEJB-1336
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1336
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>
> When deploying an application to Tomcat, a NoSuchMethodException is thrown, causing deployment to fail. This appears to be relates to a new attribute 'lookup' on the javax.ejb.EJB annotation. Although this annotation is available in the Geronimo spec jars, it isn't in the annotation jar that Tomcat is using.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.