facebook

War class cannot reference ear class

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    tripperm
    Member

    I have just downloaded and installed MyEclipse and am running into a problem. I have created an Enterprise project with a web module and an ejb module. I now have a class in my web module which uses a class defined in my ejb module. The compiler in MyEclipse complains that it cannot resolve the class. I figured this was some sort of build path problem, so I tried the following to get it to work to no avail:

    1) On the Build Path in the Projects tab for the web project, I added a reference to the ejb project.
    2) On the Build Path in the Libraries tab for the web project, I added the class folder for the ejb project.

    I’m at a loss at how to get this to work.

    Tripper

    #286244

    tripperm
    Member

    Never mind. Found out there was a typo in one of my package structures causing the problem.

    #286364

    Loyal Water
    Member

    ok

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: War class cannot reference ear class

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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