Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在本地.m2没有javafx-maven-plugin时,IntelliJ IDEA无法找到maven-compiler-plugin插件 #302

Open
fangkun119 opened this issue Oct 13, 2020 · 0 comments

Comments

@fangkun119
Copy link

直接下载项目zip压缩包,用IntelliJ IDEA 2020.2从已有代码新建Maven项目
项目构建后,右侧Maven控件中

  1. Plugin列表中,显式javafx-maven-plugin错误
  2. 点击”Reload All Maven Projects",报错Cannot resolve plugin com.zenjava:javafx-maven-plugin:8.8.3
    解决办法
       <dependency>
            <groupId>com.zenjava</groupId>
            <artifactId>javafx-maven-plugin</artifactId>
            <version>8.8.3</version>
        </dependency>

添加到标签内
在Maven控件中clean,install,重新build项目,随后在Maven Plugin列表中可以看到jfx:jar

建议将

       <dependency>
            <groupId>com.zenjava</groupId>
            <artifactId>javafx-maven-plugin</artifactId>
            <version>8.8.3</version>
        </dependency>

也添加到pom.xml中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant