Scanning for projects... ----------------------< com.coursework2:HyBrid04 >---------------------- Building HyBrid04 1.0-SNAPSHOT --------------------------------[ jar ]--------------------------------- >>> javafx-maven-plugin:0.0.4:run (default-cli) > process-classes @ HyBrid04 >>> --- maven-resources-plugin:2.6:resources (default-resources) @ HyBrid04 --- Using 'UTF-8' encoding to copy filtered resources. Copying 2 resources --- maven-compiler-plugin:3.13.0:compile (default-compile) @ HyBrid04 --- ************************************************************************************************************************************** * Required filename-based automodules detected: [gson-2.8.3.jar]. Please don't publish this project to a public artifact repository! * ************************************************************************************************************************************** Recompiling the module because of added or removed source files. Compiling 4 source files with javac [debug release 22 module-path] to target\classes module-info.java:[1,23] module name component hybrid04 should avoid terminal digits module-info.java:[1,11] module name component coursework2 should avoid terminal digits /C:/Users/MSI GE 75/OneDrive - Liverpool John Moores University/Documents/NetBeansProjects/HyBrid04/src/main/java/com/coursework2/hybrid04/HyBridController.java: C:\Users\MSI GE 75\OneDrive - Liverpool John Moores University\Documents\NetBeansProjects\HyBrid04\src\main\java\com\coursework2\hybrid04\HyBridController.java uses or overrides a deprecated API. /C:/Users/MSI GE 75/OneDrive - Liverpool John Moores University/Documents/NetBeansProjects/HyBrid04/src/main/java/com/coursework2/hybrid04/HyBridController.java: Recompile with -Xlint:deprecation for details. /C:/Users/MSI GE 75/OneDrive - Liverpool John Moores University/Documents/NetBeansProjects/HyBrid04/src/main/java/com/coursework2/hybrid04/HyBridController.java: C:\Users\MSI GE 75\OneDrive - Liverpool John Moores University\Documents\NetBeansProjects\HyBrid04\src\main\java\com\coursework2\hybrid04\HyBridController.java uses unchecked or unsafe operations. /C:/Users/MSI GE 75/OneDrive - Liverpool John Moores University/Documents/NetBeansProjects/HyBrid04/src/main/java/com/coursework2/hybrid04/HyBridController.java: Recompile with -Xlint:unchecked for details. <<< javafx-maven-plugin:0.0.4:run (default-cli) < process-classes @ HyBrid04 <<< --- javafx-maven-plugin:0.0.4:run (default-cli) @ HyBrid04 --- Can't extract module name from gson-parent-2.8.2.pom: Only outputDirectories and jars are accepted on the path Some dependencies encountered issues while attempting to be resolved as modules and will not be included in the classpath; you can change this behavior via the 'includePathExceptionsInClasspath' configuration parameter. Required filename-based automodules detected. Please don't publish this project to a public artifact repository! Error: Could not find or load main class com.coursework2.hybrid04.App in module com.coursework2.hybrid04 Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166) at org.openjfx.JavaFXBaseMojo.executeCommandLine (JavaFXBaseMojo.java:504) at org.openjfx.JavaFXBaseMojo.executeCommandLine (JavaFXBaseMojo.java:394) at org.openjfx.JavaFXRunMojo.execute (JavaFXRunMojo.java:100) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293) at org.apache.maven.cli.MavenCli.main (MavenCli.java:196) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.openjfx.JavaFXBaseMojo.executeCommandLine(JavaFXBaseMojo.java:504) at org.openjfx.JavaFXBaseMojo.executeCommandLine(JavaFXBaseMojo.java:394) at org.openjfx.JavaFXRunMojo.execute(JavaFXRunMojo.java:100) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:370) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:351) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:171) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:163) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:298) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:960) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293) at org.apache.maven.cli.MavenCli.main(MavenCli.java:196) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 5.189 s Finished at: 2024-12-07T18:14:06Z ------------------------------------------------------------------------ Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.4:run (default-cli) on project HyBrid04: Error: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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