Kotlin: Cannot access class 'javafx.scene.Node'. Check your module classpath for missing or conflicting dependencies
See original GitHub issueJust trying this out as a beginner and get this error.
Kotlin: Cannot access class 'javafx.scene.Node'. Check your module classpath for missing or conflicting dependencies
Here is my code
import tornadofx.*
class HelloWorld : View(){
override val root = vbox {
}
}
fun main(args: Array<String>) {
println("Hello, World")
}
The compile error is on the View()
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
java - Check your module classpath for missing or conflicting ...
Open the project structure window (ctrl + shift + alt +s) and select the java version you created your project with.
Read more >MPP: "Cannot access class. Check your module classpath for ...
MPP: "Cannot access class. Check your module classpath for missing or conflicting dependencies" for calling Java method referring common class [IDEA won't build ......
Read more >Introduction to TornadoFX | Baeldung on Kotlin
In this tutorial, we'll have a look at what TornadoFX is and how we can set it up on Oracle JDK and OpenJDK....
Read more >The jOOQ Release Note History
jOOQ 3.14: The last release with Java 8 support in the jOOQ Open Source Edition ... log a WARNING message if it cannot...
Read more >3. Components · TornadoFX Guide - edvin
While the Stage , and Scene are used by TornadoFX, the View , Controller , and ... It does in fact extend JavaFX...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It sounds like you’re using Java 9 or later with TornadoFX 1, which only supports Java 8.
append log-file (or console output) and example code? and settings build (maven -
pom.xml
, gradle -build.gradle[.kts]
)