Buid from source

Felipe Parente2 days ago

I need to generate a custom version of Trachcar, following the instructions on the page: https://www.traccar.org/build/

Git Clone occurred normally.
The changes were made and tested.
Build occurred normally with the command: ./GRADLEW Assembly

However, Traccar cannot climb, searching for the following error:

traccar[596346]: Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jac>
traccar[596346]:         at org.traccar.Main.run(Main.java:117)
traccar[596346]:         at org.traccar.Main.main(Main.java:111)
traccar[596346]: Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.module.bl>
traccar[596346]:         at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Builti>
traccar[596346]:         at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadCla>
traccar[596346]:         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
traccar[596346]:         ... 2 more
systemd[1]: traccar.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: traccar.service: Failed with result 'exit-code'.
Anton Tananaev2 days ago

Did you build from master head? You're probably missing dependencies.

Felipe Parente2 days ago

I created a fork, made the changes, gave Commit and push.
The build seemed ok to me.

BUILD SUCCESSFUL in 10s

Anton Tananaev2 days ago

Fork from where? Master branch?

The fork was from Master.
This is the link: https://github.com/felipeparant/traccar

I need to get the JMAK updates, which has not yet left and a change I made in the Huabao protocol.

How did you deploy it after building?