aspose file tools*
The moose likes Struts and the fly likes why BasicDatasource not find by compiler? even i added commons.dbcp.jar in project /webroot/lib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "why BasicDatasource not find by compiler? even i added commons.dbcp.jar in project /webroot/lib" Watch "why BasicDatasource not find by compiler? even i added commons.dbcp.jar in project /webroot/lib" New topic
Author

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

kiran nyala
Ranch Hand

Joined: Sep 21, 2009
Posts: 47

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

Joined: Feb 03, 2007
Posts: 46
Add jar file to build path in eclipse, it should solve your issue.


thanks & regards, Rakesh
 
 
subject: why BasicDatasource not find by compiler? even i added commons.dbcp.jar in project /webroot/lib