Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to put the common-collection.jar in web-inf/lib directory under the eclipse project dir.
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic