Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re: Project Dependency Error
Re: Project Dependency Error [message #216035] Wed, 25 June 2008 14:50
Eclipse UserFriend
Originally posted by:

This questions might get more response on the eclipse.webtools
newsgroup; I've copied it to this reply.

Jack wrote:
> 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). 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 component."
> But the other project 'Department' is fine.
> What should I do now?
> Any suggestions are really appreciated.
> Thanks.
Previous Topic:Eclipse fails to produce a working webapp
Next Topic:Deactivate preview button in Javascript-editor
Goto Forum:

Current Time: Mon May 17 00:51:11 GMT 2021

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

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

Back to the top