You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Netbeans 13 i tried: New project -> FXML JavaFX Maven Archetype (Gluon) -> Build with Dependencies:
run - OK!
Build:
Jar file execution: ERROR:
Double click in Windows environment does not run;
java -jar C:\Users\acima\Documents\NetBeansProjects\mavenproject1\target\mavenproject1.jar
no main manifest attribute, in C:\Users\acima\Documents\NetBeansProjects\mavenproject1\target\mavenproject1.jar
I noticed that BUILD Operation does not add the Main-Class to the MANIFEST.MF: which instead is present in the pom.xml file
Attach files:
POM.XML
MANIFEST.MF contained in META-INF of the .jar file
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Using Netbeans 13 i tried: New project -> FXML JavaFX Maven Archetype (Gluon) -> Build with Dependencies:
run - OK!
Build:
Jar file execution: ERROR:
Double click in Windows environment does not run;
java -jar C:\Users\acima\Documents\NetBeansProjects\mavenproject1\target\mavenproject1.jar
no main manifest attribute, in C:\Users\acima\Documents\NetBeansProjects\mavenproject1\target\mavenproject1.jar
I noticed that BUILD Operation does not add the Main-Class to the MANIFEST.MF: which instead is present in the pom.xml file
Attach files:
POM.XML
MANIFEST.MF contained in META-INF of the .jar file
POM.XML.txt
MANIFEST.MF.txt
Beta Was this translation helpful? Give feedback.
All reactions