I have just rebuilt an old project and re-linked new libraries. I am getting an error, which indicates that NiftyJmeDisplay attempts to call the function “ResourceLoader” - of course there is no such function but instead “NiftyResourceLoader”. I thought I’ve cleaned up all old libraries from everywhere (and ensured that roaming libraries have been deleted and all global libraries point to jmonkeyplatform/lib). Here is the error:
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.NoClassDefFoundError: de/lessvoid/nifty/tools/resourceloader/ResourceLoader
at com.jme3.niftygui.NiftyJmeDisplay.(NiftyJmeDisplay.java:101)
at com.aristoberry.fpa.Statue.simpleInitApp(Statue.java:144)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:230)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:129)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:205)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: de.lessvoid.nifty.tools.resourceloader.ResourceLoader
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 6 more
14/05/2012 8:13:37 PM com.jme3.renderer.lwjgl.LwjglRenderer cleanup