我将我的项目升级到 grails 2.0.1 但出现了问题:
问题:
Command terminated with an error code (see details for output)
------System.out:-----------
| Loading Grails 2.0.1
| Configuring classpath.
| Environment set to development.....
| Compiling 61 source files.
| Error Compilation error: startup failed:
/home/user/workspace/myProject/grails-app/controllers/myproject/WelcomeController.groovy:
-1: The return type of java.lang.Object wait() in myproject.WelcomeController
is incompatible with void wait() in java.lang.Object
. At [-1:-1] @ line -1, column -1.
1 error
------System.err:-----------
笔记:
i try right click --> Grails Tools -- >
(Download source jars / & / refresh dependencies / & / grails plugin manager)
on my project but problem didn't solve.
有什么帮助吗?