5 Replies Latest reply on Feb 4, 2011 2:27 AM by nimo stephan

    lookup attribute missing on @Resource?

    Nicklas Karlsson Master

      I'm including

       

      https://repository.jboss.org/nexus/content/groups/public/org/jboss/spec/jboss-javaee-6.0/1.0.0.Final/jboss-javaee-6.0-1.0.0.Final.pom

       

      and it appears to pull in the

       

      https://repository.jboss.org/nexus/content/groups/public/org/jboss/spec/javax/annotation/jboss-annotations-api_1.1_spec/1.0.0.Final/jboss-annotations-api_1.1_spec-1.0.0.Final.jar

       

      with a Resource class that includes the lookup attribute according to

       

      http://download.oracle.com/javaee/6/api/javax/annotation/Resource.html

       

      but when the attribute is used, I get a

       

      [ERROR] symbol  : method lookup()

      [ERROR] location: @interface javax.annotation.Resource

       

      Theories?