3 Replies Latest reply on Feb 10, 2009 12:18 PM by fredk

    beanInterface value in @EJB ignored

    fredk

      I am moving an application from OAS to JBoss5. In the application we make use of the beanInterface property of the @EJB annotation like:

      @EJB( beanInterface=MyBeanInterfaceLocal.class )
      private MyBeanInterface myBean;
      


      where:

      public interface MyBeanInterfaceLocal extends MyBeanInterface {
      ...
      }
      


      During deployment I get the error:
      jboss.j2ee:ear=TestApplication.ear,jar=TestProject.jar,name=ejb/testBean,service=EJB3
       -> <UNKNOWN jboss.j2ee:ear=TestApplication.ear,jar=TestProject.jar,name=ejb/testBean,service=EJB3>{Described:** UNRESOLVED Demands 'Class:testpackage.MyBeanInterface' **}