Why do I get java.lang.NoClassDefFoundError or java.lang.ClassNotFoundException when I run my code in VisualAge for Java? All the classes are there and it compiles fine.

Scott Stanchfield

NoClassDefFound and ClassNotFound errors are most likely caused by your VAJ runtime CLASSPATH not being properly set.
See the following FAQ entry for information on VAJ and classpath settings: How does VAJ handle compile time and runtime classpath?

 

See also

Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact