java.lang.ClassNotFound and ClassNotDefFoundError are different but .. Print E-mail
User Rating: / 1
PoorBest 
Tuesday, 31 August 2004 22:44

 java.lang.ClassNotFound and ClassNotDefFoundError are different but what if my classes are in classpath?

 Remember:

  • ClassNotDefFoundError is thrown if a class definition of the hierarchy is not located by the classloader
  • ClassNotFound if the file or class can not be found in classpath. Remember only some servletrunner can open jar files, so having jar files in a directory without having them explicitely in classpath do not help much. You must have the name of jar file in CPath.

Tags See All Tags Add New Tag...

Please Enter New Tags Separated By Comma's
  Or Close

classpath  definition  java 
Powered By Joomla Tags

Comments
Add New Search RSS
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:):grin;)8):p:roll:eek:upset:zzz:sigh:?:cry
:(:x
Please input the anti-spam code that you can read in the image.

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 


Another articles:

Powered By relatedArticle

Content View Hits : 3452652

Enter Amount: