You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/10/02 01:57:08 UTC
[GitHub] [netbeans] TimHofheins opened a new issue, #4718: Getting error "One of Run/Debug/Profile Project actions has been modified and the Run panel cannot be safely edited"
TimHofheins opened a new issue, #4718:
URL: https://github.com/apache/netbeans/issues/4718
### Apache NetBeans version
Apache NetBeans 15
### What happened
I am running the FXML JavaFX Maven Archetype (Gluon) example project. It runs successfully under Netbeans. But when I do a Clean and Build on the project and run: java -jar mavenproject1-1.0-SNAPSHOT.jar I get the error "no main manifest attribute, in mavenproject1-1.0-SNAPSHOT.jar".
If I look at the mavenproject1 properties under the Run Category this error is displayed: "One of Run/Debug/Profile Project actions has been modified and the Run panel cannot be safely edited".
### How to reproduce
1. Run Netbeans 15.
2. Click on File->New Project.
3. Pick the Java with Maven Category.
4. Pick the FXML JavaFX Maven Archetype (Gluon) Project.
5. Accept the defaults.
6. Click on the mavenproject1 Project.
7. Click on Run->Clean and Build Project (mavenproject1).
8. Excecute a command processor (CMD).
9. cd to path that is displayed from the Output - Build (mavenproject1) window.
For example C:\Users\Owner\.m2\repository\com\mycompany\mavenproject1\1.0-SNAPSHOT
10. Run java -jar mavenproject1-1.0-SNAPSHOT.jar
It displays the error "no main manifest attribute, in mavenproject1-1.0-SNAPSHOT.jar.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows v10 with all patches installed.
### JDK
JDK 15
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
This problem occurs every time I try to run the jar file.
### Are you willing to submit a pull request?
Yes
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists