• 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: 55
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!