Closed sbglasius closed 10 years ago
I don't know if this is an issue I have introduced, or if Grails 2.3.3 is acting up, but I get this when I create a new project, run
grails kickstart
and then run
grails run-app
and browse the application:
Server running. Browse to http://localhost:8080/todo2 | Error 2013-12-03 08:42:06,278 [http-bio-8080-exec-6] ERROR [/todo2].[gsp] - Servlet.service() for servlet [gsp] in context with path [/todo2] threw exception Message: Error applying layout : kickstart Line | Method ->> 1145 | runWorker in /Users/sbg/projects/kursus/kursus_2013_11/demo/todo2/grails-app/views/layouts/kickstart.gsp
| 615 | run in '' ^ 724 | run . . . in '' Caused by GroovyPagesException: Error processing GroovyPageView: Template not found for name [/_menu/search] and path [/_menu/_search.gsp] ->> 527 | runWorker in /Users/sbg/projects/kursus/kursus_2013_11/demo/todo2/grails-app/views/layouts/kickstart.gsp
Caused by GrailsTagException: Template not found for name [/_menu/search] and path [/_menu/_search.gsp] ->> 27 | doCall in /Users/sbg/projects/kursus/kursus_2013_11/demo/todo2/grails-app/views/layouts/kickstart.gsp
If you uncomment the line 46 in the generated file grails-app/views/_menu/_menubar.gsp, then it works. The mentioned line contains the g:render for _search.gsp, which does not exist.
I think the problem is fixed now - search is part of the zip file and is used in a using project.
Just removed the artificial limitation of Grails 2.3.0 so that I can demo this with Grails 2.3.3