Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why BasicDatasource not find by compiler? even i added commons.dbcp.jar in project /webroot/lib

 
kiran nyala
Ranch Hand
Posts: 52
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi I am trying to write one DBplugin class for postgresql, compiler warning me at import org.apache.commons.dbcp.BasicDataSource and its relavant code... why? I also added commons-dbcp-1.2.1.jar under /WEB-INF/lib

please check this code and resolve it ..thank you in advance




----------struts-config.xml---------


 
rakesh kumar nampally
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add jar file to build path in eclipse, it should solve your issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic