deploy de grails 1.3.7 no tomcat7
13/02/2013 12:11
SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
... 5 more
Caused by: groovy.lang.MissingMethodException: No signature of method: static gerdoc.Documento.withCriteria() is applicable for argument types: (gerdoc.DocumentoController$__clinit__closure6) values: [gerdoc.DocumentoController$__clinit__closure6@41c80e]
at gerdoc.DocumentoController.<clinit>(DocumentoController.groovy:13)
... 7 more
def static lista = Documento.withCriteria{
projections{
property('texto')
}
}
Para se registrar, clique aqui.