我有一个使用 grails 日历插件的 groovy 应用程序 grails calendar plugin . 到目前为止,我使用的日历版本 1.1.1 在 IE 下有一些错误。 我已经升级到版本 1.2.0-SNAPSHOT3 但现在我得到了这个异常,因此 我不得不降级到我以前的版本。
任何提示如何解决这个问题?
提前致谢,路易斯
Error500:Error processing GroovyPageView: Error executing tag <g:form>: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <calendar:datePicker>: groovy.lang.MissingMethodException: No signature of method: java.util.GregorianCalendar.setTime() is applicable for argument types: (java.lang.String) values: [Thu Oct 08 11:38:42 CEST 2009]
Servlet: grails
URI: /smtool/grails/billingAccounting/show.dispatch
Exception Message: No signature of method: java.util.GregorianCalendar.setTime() is applicable for argument types: (java.lang.String) values: [Thu Oct 08 11:38:42 CEST 2009]
Caused by: Error processing GroovyPageView: Error executing tag <g:form>: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <calendar:datePicker>: groovy.lang.MissingMethodException: No signature of method: java.util.GregorianCalendar.setTime() is applicable for argument types: (java.lang.String) values: [Thu Oct 08 11:38:42 CEST 2009]
Class: GrailsAuthenticationProcessingFilter
最佳答案
很难说,但程序似乎将错误类型的值传递给了 java.util.GregorianCalendar.setTime() 函数。您应该尝试在源代码中找到调用该函数的位置。它将提供更多信息。
关于Grails 日历插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2094063/