Related: Cannot view exceptions thrown during Tomcat startup from Eclipse
I have Eclipse setup to force break on NoClassDefError exceptions. When I start tomcat through Eclipse and my web app is deployed, I get 5-6 forced breaks on this exception type, but literally nothing is output to catalina.out nor my log4j log file. I’ve tried several different log levels for log4j (error, warn, debug) but I can’t find any information about these exceptions occurring. In fact, the only reason I know they’re happening is because the Eclipse debugger is breaking on them.
Conceptually, I understand what the NoClassDefError exception is indicating, but I can’t obtain which class is failing to load because I can’t find the stack trace anywhere!
I never did figure this one out. I just ignored the exceptions and everything seems OK. When I get more time, I’ll dig deeper.