JavaFX CSS Error ( Property Stylesheets does not exist )

后端 未结 4 1875
故里飘歌
故里飘歌 2021-01-04 23:23

I have just began building a JavaFX application in IntelliJ using the latest Java7 SDK.

I have built my interface using Oracle Scene Builder, everything runs and dis

4条回答
  •  隐瞒了意图╮
    2021-01-04 23:38

    I get this error when opening the Scene Builder.

    Installed jdk1.8, set it as my system's default (in /usr/lib/jvm/default-java) and modified my $PATH, none of which seemed to help.

    Then updated the Scene Builder from 1.1 to 2.0, linked the 1.1 binary to the 2.0 version (see this question) and finally set the new Scene Builder path in Netbeans -> tools -> options -> Java -> JavaFX, which resolved the issue. Updating the default jdk version may or may not have had something to do with it.

    The project itself used jdk1.8 already and I had no trouble running it; I only had issues opening them in the Scene Builder (got that error mentioned in the question title).

提交回复
热议问题