Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
299 views
in Technique[技术] by (71.8m points)

java - Fail to set up TornadoFx project on IntelliJ

I installed the TornadoFx plugin in the IntelliJ IDEA. Then I setted up a new, clean tornadofx-maven-project with SDK 15.

The only thing I added to 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>

With the modified pom.xml I ran into this issue

Cannot resolve org.openjfx:javafx-plugin:0.0.7

If I don't modify the file this issue is been thrown:

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
question from:https://stackoverflow.com/questions/65640850/fail-to-set-up-tornadofx-project-on-intellij

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...