NoClassDefFoundError can often be resolved by correcting the classpath, but that is generally due to synching classes. Multiple jars or paths with multiple versions of a class, or multiple class loaders (which
servlet and
JEE engines often use) can also cause the error. So, anything that makes runtime classes different from the compilation environment can cause NoClassDefFoundError.