-
Notifications
You must be signed in to change notification settings - Fork 185
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.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native #98
Comments
Uhm, 1.6 has used JNA 4.0 when built. Are you using the JARs that come with Waffle? Some other JNA JARs? |
I do use several other jars. I got it to work now, but only if I include selenium which contains jna 3.4. The whole thing runs inside tomcat 7 as a web app. Maybe the problem is related to tomcat ? |
jna 4.x works in tomcat with waffle without any issue. Is it possible you are picking up the older named platform and newer jna-platform which would cause a conflict? |
I would need to create a separate tomcat project with only waffle to verify that. As I said, it does work for me now with the selenium jars. I'll close this for now, since I can't pursue it further. |
Hi,
using waffle 6 und jna 4 I get the following stack:
Caused by: java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native
at com.sun.jna.Native.initIDs(Native Method)
at com.sun.jna.Native.(Native.java:139)
at com.sun.jna.Pointer.(Pointer.java:42)
at com.sun.jna.platform.win32.WinNT$HANDLEByReference.(WinNT.java:1074)
at com.sun.jna.platform.win32.WinNT$HANDLEByReference.(WinNT.java:1070)
at waffle.windows.auth.impl.WindowsAuthProviderImpl.logonDomainUserEx(Unknown Source)
at waffle.windows.auth.impl.WindowsAuthProviderImpl.logonDomainUser(Unknown Source)
Apparently the updateLastError Method has been removed in JNA 4.0, so to me it appears as if waffle is incompatible with jna 4.
What to do ?
Stefan
The text was updated successfully, but these errors were encountered: