Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/369.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Maven生成JavaFX项目_Java_Maven_Intellij Idea_Javafx - Fatal编程技术网

使用Maven生成JavaFX项目

使用Maven生成JavaFX项目,java,maven,intellij-idea,javafx,Java,Maven,Intellij Idea,Javafx,我正在尝试使用以下pom.xml在IntelliJ Idea中创建新的JavaFX Maven项目: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://m

我正在尝试使用以下pom.xml在IntelliJ Idea中创建新的JavaFX Maven项目:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>pl.edu.pg.eti.pcej</groupId>
    <artifactId>pl.edu.pg.eti.pcej.wi.clustermap</artifactId>
    <version>1.0-SNAPSHOT</version>


</project>

如何在IntelliJ中修复它

编辑:


我正在从archetype com.zenjava:javafx basic archetype//javafx basic archetype:2.0.1创建新项目。在项目创建向导中,有一个窗口顶部有“Maven home directory”输入字段。在此窗口中,您可以看到一个带有模板参数的表。在此处添加
organizationName
参数

[WARNING] Property organizationName is missing. Add -DorganizationName=someValue
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: Archetype com.zenjava:javafx-basic-archetype:2.0.1 is not configured
    [ERROR] Property organizationName is missing.
    [ERROR] -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    [ERROR] Maven execution terminated abnormally (exit code 1)