facebook

Web project referencing a java project – MyEclipse

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

    pulakchy
    Member

    I have created two projects in myeclipse, one is java and other one is web project. I am using JDK 1.6 and Tomcat 5.x. The web project uses the compiled classes of the java project. Now in my web project i referenced the java project but it does not seem working properly as when i build the web project it does not find the compiled java classes in its class path and hence the deployment of the web project misses the java classes as well. Can any provide me hints on how to link a java project with a web project so that the web project finds the compiled java classes from the java project and also deployment copies over the classes to the Tomcat webapps location.

    #271125

    Loyal Water
    Member

    You will have to add the Java project reference to your web project by right clicking on the web project and going to Properties > Project References and checking the Java Project. This will also copy the java classes from the java project during deployment.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Web project referencing a java project – MyEclipse

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