Girum.D
Girum.D

Reputation: 137

grails, error after the application has runned sussesfully, red exclamation mark on my project?

I'm new to grails, I'm having an issue when I run my grails application.The console displays errors that is shown below. Although it is working fine in my application it is getting on my nerves to see the errors every time I run the application. And also I have red exclamation mark on my project, what is it?

Can any one tell me how to fix it?

 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

Upvotes: 2

Views: 1655

Answers (2)

Wright
Wright

Reputation: 21

Just remove the <g:script/> to <script/> type tag in your view.gsp and all is well, I recently fixed that type of issue myself.

Upvotes: 0

Ramesh
Ramesh

Reputation: 416

Run mentioned 4 commands on your grails command line one by one 1)refresh-dependencies 2)clean 3)compile 4)run-app

Upvotes: 2

Related Questions