Note that there are some explanatory texts on larger screens.

plurals
  1. POJavaFX2.0 + Maven + Netbeans + mojo
    primarykey
    data
    text
    <p>I am creating a javaFX2.0 project with netbeans 7.4 and maven. But I'm not really good with maven. So when I run my project I have an error about mojo. I don't know how to solve this.</p> <p>my pom.xml</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; </code></pre> <p>http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0</p> <pre><code>&lt;groupId&gt;com.drive&lt;/groupId&gt; &lt;artifactId&gt;Superviseur&lt;/artifactId&gt; &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt; &lt;packaging&gt;jar&lt;/packaging&gt; &lt;name&gt;Superviseur&lt;/name&gt; &lt;properties&gt; &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt; &lt;mainClass&gt;com.drive.superviseur.MainApp&lt;/mainClass&gt; &lt;/properties&gt; &lt;organization&gt; &lt;!-- Used as the 'Vendor' for JNLP generation --&gt; &lt;name&gt;Your Organisation&lt;/name&gt; &lt;/organization&gt; &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;2.6&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;unpack-dependencies&lt;/id&gt; &lt;phase&gt;package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;unpack-dependencies&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;excludeScope&gt;system&lt;/excludeScope&gt; &lt;excludeGroupIds&gt;junit,org.mockito,org.hamcrest&lt;/excludeGroupIds&gt; &lt;outputDirectory&gt;${project.build.directory}/classes&lt;/outputDirectory&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt; &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt; &lt;version&gt;1.2.1&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;unpack-dependencies&lt;/id&gt; &lt;phase&gt;package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;exec&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;executable&gt;${java.home}/../bin/javafxpackager&lt;/executable&gt; &lt;arguments&gt; &lt;argument&gt;-createjar&lt;/argument&gt; &lt;argument&gt;-nocss2bin&lt;/argument&gt; &lt;argument&gt;-appclass&lt;/argument&gt; &lt;argument&gt;${mainClass}&lt;/argument&gt; &lt;argument&gt;-srcdir&lt;/argument&gt; &lt;argument&gt;${project.build.directory}/classes&lt;/argument&gt; &lt;argument&gt;-outdir&lt;/argument&gt; &lt;argument&gt;${project.build.directory}&lt;/argument&gt; &lt;argument&gt;-outfile&lt;/argument&gt; &lt;argument&gt;${project.build.finalName}.jar&lt;/argument&gt; &lt;/arguments&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt; &lt;version&gt;3.1&lt;/version&gt; &lt;configuration&gt; &lt;source&gt;1.7&lt;/source&gt; &lt;target&gt;1.7&lt;/target&gt; &lt;compilerArguments&gt; &lt;bootclasspath&gt;${sun.boot.class.path}${path.separator}${java.home}/lib/jfxrt.jar&lt;/bootclasspath&gt; &lt;/compilerArguments&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; </code></pre> <p></p> <p>and the error:</p> <blockquote> <p>Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project Superviseur: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]</p> </blockquote> <p>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.</p> <p>For more information about the errors and possible solutions, please read the following articles: [Help 1] <a href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" rel="nofollow">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a></p> <p>Any Ideas? Thx</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload