Did you build from master head? You're probably missing dependencies.
I created a fork, made the changes, gave Commit and push.
The build seemed ok to me.
BUILD SUCCESSFUL in 10s
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?
I stopped the service, replaces the "tracker-server.jar" file and tried to go up again.
It won't work like that.
But, in this link, don't you send it like this?
https://www.traccar.org/build/
"It will automatically download all dependencies and generate tracker-server.jar in the target subfolder. Now you can just replace the file in your Traccar installation and restart the service for changes to take affect. Make sure you have a compatible version of Traccar installed. Use the latest release when using the master branch for development."
You're missing dependencies.
Yes, that's what I posted in the first message.
But in instruction they have:
"It will automatically download all dependencies and generate tracker-server.jar in the target subfolder"
So you need to copy those dependencies.
But even better if you don't use master branch, unless you know exactly what you're doing.
I tried several ways.
Including downloading and compiling it on my own server (Linux).
But after the build is finished and the .jar is generated, it won't upload.
I also tried downloading the official code.
I think there's something missing, besides this command:
./gradlew assemble
It seems like you're still ignoring my recommendation.
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: