ricky129 opened a new issue, #6978:
URL: https://github.com/apache/netbeans/issues/6978

   ### Apache NetBeans version
   
   Apache NetBeans 20
   
   ### What happened
   
   Everytime I run a java maven project, I get this error:
   ```
   cd C:\Users\ricca\Documents\NetBeansProjects\mavenproject1; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-21" cmd /c "\"C:\\Program 
Files\\NetBeans-20\\netbeans\\java\\maven\\bin\\mvn.cmd\" -Dexec.vmArgs= 
\"-Dexec.args=${exec.vmArgs} -classpath %classpath ${exec.mainClass} 
${exec.appArgs}\" -Dexec.appArgs= 
-Dexec.mainClass=com.mycompany.mavenproject1.Mavenproject1 
\"-Dexec.executable=C:\\Program Files\\Java\\jdk-21\\bin\\java.exe\" 
\"-Dmaven.ext.class.path=C:\\Program 
Files\\NetBeans-20\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
--no-transfer-progress process-classes 
org.codehaus.mojo:exec-maven-plugin:3.1.0:exec"
   Scanning for projects...
   
   --------------------< com.mycompany:mavenproject1 >---------------------
   Building mavenproject1 1.0-SNAPSHOT
     from pom.xml
   --------------------------------[ jar ]---------------------------------
   
   --- resources:3.3.1:resources (default-resources) @ mavenproject1 ---
   skip non existing resourceDirectory 
C:\Users\ricca\Documents\NetBeansProjects\mavenproject1\src\main\resources
   
   --- compiler:3.11.0:compile (default-compile) @ mavenproject1 ---
   ------------------------------------------------------------------------
   BUILD FAILURE
   ------------------------------------------------------------------------
   Total time:  1.882 s
   Finished at: 2024-01-20T16:58:03+01:00
   ------------------------------------------------------------------------
   Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) 
on project mavenproject1: Error while storing the mojo status: 
C:\Users\ricca\Documents\NetBeansProjects\mavenproject1\target\maven-status\maven-compiler-plugin\compile\default-compile\inputFiles.lst
 -> [Help 1]
   
   To see the full stack trace of the errors, re-run Maven with the -e switch.
   Re-run Maven using the -X switch to enable full debug logging.
   
   For more information about the errors and possible solutions, please read 
the following articles:
   [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   ```
   
   I already tried to reinstall netbeans multiple times, not resetting previous 
settings and plugins but nothing changes
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   I created a Java Maven Project in Netbeans and run it
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Edizione     Windows 11 Pro Versione 23H2 Data installazione:        
‎14/‎11/‎2023 Build sistema operativo   22631.3007 Esperienza   Windows Feature 
Experience Pack 1000.22681.1000.0
   
   ### JDK
   
   21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to