Add postgres JDBC to uberjar, shadow to avoid global conflicts
This commit is contained in:
parent
d91a98abc3
commit
b7e7039c38
2 changed files with 4 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ public class PostgreSQLMapStorage extends MapStorage {
|
|||
connectionString = "jdbc:postgresql://" + hostname + ":" + port + "/" + database + flags;
|
||||
Log.info("Opening PostgreSQL database " + hostname + ":" + port + "/" + database + " as map store");
|
||||
try {
|
||||
Class.forName("org.postgresql.Driver");
|
||||
Class.forName("org.dynmap.org.postgresql.Driver"); // Use shaded name for our bundled driver
|
||||
// Initialize/update tables, if needed
|
||||
if(!initializeTables()) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue