Resolving Classloader issues

O’Reilly have a good article on their OnJava.com site on resolving classloader issues – they cover both the more simple ClassNotFoundException, as well as the more confusing NoClassDefFoundError.

I don’t think I had come across NoClassDefFoundError in 8 years of working with Java, until the last year where I have been developing with IBM’s Websphere Studio Application Developer. It works with your projects as WAR, JAR and EAR files expanded to your filesystem anduns them like this within it’s Websphere test server environment. If you don’t have the correct JAR dependencies set between projects then you are guaranteed to see some NoClassDefFoundErrors…

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.