Grails Path Questions

5 views
Skip to first unread message

Brian Ivie

unread,
Jan 28, 2011, 10:09:52 AM1/28/11
to ug...@googlegroups.com
When I try to bring up the site in development mode after upgrading to 1.3.6 I get the following error:
(grails.app.controller.org.medhomeportal.site.SiteController):Page not found for /WEB-INF/grails-app/views/layouts/site.gsp

SiteController is my main controller, site.gsp is a layout GSP and does exist.  I think this has something to do with how paths are configured...

1.  When running in development mode is there a way to see the "Tomcat" side of things?  (What is the path to the Tomcat exploded war?)  Is it Tomcat or Jetty?

2.  Does this path look correct for a layout?

Any suggestions would be greatly appreciated, even if it is to point out what to search for to find out the answers to these questions.

Thanks

Brian Ivie

Eric Berry

unread,
Jan 28, 2011, 11:55:04 AM1/28/11
to ug...@googlegroups.com
Did you try doing a clean first?

--
Utah Groovy & Grails Users Group
ug...@googlegroups.com
http://groups.google.com/group/uggug/
- All meeting times and places can be found here.
 
** Please prefix your subject with "[JOB]" if your message is about job opportunities.

Jeff scadden

unread,
Jan 28, 2011, 12:02:16 PM1/28/11
to ug...@googlegroups.com
What URL are your trying to access?
If you are accessing something like - http://localhost:8080/medhomeportal/site, then the following file structure would be:
controllers
    - SiteController

views
    - site
        - index.gsp or list.gsp (depending on your action in the SiteController
    - layouts
        - site.gsp (Layout used for your other views - Other views may specify this layout by adding the following tag in the header of the view "<meta name='layout' content='site' />"

On Fri, Jan 28, 2011 at 8:09 AM, Brian Ivie <bria...@gmail.com> wrote:

--
Reply all
Reply to author
Forward
0 new messages