File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Eclipse dynamic web project 'class not found' error accessing classes in secondary 'common' project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Eclipse dynamic web project Watch "Eclipse dynamic web project New topic
Author

Eclipse dynamic web project 'class not found' error accessing classes in secondary 'common' project

Kevin P Smith
Ranch Hand

Joined: Feb 18, 2005
Posts: 362
I have Dynamic Web Project (web-app) and standard java Project (common-app)

What I was hoping to do, I get web project to use the standard project as a location for all common classes, so if I have multiple web-apps they can all access classes from this common location

I have set-up a the Projects link in ‘Configure Build Path > Projects’ in my web-app to use the common-app, and this works as development; but as soon as I deploy I get a ‘Class not found’ on any class from the common-app which is used in the web-app.

The problems are thrown on sever start-up in my application-context.xml where I have things like:

Or

How can I set up my web-app so it uses the common-app, as I don’t particularly want to replicate things like my ‘model’ package if I can avoid it

Cheers in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse dynamic web project 'class not found' error accessing classes in secondary 'common' project