Problema com metodo list() e get(), somente em produção.
12/01/2012 04:08
Eae, tudo tranquilo?!
O probelma é quando gero o war e jogo no Tomcat da o seguinte erro:
Error 500: Executing action [list] of controller [fa7.carreiras.EmpresaController] caused exception: groovy.lang.MissingMethodException: No signature of method: static fa7.carreiras.Empresa.list() is applicable for argument types: (org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap) values: [[action:list, controller:empresa, max:10]] Possible solutions: is(java.lang.Object), wait(), wait(long), print(java.io.PrintWriter), with(groovy.lang.Closure), find(groovy.lang.Closure)
Servlet: grails
URI: /fa7-carreiras/grails/empresa/list.dispatch
Exception Message: No signature of method: static fa7.carreiras.Empresa.list() is applicable for argument types: (org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap) values: [[action:list, controller:empresa, max:10]] Possible solutions: is(java.lang.Object), wait(), wait(long), print(java.io.PrintWriter), with(groovy.lang.Closure), find(groovy.lang.Closure)
Caused by: No signature of method: static fa7.carreiras.Empresa.list() is applicable for argument types: (org.codehaus.groovy.grails.web.servlet.mvc.GrailsParameterMap) values: [[action:list, controller:empresa, max:10]] Possible solutions: is(java.lang.Object), wait(), wait(long), print(java.io.PrintWriter), with(groovy.lang.Closure), find(groovy.lang.Closure)
Class: EmpresaController
At Line: [19]
O projeto quando executado no localhost roda belezinha.
alguma luz?
Valeu,
José Júnior
Tags:
list e get problema no Tomcat