facebook

project dependency deployment [Closed]

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

    fermataintl
    Member

    I have a “generally useful” project that contains classes that can be used in different apps. I also have a struts app that is dependent on stuff in the “generally useful” project. I set a dependency in the web project on the other project via Properties->Project References. However, when I deployed to tomcat and tested, I’m getting an exception indicating that a class is not found (from the general project).

    What is the recommended way to accomplish this sort of thing?

    Thanks.
    Dean

    #223399 Reply

    Riyad Kalla
    Member

    Dean,
    1) Make sure you are using MyEclipse 3.8.3 (atleast 3.8.1 or .2)
    2) Modify your deployment policy of dependent applications either globally (Window > Prefs > MyEclipse > J2EE Projects > Web Project > Deployment) or just for that project (under MyEclipse-Web project properties).
    3) Make sure the “Dependent Java Project deployment policy” is either set to “JAR” or “Smart”

    #223401 Reply

    fermataintl
    Member

    Thanks. Works like a champ.

    Dean

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: project dependency deployment [Closed]

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