A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
JDBC and Relational Databases
Joined: Jul 08, 2010
Feb 21, 2012 09:09:03
. If I put a
driver into Tomcat's lib folder, and another in the lib folder of my webapp will there be a conflict ? Is there a rule by which one of the drivers always gets loaded first ?
Thanks in advance,
Joined: Sep 21, 2011
Feb 21, 2012 09:12:26
The one in WEB-INF/lib takes precedence, unless you're using a container-managed DataSource.
I agree. Here's the link:
subject: Driver conflict
about class not found exception in eclipse
JDBC & My SQL connection Problem
connection not possible, even after using the connector
Unable to test my webservice written in java showing Class Not Found Exception
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015