grails,应用程序成功运行后出错,我的项目上有红色感叹号?

grails,应用程序成功运行后出错,我的项目上有红色感叹号?,grails,Grails,我是grails新手,在运行grails应用程序时遇到了一个问题。虽然它在我的应用程序中运行良好,但每次运行应用程序时都会看到错误,这让我很紧张。我的项目上还有红色感叹号,是什么 有人能告诉我怎么修吗 Error 2013-09-16 11:13:40,270 [http-bio-8333-exec-2] ERROR [/hubbub].[gsp] - Servlet.service() for servlet [gsp] in context with path [/hubbub] thr

我是grails新手,在运行grails应用程序时遇到了一个问题。虽然它在我的应用程序中运行良好,但每次运行应用程序时都会看到错误,这让我很紧张。我的项目上还有红色感叹号,是什么

有人能告诉我怎么修吗

 Error 2013-09-16 11:13:40,270 [http-bio-8333-exec-2] ERROR [/hubbub].[gsp]  - Servlet.service() for servlet [gsp] in context with path [/hubbub] threw exception
Message: It looks like you are missing some calls to the r:layoutResources tag. After rendering your page the following have not been rendered: [defer]
   Line | Method
->> 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   908 | run     in     ''
^   662 | run . . in java.lang.Thread

| Error 2013-09-16 11:13:49,467 [http-bio-8333-exec-8] ERROR [/hubbub].[default]  - Servlet.service() for servlet [default] in context with path [/hubbub] threw exception
Message: It looks like you are missing some calls to the r:layoutResources tag. After rendering your page the following have not been rendered: [defer]
   Line | Method
->> 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   908 | run     in     ''
^   662 | run . . in java.lang.Thread

Hibernate: select this_.id as id2_0_, this_.version as version2_0_, this_.date_created as date3_2_0_, this_.password as password2_0_, this_.profile_id as profile5_2_0_, this_.user_id as user6_2_0_ from user this_ limit ?
Hibernate: select count(*) as y0_ from user this_
| Error 2013-09-16 11:13:59,475 [http-bio-8333-exec-9] ERROR [/hubbub].[default]  - Servlet.service() for servlet [default] in context with path [/hubbub] threw exception
Message: It looks like you are missing some calls to the r:layoutResources tag. After rendering your page the following have not been rendered: [defer]
   Line | Method
->> 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|   908 | run     in     ''
^   662 | run . . in java.lang.Thread

在grails命令行上逐个运行上述4个命令1)刷新依赖项2)清除3)编译4)运行应用程序

只需删除view.gsp中的
to
类型标记,一切正常,
我最近自己解决了这类问题。

我尝试过,但没有成功。我试图在“窗口>显示视图>问题”中查看问题,我发现我的项目和我的工作区之间的版本不一样。我想我的项目图标上的红色感叹号就是这样。但是在运行我的应用程序后,我指定的earlies错误仍然存在。请尝试升级您的项目,对于升级,请通过我尝试升级我的项目,但错误仍然存在。这是错误。Groovy:编译器不匹配项目级别为:1.8工作区级别为2.0项目预期的Groovy编译器级别与工作区编译器级别不匹配。转到项目属性->Groovy编译器设置此项目的Groovy编译器级别转到首选项->Groovy->编译器->切换到1.8.6.xx单击此按钮。我希望你的问题会得到解决。