Junit works when compiling in command line on Linux but not in eclipse kepler.
I'm using maven, jboss and spring. When I run the program it says 'launching classname' has encountered a problem, an internal error occurred during: "Launching classname".
Details: An internal error occurred during: "Launching classname", java.lang.NullPointerException
.
If you're running maven, you can close out eclipse, open a command prompt and run:
I tried this before posing this question with eclipse open in the background; make sure it is closed! Also I deleted my workspace and restored said workspace but that's probably irrelevant. Sidenote: the solution posed by aryaxt didn't work for me. Hope it works for you!