aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply 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: 2896
    
    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]
omi sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 489
Try to put the common-collection.jar in web-inf/lib directory under the eclipse project dir.


SCJP, OCA 9i application developer, SCWCD 5.
When I was in hell someone told me to get heaven you need to do Java.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2896
    
    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
 
Similar Threads
Strange problem
Tomcat error while running JForum integrated project
server: error ListenerStart
class not found org.springframework.web.servlet.DispatcherServlet
Exception trown during startup of Tomcat eclipse instance, when trying to run a jsp page on server