The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Europa, Unable to bind common-collection.jar to web project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Europa, Unable to bind common-collection.jar to web project" Watch "Eclipse Europa, Unable to bind common-collection.jar to web project" New topic
Author

Eclipse Europa, Unable to bind common-collection.jar to web project

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904
    
    1

Hi Ranchers,

I'm using Quartz (Java Scheduling API) in my web app, Now some classes in Quartz, like JobDetail, depends upon the "commons-collection.jar" , Now when I add "external jar" in "build path" to my web app project, clean it and re build it... Its raised the same error, that its unable to find the commons-collection.jar, especially the exception is:



I remove and re attched the tomcat installation , still no use..
I export the ".war" file for my same we app, in /lib directory there is NO "commons-collection.jar", Whats happening with Eclipse?


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 591
    
    1

Try to put the common-collection.jar in web-inf/lib directory under the eclipse project dir.


Most of the programming problems can't be solved because you don't know what the exact problem is.
Defining your problem correctly leads you to the right solution.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904
    
    1

omi sharma wrote:Try to put the common-collection.jar in web-inf/lib directory under the eclipse project dir.

Yes, that is something called "remedy" on this problem, I did the same and "manually" put the .jar file in WEB-INF/lib dir. But why this problem is coming? I tried to add as a "external" jar on build path, also tried to use "User Library " for that same jar file, but no use..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Europa, Unable to bind common-collection.jar to web project