aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/http/WebServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/http/WebServer.java b/src/org/traccar/http/WebServer.java
index 0fd5b952e..2745cd7b8 100644
--- a/src/org/traccar/http/WebServer.java
+++ b/src/org/traccar/http/WebServer.java
@@ -55,7 +55,7 @@ public class WebServer {
if (clazz != null) {
DataSource ds = (DataSource) clazz.newInstance();
- clazz.getMethod("setUrl", String.class).invoke(ds, properties.getProperty("database.url"));
+ clazz.getMethod("setURL", String.class).invoke(ds, properties.getProperty("database.url"));
clazz.getMethod("setUser", String.class).invoke(ds, properties.getProperty("database.user"));
clazz.getMethod("setPassword", String.class).invoke(ds, properties.getProperty("database.password"));