Java class loader

This is an old revision of this page, as edited by Serpent's Choice (talk | contribs) at 08:17, 13 November 2006 (Prodding). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

JAR Hell usually occurs when a class file located in a JAR file can not be found or an older version from another JAR file is loaded. Common causes are wrong packaging of the application, wrong configuration of the classpath(s), lack of understanding of the java class loading model, assuming that an application will be the only one running on a server and faulty design.

Its usually worsened by the tendency to add even more JAR files to different directories in the hope of resolving a ClassNotFoundException or a NoClassDefFoundError.



http://krysalis.org/version/jar-hell.html http://www.jcp.org/en/jsr/detail?id=277