Tuesday, July 8, 2014

Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

Exception :- 
Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource


First ensure that you have included commons-collections and  commons-dbcp jar in classpath. Click here to download
commons-collections and  commons-dbcp jar

If you are using maven then add following dependency in pom.xml 

<dependency>
    <groupId>commons-collections</groupId>
    <artifactId>commons-collections</artifactId>
    <version>3.2.1</version>
</dependency>


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


12 comments:

  1. Excellent and very cool idea and the subject at the top of magnificence and I am happy to this post..Interesting post!
    Thanks for writing it.What's wrong with this kind of post exactly? It follows your previous guideline for post length as well as clarity.
    Cloud Computing Training in Chennai

    ReplyDelete
  2. Thanks a lot.We will you have to share this blog content information increase with my knowledge learning skills Hadoop Training.We develop to that's our info creative was really good.
    Hadoop Online Training

    ReplyDelete
  3. Awesome! Education is the extreme motivation that open the new doors of data and material. So we always need to study around the things and the new part of educations with that we are not mindful.

    angularjs-Training in velachery

    angularjs Training in chennai

    angularjs-Training in pune

    angularjs-Training in chennai

    angularjs Training in chennai

    ReplyDelete
  4. Awesome article. It is so detailed and well formatted that i enjoyed reading it as well as get some new information too.
    Best Devops Training in pune
    Devops interview questions and answers

    ReplyDelete
  5. Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.So know it's helpful.
    python training in chennai
    python course in chennai
    python training in bangalore

    ReplyDelete
  6. Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage contribution from other ones on this subject while our own child is truly discovering a great deal. Have fun with the remaining portion of the year.
    python training in chennai
    python course in chennai
    python training in bangalore

    ReplyDelete
  7. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject

    rpa training in chennai |best rpa training in chennai|
    rpa training in bangalore | best rpa training in bangalore
    rpa online training

    ReplyDelete
  8. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.
    Advanced AWS Training in Bangalore | Best Amazon Web Services Training Institute in Bangalore
    Advanced AWS Training Institute in Pune | Best Amazon Web Services Training Institute in Pune
    Advanced AWS Online Training Institute in india | Best Online AWS Certification Course in india
    aws training in bangalore | best aws training in bangalore

    ReplyDelete
  9. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.
    Advanced AWS Training in Bangalore | Best Amazon Web Services Training Institute in Bangalore
    Advanced AWS Training Institute in Pune | Best Amazon Web Services Training Institute in Pune
    Advanced AWS Online Training Institute in india | Best Online AWS Certification Course in india
    aws training in bangalore | best aws training in bangalore

    ReplyDelete

ShareThis