NoClassDefFoundError: com/sun/javafx/scene/control/FocusableTextField

Issue #13 resolved
millen created an issue

Unfortunately, anytime I am trying to edit a record in TiwulFX-Demo using: - JDK 1.7 update 40 - the Demo just buit using (https://bitbucket.org/panemu/tiwulfx-demo.git)

I have very strange error in JavaFX internals:

java.lang.NoClassDefFoundError: com/sun/javafx/scene/control/FocusableTextField at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at javafx.scene.control.Control.loadClass(Control.java:115) at javafx.scene.control.Control.loadSkinClass(Control.java:1021) at javafx.scene.control.Control.access$500(Control.java:70) at ...

Same(*) problem can be reproduced with: - http://tiwulfx-panemu.rhcloud.com/tiwulfx-demo.jnlp - Java 7 (Java Plug-in 10.40.2.43 Using JRE version 1.7.0_40-b43 Java HotSpot(TM) Client VM)

(*) - actually JVM seemingly halts - even the Java Console does not respond.

Comments (1)

  1. Panemu Ind repo owner

    That problem is because FocusableTextField is no longer in JDK. Please use the latest TiwulFX library v.1.2-SNAPSHOT that you can download from

    https://oss.sonatype.org/content/repositories/snapshots/com/panemu/tiwulfx/1.2-SNAPSHOT/

    Or if you use maven:

                <dependency>
            <groupId>com.panemu</groupId>
            <artifactId>tiwulfx</artifactId>
            <version>1.2-SNAPSHOT</version>
        </dependency>
    

    That version is much more stable and have some new features (TypeAheadControl, TypeAheadColumn, DetachableTab etc).

  2. Log in to comment