palexdev / MaterialFX

A library of material components for JavaFX
GNU Lesser General Public License v3.0
1.21k stars 122 forks source link

JavaFXThemes & MaterialFXStylesheets don't available on widnows 11 #369

Closed MaksZys closed 8 months ago

MaksZys commented 8 months ago

Describe the bug Hi I created a project on macOS device but when I moved it to windows 11 it stopped working because of strange this linking issue. I tried many maven reset and reinstalls but nothing helped.

To Reproduce Steps to reproduce the behavior:

  1. Create project with materialFX on windows 11 machine

Expected behavior Cannot use JavaFXThemes & MaterialFXStylesheets

Screenshots

image
palexdev commented 8 months ago

If symbols cannot be found then there's surely something wrong with your dependencies configuration

To confirm that, you could try importing MaterialFX from a local .jar file For example you could use the materialfx-all release that contains all the modules into a single jar

MaksZys commented 8 months ago

Unfortunatlly same effect...

If symbols cannot be found then there's surely something wrong with your dependencies configuration

To confirm that, you could try importing MaterialFX from a local .jar file For example you could use the materialfx-all release that contains all the modules into a single jar

palexdev commented 8 months ago

What versions are you using?

MaksZys commented 8 months ago

What versions are you using?

I tried version 11.17.0 specified in documentation. Now I try to use materialfx-all:11.21.0

palexdev commented 8 months ago

Ah sorry, 11.17.0 so you are using the version on the main branch Let me see if the issue is present on my end too

palexdev commented 8 months ago

@MaksZys image It's working on my end

What is strange from your screenshot is that those two classes are shown by IntelliJ with the .class extension. Maybe the jar got corrupted during download? You could try clearing the Maven cache, like actually going in the directory and deleting the jars