Howdy, >Looks like Struts has a dependency on Commons Logging which is using >Log4j under the hood. The commons logging jar is being loaded from a >"higher" level classloader (common/lib or server/lib) and can't access >classes only provided by a "lower" classloader (your webapp). > >Maybe try having the commons logging jar in your WEB-INF/lib.
Not a bad suggestion. Remember, you should always be able to have your webapp work if you all your jars are in WEB-INF/lib and no jars are elsewhere. >> ----- Root Cause ----- >> java.lang.NoClassDefFoundError: org/apache/log4j/Layout Note the difference between NoClassDefFoundError and ClassNotFoundException. The classloader found a log4j jar, but it does not contain the Layout class. List the contents of your WEB-INF/lib. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
