traccar / traccar-docker

Traccar Docker
301 stars 148 forks source link

Java Runtime mismatch #133

Closed juanitoddd closed 3 months ago

juanitoddd commented 3 months ago

Hello dear Friends,

I was trying to run the latest image of traccar, and got this error message

java.lang.UnsupportedClassVersionError: org/traccar/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Can someone point me out how to overcome this issue ? Many thanks in advance

alexvannier-nc commented 3 months ago

Hi, right now, you have to run the traccar version 6.2 "traccar:6.2" and do not use "traccar:latest" Traccar 6.3 is not yet ready. A modification on this repo has been pushed 1 hour ago. For more information : https://github.com/traccar/traccar-docker/pull/132#pullrequestreview-2214120755

tananaev commented 3 months ago

cc @magna-z

a-w-1806 commented 3 months ago

Just encountered this issue. I would suggest that we either add this to README or change our docker deployment strategy a little bit so that latest won't match to a version that is not production-ready?

magna-z commented 3 months ago

Try new builds, please PR #134

a-w-1806 commented 3 months ago

I just pulled the latest, and it seems to be working. Thank you! @magna-z

juanitoddd commented 3 months ago

Many thanks ! doing docker pull traccar/traccar:latest solved the issue 👍