Skip to content

[BUG] java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel when authenticating with Webview #48

Description

@pauljako

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:

  1. Make a Simple Code that calls loginWithWebview()
  2. Execute it
  3. See error

Expected behavior
WebView should Open

Desktop

  • OS: macOS 14
  • Java version 17.0.10-temurin (aarch64)
  • Version [What Version ?]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions