Building the project via maven 3.8.6.
Running the Project via IntelliJ "Playbutton" it works like a charm but running the built jar does not.
PS C:\Users\Polito\Documents\IdeaProjects\podcastr-java\target> java -jar .\podcastr.jar
Exception in thread "main" java.lang.NoClassDefFoundError: com/formdev/flatlaf/FlatDarculaLaf
at de.podcastr.desktop.view.MainWindow.start(MainWindow.java:14)
at de.podcastr.desktop.Podcastr.main(Podcastr.java:7)
Caused by: java.lang.ClassNotFoundException: com.formdev.flatlaf.FlatDarculaLaf
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 2 more
Building the project via
maven 3.8.6
. Running the Project via IntelliJ "Playbutton" it works like a charm but running the built jar does not.build part of the pom.xml