ClassNotFoundException error

0

Good afternoon, what does the following error mean?

Class not found stancedriver.StanceDriver
java.lang.ClassNotFoundException: stancedriver.StanceDriver
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:688)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:421)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

I'm not trying to do it remotely and the error persists

    
asked by anonymous 09.06.2017 / 21:59

1 answer

-3

Good afternoon, Friend,

In this post I explain what this exception means and also the difference between NoClassDefFoundError and ClassNotFoundException. Go there: link [] 's

According to Gabriel's guidance, the explanation is as follows:

  

ClassNotFoundException, happens normally when you use reflection.   If there is a code that loads a class using Class.forName () or   Class.class.getClassLoader (). LoadClass () and the class does not exist in   classpath, the error is thrown. In this case, the requested class, not   need to have been compiled together with the class that   reference.

More detail see: link

    
09.06.2017 / 22:03