Reputation: 921
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 ?
SEVERE: Exception processing Global JNDI Resources javax.naming.NamingException: Could not load resource factory class
Upvotes: 0
Views: 10362
Reputation: 773
I think it is a duplication of this post here: https://stackoverflow.com/a/15880777/2191131
If this does not work, can you try this? Link
Your comment was really helpful because it unveiled the OS :)
Keep me posted on your progress.
Upvotes: 1