我有以下设置,grails 2.0.3,STS,我在我的一个控制器中这样做:
render(['car': contactL] as JSON)
当我运行应用程序时,我收到以下错误:
我已经阅读了有关该错误的信息,但没有一个解决方案对我有用,我尝试使用 Grails Tools -> Refresh dependencies 进行清理、升级,但它给了我:
grails> | Error Error running script null: Cannot invoke method trim() on null object (Use --stacktrace to see the full trace)
我的项目中也出现了这个错误:
The project was not built since its build path is incomplete. Cannot find the class file for groovy.lang.GroovyObject. Fix the build path then try building this project Ristretto Unknown Java Problem
你诊断什么?