Main method error - org.glassfish.jersey.client.JerseyClientBuilder -

JD2 years ago

Hi, community..! Does anyone have an idea about this error? I am trying to compile the master branch...!

2022-08-01 23:37:31  INFO: Operating system name: Linux version: 5.15.0-41-generic architecture: amd64
2022-08-01 23:37:31  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: ojdkbuild version: 11.0.13+8-LTS
2022-08-01 23:37:31  INFO: Memory limit heap: 235mb non-heap: 0mb
2022-08-01 23:37:31  INFO: Character encoding: UTF-8 charset: UTF-8
2022-08-01 23:37:31  INFO: Version: 5.2
2022-08-01 23:37:31  INFO: Starting server...
2022-08-01 23:37:31  INFO: HikariPool-1 - Starting...
2022-08-01 23:37:31  WARN: Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
2022-08-01 23:37:32  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@e27ba81
2022-08-01 23:37:32  INFO: HikariPool-1 - Start completed.
2022-08-01 23:37:32  INFO: Clearing database change log checksums
2022-08-01 23:37:33  INFO: Successfully acquired change log lock
2022-08-01 23:37:34  INFO: Successfully released change log lock
2022-08-01 23:37:34  INFO: Successfully acquired change log lock
2022-08-01 23:37:34  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.json.JsonChangeLogParser Unable to get public no-arg constructor
2022-08-01 23:37:34  INFO: Cannot load service: liquibase.parser.ChangeLogParser: liquibase.parser.core.yaml.YamlChangeLogParser Unable to get public no-arg constructor
2022-08-01 23:37:36  INFO: Reading from traccar.DATABASECHANGELOG
2022-08-01 23:37:37  INFO: Reading from traccar.DATABASECHANGELOG
2022-08-01 23:37:37  INFO: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
2022-08-01 23:37:37  INFO: Successfully released change log lock
2022-08-01 23:37:38  INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2022-08-01 23:37:38 ERROR: Main method error - org.glassfish.jersey.client.JerseyClientBuilder - ClassNotFoundException (... < MainModule:120 < <gener:-1 < *:-1 < ... < ServerManager:58 < ...)
Anton Tananaev2 years ago

Looks like some dependencies are missing.

Anton Tananaev2 years ago

My guess is that you're trying to build a JAR from master and install it on top of last official release. It won't work like that.

JD2 years ago

My guess is that you're trying to build a JAR from master and install it on top of the last official release. It won't work like that.

Yes..! you are right sir..! then how we can use the latest master branch

Anton Tananaev2 years ago

You have to upgrade everything, not just a single JAR file. If you're asking this question, you probably shouldn't use master.

JD2 years ago

Thanks for your help it's given me the right direction..!