Error compiling server

Andres7 days ago

Hello everyone,
I have updated to the latest version but when I want to compile the server with the "./gradlew assemble" command, I stop the service, replace the jar and activate the service again, it does not work, there is nothing in the logs and in the log my server identified this error:

Jan 15 22:33:48 vmi1070917.contaboserver.net systemd[1]: Started traccar.
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]: Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]:         at org.traccar.Main.run(Main.java:117)
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]:         at org.traccar.Main.main(Main.java:111)
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]: Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.Module
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]:         at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]:         at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
Jan 15 22:33:48 vmi1070917.contaboserver.net traccar[236748]:         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)

Has this been identified? or does it just happen to me?

Anton Tananaev7 days ago

Probably wrong dependencies.

Andres6 days ago

Thank you for your prompt response, that's right, dependency problem, I reinstalled from scratch and everything working, THANK YOU!!