PDA

View Full Version : ClassNotFoundException groovy.lang.GroovyObject?


wolverine
Apr 27th, 2006, 09:04 PM
Hi!

I'm using Tomcat 5.5 and spring-framework-2.0-m4. When I turn-on the debug level to ALL, the following messages are displayed:

2006-04-28 08:50:27,399 DEBUG [org.springframework.util.ClassUtils] - Class [groovy.lang.GroovyObject] or one of its dependencies is not present
java.lang.ClassNotFoundException: groovy.lang.GroovyObject
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1332)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1181)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
...

Is there something I have overlook? I'm not using any Groovy stuff here...

Please help, thank you!

manifoldronin
Apr 28th, 2006, 03:41 PM
Yes, this is something new in m4. It's perfectly normal. Spring is looking for any of the dynamic languages it supports. Just turn off debug level logging for org.springframework.util.ClassUtils.

I do think this particular piece of logging a little excessive. if you didn't change anything in your application except for just upgrading from 2.0m3 to m4, it can be somewhat shocking to see these big stack traces flying by. :)

Costin Leau
May 1st, 2006, 12:27 PM
Can you please raise an issue on jira? The logs can be prettified or made more explanatory for the final release. Thanks.