question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kotlin: Cannot access class 'javafx.scene.Node'. Check your module classpath for missing or conflicting dependencies

See original GitHub issue

Just 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:closed
  • Created 4 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
edvincommented, Aug 11, 2019

It sounds like you’re using Java 9 or later with TornadoFX 1, which only supports Java 8.

0reactions
SchweinchenFuntikcommented, Feb 23, 2021

append log-file (or console output) and example code? and settings build (maven - pom.xml, gradle - build.gradle[.kts])

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found