OpenAuth
OpenAuth copied to clipboard
[BUG] java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel when authenticating with Webview
Describe the bug When I call authenticator.loginWithWebview() I get the following error:
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithAsyncWebview(MicrosoftAuthenticator.java:154)
at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithWebview(MicrosoftAuthenticator.java:138)
at de.pauljako.airclient.Account.webLogin(Account.java:60)
To Reproduce Steps to reproduce the behavior:
- Make a Simple Code that calls loginWithWebview()
- Execute it
- See error
Expected behavior WebView should Open
Desktop
- OS: macOS 14
- Java version 17.0.10-temurin (aarch64)
- Version [What Version ?]