dev@javaserverfaces.java.net

Re: Groovy setup issue

From: Ed Burns <edward.burns_at_oracle.com>
Date: Thu, 28 Jul 2011 18:32:57 -0700

>>>>> On Thu, 28 Jul 2011 12:19:53 -0500, Jon Baso <jr.baso_at_gmail.com> said:

JB> Good afternoon!
JB> Is there documentation somewhere as to how to setup Groovy with JSF? I
JB> installed the latest version of the groovy eclipse plugin, enabled the
JB> groovy nature, and started coding.

JB> I added the following to my web.xml

[...]

JB> When I start up tomcat I get the following error. I see groovy in my
JB> class/build path.
JB> Jul 28, 2011 12:06:38 PM com.sun.faces.config.AnnotationScanner
JB> processClassList
JB> SEVERE: Unable to load annotated class:
JB> com.xyz.offersworkbench.dao.delegate.OfferDetailDelegate, reason:
JB> java.lang.NoClassDefFoundError: groovy/lang/GroovyObject

JB> Any ideas?

Did you make sure groovy-all-1.6.9.jar is on the classpath? It's only
known to work with that particular jar.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/