gaurav sharma
gaurav sharma

Reputation: 13

BasicDataSource cannot be resolved to a type

Hi I am using spring based web application in my project i tried to add dependency in pom.xml for dcbp 1.2 but its still showing me error above error

please help me how i can resolve it I tried following ways: Add depedency dbcp 1,2 apache tomcat inbuild lib dbcp mvn clean update

Upvotes: 1

Views: 3709

Answers (1)

Azhar
Azhar

Reputation: 74

Try changing the version of dcbp Add this to your pom.xml

<dependency>
  <groupId>commons-dbcp</groupId>
  <artifactId>commons-dbcp</artifactId>
  <version>1.4</version>
</dependency>

Upvotes: 3

Related Questions