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] 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)refresh-dependencies 2)clean 3)compile 4)run-app

关于grails,应用程序成功运行后出现错误,我的项目上出现红色感叹号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18823536/

相关文章:

grails - 带有 grails 插件和 ProxyAwareMixedGrailsControllerHelper 的 Vaadin7

css - 在 Grails 3.2.8 中使用 CSS 不显示图像

grails - 不计算 Spock 集成测试交互

缺少 grails 4 groovy 的日期增强方法

mysql - 如何解决 grails 中的此 BuildConfig 错误

grails - Groovy 2.1-找不到directorySize方法

grails - 如何在Grails中一次保存所有收藏

grails - 如何在Grails中转换字节文件大小

jquery - 将多个表单中的字段提交到一个 Grails Controller

unit-testing - 为什么在单元测试中,域类的逻辑之前和之后会收到 “No such property”?