2 Replies Latest reply on Mar 30, 2005 8:37 AM by Paul Baker

    .ejb3 and eclipse

    Paul Baker Apprentice

      I'm using myeclipse and JBoss. I'm unable to deploy simple ejb3 app via Eclipse. I am new to ejb....

      Problems:
      1)
      @Stateless, @Remote, @Local causes a syntax errors

      2)
      I am getting errors in the EJB class and both interface classes.

      ACTypeServiceBean:

      @Stateless
      public class ACTypeServiceBean implements ACTypeServiceRemote, ACTypeServiceLocal {

      @Stateless is flagged as a syntax error
      No error is shown but ACTypeServiceBean is underlined in red.

      ACTypeServiceLocal:
      @Local
      public interface ACTypeServiceLocal extends ACTypeService {


      @Local is flagged as a syntax error
      ACTypeService is underlined; error is:
      ACTypeService can not be resolved or is not a valid superinterface.

      Do I need a special JBoss Eclipse plugin. Has anyone successfully been able to deploy an .ejb app using Eclipse? Can you share the problems that you had to overcome?

      Thanks in advance! Paul