-
Notifications
You must be signed in to change notification settings - Fork 22
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
Vaadin 22.0.1 - UnsatisfiedLinkError on Mac with M1 Max CPU #1308
Comments
This most likely happens because your project forces an old version of JNA |
Could you elaborate on that? What is "an old version of JNA"? How do I determine the version used (and why this version is used)? Why does it work with Vaadin 21.0.3? The error does not appear with Vaadin 21.0.3. The only change required to trigger the error is changing the Vaadin version from 21.0.3 to 22.0.1. The JVM has not been change. I am using 11.0.13-zulu aarm64. I just created a reproducer based on start.vaadin and was not able to reproduce the error, so it seems to be a problem related to my setup/project. However it would be great if you could give me another hint. |
Run |
|
The problem vanishes when using JNA version 5.10.0 (latest). The dependency tree then looks like this
(I guess I should also force 5.10.0 on jna-platform.) |
just for the record: moving to jna version 5.10.0 only worked for a week or so. Then the problem reappeared. The real cause was already mentioned by @Artur- : The classpath contains an (older) version of |
Running
On a M1 Max MacBook Pro with Vaadin 22.0.1 leads an exception indicating that the license checker fails to run on aarm CPUs.
This is a regression. It works with Vaadin 21.0.3.
Exception:
The text was updated successfully, but these errors were encountered: