Spring Security Plugin,找不到属性 [英] Spring Security Plugin, properties not found

查看:223
本文介绍了Spring Security Plugin,找不到属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Grails 2.2.1升级到2.2.2,但现在运行时,无法找到Spring Security Core插件的默认属性。您可以从此屏幕截图中看到未找到属性。

I upgraded from Grails 2.2.1 to 2.2.2, but now when I run, the default properties for the spring security core plugin cannot be found. You can see from this screen shot that the properties aren't being found.

关于如何解决这个问题的任何想法?

Any ideas on how to fix this?

我按照Burt的建议升级到grails 2.2.3版本。但是,现在我得到以下内容:

I upgraded to version 2.2.3 of grails as Burt suggested. However, now I get the following:

Configuring Spring Security Core ...
... finished configuring Spring Security Core
| Server running. Browse to http://localhost:8080/movies
| Error 2013-06-25 06:06:11,580 [http-bio-8080-exec-6] ERROR [/movies].[gsp]  - Servlet.service() for servlet [gsp] in context with path [/movies] threw exception
Message: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
    Line | Method
->> 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    615 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread
| Error 2013-06-25 06:06:12,885 [http-bio-8080-exec-2] ERROR [/movies].[default]  - Servlet.service() for servlet [default] in context with path [/movies] threw exception
Message: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
    Line | Method
->> 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    615 | run       in java.util.concurrent.ThreadPoolExecutor$Worker
^    722 | run . . . in java.lang.Thread
Disconnected from the target VM, address: '127.0.0.1:64820', transport: 'socket'

Process finished with exit code 255


推荐答案

您在Grails 2.2.2中看到了一个错误,但它已修复2.2.3本周将发布。请参阅 http://jira.grails.org/browse/GRAILS-10058

You're seeing a bug in Grails 2.2.2, but it's fixed in 2.2.3 which will be released this week. See http://jira.grails.org/browse/GRAILS-10058

这篇关于Spring Security Plugin,找不到属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆