我正在从事Grails项目,该项目开始给我以下错误。错误是间歇性的。在最初的30分钟左右,没有问题。我正在处理相同的观点。任何想法是什么导致以下错误?我可以提供其他信息。
There was a problem retrieving the current
GrailsWebRequest.
This usually indicates a filter ordering issue
(the 'springSecurityFilterChain'
过滤器链配置
grails.controllers.upload.maxFileSize=5000000
grails.controllers.upload.maxRequestSize=5000000
// Added by the Spring Security Core plugin:
grails.plugin.springsecurity.userLookup.userDomainClassName = 'org.greenfield.Account'
grails.plugin.springsecurity.userLookup.authorityJoinClassName = 'org.greenfield.AccountRole'
grails.plugin.springsecurity.authority.className = 'org.greenfield.Role'
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
[pattern: '/', access: ['permitAll']],
[pattern: '/error', access: ['permitAll']],
[pattern: '/notFound', access: ['permitAll']],
[pattern: '/index', access: ['permitAll']],
[pattern: '/index.gsp', access: ['permitAll']],
[pattern: '/shutdown', access: ['permitAll']],
[pattern: '/assets/**', access: ['permitAll']],
[pattern: '/uploads/**', access: ['permitAll']],
[pattern: '/**/js/**', access: ['permitAll']],
[pattern: '/**/css/**', access: ['permitAll']],
[pattern: '/**/images/**', access: ['permitAll']],
[pattern: '/**/fonts/**', access: ['permitAll']],
[pattern: '/**/favicon.ico', access: ['permitAll']]
]
grails.plugin.springsecurity.filterChain.chainMap = [
[pattern: '/assets/**', filters: 'none'],
[pattern: '/**/js/**', filters: 'none'],
[pattern: '/**/css/**', filters: 'none'],
[pattern: '/**/images/**', filters: 'none'],
[pattern: '/**/fonts', filters: 'none'],
[pattern: '/**/favicon.ico', filters: 'none'],
[pattern: '/**', filters: 'JOINED_FILTERS']
]
grails.plugin.springsecurity.shiro.active = true
grails.plugin.springsecurity.logout.postOnly = false
grails.plugin.springsecurity.shiro.permissionDomainClassName = 'org.greenfield.Permission'