How to generate executable jar in JavaFX with maven project
问题 I can't run generated jar file. Here's my error output: no main manifest attribute, in myapp.jar Here is my pom.xml file: <plugins> <plugin> <groupId>org.openjfx</groupId> <artifactId>javafx-maven-plugin</artifactId> <version>0.0.4</version> <configuration> <mainClass>Main</mainClass> <executable>/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.2.jdk/Contents/Home/bin</executable> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler