[jboss-user] [EJB 3.0] - @Local Local cannot be resolved to a type.

jfrankman do-not-reply at jboss.com
Wed Aug 23 15:18:12 EDT 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967086#3967086

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967086



More information about the jboss-user mailing list