facebook

How to get EJB related annotations working?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #269224 Reply

    I’m runnign Eclipse 3.2.2, and MyEclipse 5.1.1. None of the EJB related (@Remote etc) are in the Proposals box. I’m also trying to deploy to Geronimo, and not JBoss.
    Can anyone tell me how to get those annotations to work?

    #269238 Reply

    Riyad Kalla
    Member

    Grim,
    If you are using the EJB3 annotations you need to make sure your project is a JEE 5 project *and* has the JEE 5 Library Set added to your build path in order for those annotations to be resolved.

    We added JEE 5 support in MyEclipse 5.5, so the only way for those annotations to work with MyEclipse 5.1.1 is for you to create your own User Library with the JEE 5 libraries and add it to your build path manually. Is this what you have done?

    If not, this is why the annotations are not working.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to get EJB related annotations working?

You must be logged in to post in the forum log in