Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Adding project to Dynamic Web project
Adding project to Dynamic Web project [message #723694] Fri, 09 September 2011 07:54 Go to next message
vpascual  is currently offline vpascual Friend
Messages: 1
Registered: September 2011
Junior Member
Hi all,

I'm developing a Dynamic Web Project, in which Build Path I have added another Java project. The problem is that when run my servlets try to use any of the classes from my linked project, I get a ClassNotFoundException...

Any idea about what what's happening?

Thanks
Re: Adding project to Dynamic Web project [message #728690 is a reply to message #723694] Fri, 23 September 2011 16:44 Go to previous messageGo to next message
java_fan  is currently offline java_fan Friend
Messages: 11
Registered: September 2011
Junior Member
I think your linked project's JAR file should be present in the WEB-INF\lib of the web project.

java collection

[Updated on: Sun, 04 December 2011 23:25]

Report message to a moderator

Re: Adding project to Dynamic Web project [message #735107 is a reply to message #728690] Mon, 10 October 2011 23:35 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

You should be able to use the Dynamic Web Project's "Deployment Assembly" property page to indicate that the Java Project should be deployed as a JAR.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Code works in BlueJ but not in Eclipse
Next Topic:Cannot import Java project
Goto Forum:
  


Current Time: Fri Apr 19 02:09:30 GMT 2024

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

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

Back to the top