Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Runtime mismatch #133

Closed
juanitoddd opened this issue Aug 1, 2024 · 6 comments
Closed

Java Runtime mismatch #133

juanitoddd opened this issue Aug 1, 2024 · 6 comments

Comments

@juanitoddd
Copy link

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
Copy link

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 : #132 (review)

@tananaev
Copy link
Member

tananaev commented Aug 1, 2024

cc @magna-z

@a-w-1806
Copy link

a-w-1806 commented Aug 2, 2024

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
Copy link
Member

magna-z commented Aug 2, 2024

Try new builds, please
PR #134

@a-w-1806
Copy link

a-w-1806 commented Aug 2, 2024

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

@juanitoddd
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants