facebook

Problems with tomcat and referenced project

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #282569 Reply

    supernova
    Member

    Hi,

    I’ve got a webproject (with webcapabilities) that has a javaproject referenced in the project/settings/buildpath/projects. It is also included in export. The problem is: The webproject has no build errors (so it sees the javaproject it uses). But when I start the server, the server cannot find the classes. However, if I build a jar out of the javaproject and place it in common/lib everything works fine.

    Thankls

    #285602

    Riyad Kalla
    Member

    NOTE: For some reason the original reply to this thread was lost, reposting answer.

    supernova,
    You need to make sure that the Java project is listed in the Build Path just as you have it, but that it’s also clicked under the “Project References” settings. Then you need to make sure that your deployment rules under MyEclipse > Web > Deployment are set to honor packing up and deploying that dependent web project.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problems with tomcat and referenced project

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