尝试运行 Grails Jasper 插件演示页面中的任何演示报告时出现错误。我想我缺少一些配置,但插件文档没有提供更多细节。
Error 500: Internal Server Error
URI
/testGrailsProject01/jasper/
Class
java.lang.Exception
Message
No such report spec: /reports\sample-jasper-plugin (jasper or .jrxml)
Around line 195 of PageFragmentCachingFilter.java
192: if (CollectionUtils.isEmpty(cacheOperations)) {
193: log.debug("No cacheable annotation found for {}:{} {}",
194: new Object[] { request.getMethod(), request.getRequestURI(), getContext() });
195: chain.doFilter(request, response);
196: return;
197: }
198:
Around line 63 of AbstractFilter.java
60: try {
61: // NO_FILTER set for RequestDispatcher forwards to avoid double gzipping
62: if (filterNotDisabled(request)) {
63: doFilter(request, response, chain);
64: }
65: else {
66: chain.doFilter(req, res);
Trace
Line | Method
->> 195 | doFilter in PageFragmentCachingFilter.java
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 63 | doFilter in AbstractFilter.java
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread