Junit library and junit 4 library must be defined

I downloaded the jme sdk. When I made a new project, i got an error :

"junit library (in BasicGame) must be defined.

"junit_4 library (in BasicGame) must be defined.

How do I resolve this?

Right click the project → properties → Libraries → Compile Tests, remove the junit libs there and you are good to go.

Suffered the same problems. That did it for me too, thanks.



But I must ask, why is this happening? What’s causing it / what is it affecting? And how can we prevent it from happening again?

It is just a little misstake in the BasicGame template. I think updating the SDK will resolve the problem, but idk.

http://hub.jmonkeyengine.org/2012/10/03/jmonkeyengine3-sdk-rc2-released/

Oh, well I forgot to mention, this problem started happening after I switched to RC2.

http://hub.jmonkeyengine.org/2012/10/03/jmonkeyengine3-sdk-rc2-released/