java.lang.NoClassDefFoundError: de/lessvoid/nifty/input/mouse/MouseInputEvent

I wanted the Nifty sources so I downloaded all the JAR’s from their site.

de.lessvoid.nifty.input.mouse.MouseInputEvent isn’t in there. Anyone know why nifty 1.3 from jMonkey has this class but nifty 1.3 from nifty doesn’t?


Because this class was removed from Nifty 4 months ago according to that commit;a=commit;h=9e0d4535e5b893c5528ae8dca5911e55cb7c1c5d

You seem to have a old nifty-1.3-SNAPSHOT.jar somewhere in your classpath …

Yeah, from the jMonkey platform…

java.lang.NoClassDefFoundError: de/lessvoid/nifty/input/mouse/MouseInputEvent

at com.jme3.niftygui.InputSystemJme.onMouseMotionEventQueued(

at com.jme3.niftygui.InputSystemJme.forwardEvents(

at de.lessvoid.nifty.Nifty.update(

at com.jme3.niftygui.InputSystemJme.endInput(

at com.jme3.input.InputManager.processQueue(

at com.jme3.input.InputManager.update(


at web.mcmasters.jmonkey.Game.update(

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(


at Source)

In any case, nifty 1.3 from nifty doesn’t have this class, but in the nifty 1.3 in jmonkey it exists.

No, its only in the *-SNAPSHOT.jar files, not in the current svn.

So instead of using the jars under jmonkeyplatform/libs that the alpha 4 SDK installed, I should use the jars under and check out to build jmonkey?

No, in the latest svn version the libraries are the “final” 1.3 libs, so you just need to update to nightly. When alpha-4 came out they were not available yet, so it has the snapshots.

I’m not sure I understand exactly. You can develop against stock alpha 4 or you can develop against the nightlies. If you develop against stock alpha 4 then you will be developing against 3 month old code and libraries… so some things will have changed since then.

I understand that… I tried the nightlies once and had other problems.

How far off is the beta?

visible on the horizon