Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

run time error

  Asked By: Muaz    Date: Feb 17    Category: Java    Views: 1903
  

i am able to compile my program properly.But when i am running i am gtting the following error.


Exception in thread "main" java.lang.NoClassDefFoundError: Now (wrong name: date/Now)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

can anybody tell me, how to resolve this error.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Heru Chalthoum     Answered On: Feb 17

this error  may caused by several ways...
but maybe u should use a invalid class name or even
invalid word in u'r java  code...check u'r codes(where
u use a "Now" Word)

 
Didn't find what you were looking for? Find more on run time error Or get search suggestion and latest updates.




Tagged: