I use javafx with maven and eclipse for a non-business project.
A few days ago (June 2024) after yet another update for eclipse, the project got errors and would not run any more.
After a hard time with a lot of try&error I could boil down the problem:
suddenly, javafx-swing-19-ea+11.jar is empty except for the MANIFEST.MF which reads
Manifest-Version: 1.0
Automatic-Module-Name: javafx.swingEmpty
(same for javafx-swing-23-ea+20.jar).
Just to assure the problem is not on my local system, I downloaded the jar directly from maven: https://repo1.maven.org/maven2/org/openjfx/javafx-swing/23-ea+20/javafx-swing-23-ea+20.jar .
Now what to do? Looks like finally swing and javafx have been separated, but how to tell my local system (pom.xml) where to find the now missing classes?
If this makes a difference, I’m working on linux.