加载时,控制台中的页面错误

时间:2017-09-20 08:00:42

标签: tomcat servlets grails

Servlet.service()for servlet [default] in context

| Error 2017-09-20 12:47:47,593 [http-bio-8080-exec-6] ERROR [/xxxx].

[grails-errorhandler]  - Servlet.service() for servlet grails-errorhandler threw exception
Message: Error applying layout : XXXX
    Line | Method
->> 1145 | runWorker in /grails-app/views/layouts/XXXX.gsp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    615 | run       in     ''
^    745 | run . . . in     ''
Caused by GroovyPagesException: Error processing GroovyPageView: could not initialize proxy - no Session
->>  167 | runWorker in /grails-app/views/layouts/XXXX.gsp
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Caused by LazyInitializationException: could not initialize proxy - no Session
->>  336 | doCall    in XXXXgrails_app_views_layouts_XXXX_main_gsp$_run_closure2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    681 | run       in XXXXgrails_app_views_layouts_XXXX_main_gsp
|   1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
|    615 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    745 | run . . . in java.lang.Thread
| Error 2017-09-20 12:47:47,600 [http-bio-8080-exec-6] ERROR [Tomcat].[localhost]  - Exception Processing ErrorPage[errorCode=404, location=/grails-errorhandler]

加载页面时,错误会反复显示在控制台中。 404错误页面存在且工作正常。有什么想法吗?

0 个答案:

没有答案
相关问题