I'm getting following errror tomcat 7.0.53 with maven. I used factory="org.apache.commons.dbcp.BasicDataSourceFactory"
in Resource tag in server.xml, but don't know why it is picking up the tomcat dbcp.
Why so?
I did some searching in internet and tried different options like adding tomcat-dbcp in maven, adding to the class path etc.. but nothing seems to work.
Where it went wrong ?
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.BasicDataSourceFactory] Apr 07, 2014 11:39:57 AM org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
SEVERE: Exception processing Global JNDI Resources javax.naming.NamingException: Could not load resource factory class