5 Replies Latest reply on Oct 17, 2006 5:59 AM by Wolfgang Knauf

    @Local Local cannot be resolved to a type.

    jfrankman Novice

      Just trying to get started with EJB3. I am using an EJB3 tutorial found here: http://www.laliluna.de/download/first-ejb3-tutorial-en.pdf

      I am trying to declare a Local interface using the @Local annotation. I am using Eclipse 3.1. I get the error:

      "Local cannot be resolved to a type"

      My interface is below:

      package de.laliluna.library;
      import javax.ejb.*;
      
      @Local
      public interface BookTestBeanLocal {
       @Id
       public void test();
      }
      


      Obviously I must be missing a jar or something, but I can't figure out what jar the @Local annotation is declared in. Any help would be appreciated.