Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Project Dependency Error
Project Dependency Error [message #217295] Thu, 10 July 2008 02:44 Go to next message
Eclipse UserFriend
Originally posted by:

Hello Everyone,

I tried looking for this but couldn't find any help.

I have a Java project (say Employee) in my workspace with its dependents
(say Department and Designation). Both the dependents are Java projects
too. The parent project has a class in a package with a main method.
Now this parent project is added as a dependent to another web application
(say Manager). So, I got rid off the main method and added an instance
method which is called from a class in the web app.
And, now the 'Designation' project shows up an error:

"Projects must be referenced by an EAR or a WAR to use classpath
publish/export dependencies whose runtime path (../) maps into the parent
But the other project 'Department' is fine and behaves well.

What should I do now?
Any suggestions are really appreciated.

Re: Project Dependency Error [message #217401 is a reply to message #217295] Fri, 11 July 2008 06:41 Go to previous message
Thomas Gui is currently offline Thomas GuiFriend
Messages: 3
Registered: July 2009
Junior Member
i meet this problem too when using Ecliopse v3.4

so strange
Previous Topic:eclipse can't find javax.servlet
Next Topic:Extends Eclipse XML Editor
Goto Forum:

Current Time: Sat Oct 24 18:40:19 GMT 2020

Powered by FUDForum. Page generated in 0.05910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top