[Bugfix] fixed no suitable driver found in Tomcat7 context
It seems the class loader mechanism of Tomcat7 makes problems and the driver is not properly found. A solution is to manually force the loading of the driver, before searching for a driver for a URL
This commit is contained in:
parent
2a1e2db5be
commit
58bc33696a
1
pom.xml
1
pom.xml
|
@ -49,7 +49,6 @@
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<version>9.3-1100-jdbc41</version>
|
<version>9.3-1100-jdbc41</version>
|
||||||
<scope>runtime</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue