无法在 IntelliJ 上设置 TornadoFx 项目

问题描述

我在 IntelliJ IDEA 中安装了 TornadoFx 插件。然后我使用 SDK 15 设置了一个新的、干净的 tornadofx-maven-project

我添加到 pom.xml 的唯一内容 Reference

 <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-plugin -->
        <dependency>
            <groupId>org.openjfx</groupId>
            <artifactId>javafx-plugin</artifactId>
            <version>0.0.7</version>
        </dependency>

使用修改后的 pom.xml 我遇到了这个问题

Cannot resolve org.openjfx:javafx-plugin:0.0.7

如果我不修改文件,就会抛出这个问题:

Kotlin: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
    class tornadofx.UIComponent,unresolved supertypes: javafx.event.EventTarget
    class tornadofx.App,unresolved supertypes: javafx.application.Application

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)