Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH <hrh...@yahoo.com.invalid> wrote:

> I forgot to indicated, that I have already modified the
>  <configuration>
>                  <!--
> <mainClass>org.openjfx.mavenbasedlearningfx.App</mainClass>  -->
>
> <mainClass>org.me.learningfx.control.MavenFxBasicDemo</mainClass>
>  </configuration>
>
> in the pom.xml file.
>
> Thanks
>
>
> On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH
> <hrh...@yahoo.com.invalid> wrote:
>
>
> Hi,
>
> While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to
> run its pre-configured App.java, creating a new package with a new main
> class fails to compile with the following error. Any insights on which
> resources need to be modified?
>
> Thanks in advance.
>
> Error msg:
> Error: JavaFX runtime components are missing, and are required to run this
> application
> 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)
> ------
> Total time:  5.034 s
> Finished at: 2020-08-10T14:49:10+04:30
> ------------------------------------------------------------------------
> Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> (default-cli) on project Mavenbasedlearningfx: Command execution failed.:
> Process exited with an error: 1 (Exit value: 1) -> [Help 1]
>
>
>
>
>

Reply via email to