次のセットアップ、grails 2.0.3、STS があり、コントローラーの 1 つでこれを実行しています。
render(['car': contactL] as JSON)
アプリケーションを実行すると、次のエラーが表示されます。
エラーについて読んだことがありますが、どの解決策もうまくいきませんでした。Grails ツール -> 依存関係の更新を使用してクリーニング、アップグレードを試みましたが、次のようになりました。
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
あなたは何を診断していますか?