Hi!
I am trying to run traccar server from cmd in Windows Server 2012. To execute it I write this command:
mvn exec: java -Dexec.mainClass = "org.traccar.Main" -Dexec.args = "debug.xml"
After that, it sends me a compilation error:
[ERROR] Failed to execute goal org.codehaus.mojo: exec-maven-plugin: 1.6.0: java (default-cli) on project traccar: An exception occured while executing the Java class. liquibase.exception.DatabaseException: java.lang.RuntimeException: Can not find database driver: com.mysql.jdbc.Driver -> [Help 1]
My connection parameters are the following:
<entry key = 'database.driver'> com.mysql.jdbc.Driver </ entry>
<entry key = 'database.url'>jdbc:mysql://localhost:3306/traccar?useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</ entry>
<entry key = 'database.user'> root </ entry>
<entry key = 'database.password'> </ entry>
In Netbeans it builds and executes very well traccar server
Hi!
I am trying to run traccar server from cmd in Windows Server 2012. To execute it I write this command:
After that, it sends me a compilation error:
My connection parameters are the following:
<entry key = 'database.driver'> com.mysql.jdbc.Driver </ entry> <entry key = 'database.url'>jdbc:mysql://localhost:3306/traccar?useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</ entry> <entry key = 'database.user'> root </ entry> <entry key = 'database.password'> </ entry>
In Netbeans it builds and executes very well traccar server