Unable to start traccar-server v4.6 after Installing on Ubuntu 64

rjp6 years ago

I am new to Traccar. I got the zip file and ran the traccar.run file

Within /opt/traccar/ I see a tracker-server.jar

Ran $ sudo java -jar tracker-server.jar conf/traccar.xml

To get the following error:

/opt/traccar$ sudo java -jar tracker-server.jar conf/traccar.xml
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/opt/traccar/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

This is the error log I got when I ran the traccar.service:

journalctl -u traccar.service
-- Logs begin at Tue 2019-12-31 01:48:26 IST, end at Tue 2019-12-31 02:33:14 IST. --
Dec 31 02:00:34 ip-172-31-20-95 systemd[1]: Started traccar.
Dec 31 02:00:44 ip-172-31-20-95 traccar[2152]: WARNING: An illegal reflective access operation has occurred
Dec 31 02:00:44 ip-172-31-20-95 traccar[2152]: WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/opt/traccar/lib/guice-4.2.2.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.Pro
Dec 31 02:00:44 ip-172-31-20-95 traccar[2152]: WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
Dec 31 02:00:44 ip-172-31-20-95 traccar[2152]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Dec 31 02:00:44 ip-172-31-20-95 traccar[2152]: WARNING: All illegal access operations will be denied in a future release
Dec 31 02:17:31 ip-172-31-20-95 systemd[1]: Stopping traccar...
Dec 31 02:17:32 ip-172-31-20-95 systemd[1]: Stopped traccar.

Please let me know if there something I could do to fix this and run Traccar Server without issues.

Anton Tananaev6 years ago

I don't see any issues.