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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 2902
    
    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: 550
    
    1

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


Back to Java , again.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    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..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse Europa, Unable to bind common-collection.jar to web project
 
Similar Threads
Tomcat error while running JForum integrated project
Strange problem
server: error ListenerStart
Exception trown during startup of Tomcat eclipse instance, when trying to run a jsp page on server
class not found org.springframework.web.servlet.DispatcherServlet