facebook

Project reference [closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #221873 Reply

    mausca
    Member

    Dear all.

    I checked out 4 projects from my CVS repository:

    the first and the second project was EJB project;
    the third project is a web project;
    the fourth project is a commons project and contains package and classes that was used from the other three projects.

    in the first three projects i open the properties page and choose the “java build path” panel, in this panel i selecting the commons project in the projects tab.
    In this mode i haven’t errors in my three project on MyEclipse perspective, but when i deploy the projects in jboss 4 and when i start jboss i receiving some errors because jboss not found the classes contained in the common project.

    I attempt to resolve the problem by selecting more combination in the properties page of my projects but the problem persist.

    Can you help me please?

    Sorry for my english
    Maurizio. 🙄

    #221881 Reply

    Greg
    Member

    What deployment options on the ejb and web projects did you choose? Are you using packaged or exploded deployment? Have you looked at the deployed projects to see if the common project has been merged into the classes for ejb projects and either merged or jar’ed and placed in the WEB-INF/lib directory of your web project? Dont worry about starting jboss4 just look out in the deploy directory and see if the common code is being properly deployed.

    #221886 Reply

    mausca
    Member

    The problem is closed by:
    1) selecting the common project in the “Projects” tab of “java build path” of web and ejb projects
    2) adding the source directory of common project in the “Source” tab of web and ejb projects.

    I’m sure that in the jar and in the war file the common classes is not present before this. Probably I not use this combination.

    Thanks for support.
    By Maurizio.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Project reference [closed]

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