daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [visof@myhost java]$ java Test.java
  2. Exception in thread "main" java.lang.NoClassDefFoundError: Test/java
  3. Caused by: java.lang.ClassNotFoundException: Test.java
  4.     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  5.     at java.security.AccessController.doPrivileged(Native Method)
  6.     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  7.     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  8.     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  9.     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
  10. Could not find the main class: Test.java.  Program will exit.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top