grails - Spring Security插件,找不到属性

标签 grails plugins properties spring-security

我从Grails 2.2.1升级到2.2.2,但是现在当我运行时,无法找到spring security core插件的默认属性。您可以从此屏幕快照中看到找不到属性。

有想法该怎么解决这个吗?

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

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

关于grails - Spring Security插件,找不到属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17204260/

相关文章:

r - 创建有效前沿时的投资组合分析错误

iphone - 使用 XCode 4 找不到 iOS PhoneGap 1.0 插件

sql-server - 如何使用 T-SQL 或 sys View 获取 SQL Server 登录审核设置

grails - 一个 Grails 域类中的多个多对多关联

logging - 将日志输出发送到 grails 1.3.2 中的不同文件

api - Windows Live Mesh 提供程序设置同步;我可以添加对我的软件的支持吗?

java - Gradle 动态填充 .properties-文件

grails - Grails 是否使用 isSomethingEnabled() 包围日志语句

javascript - Grails - 在脚本方法之后调用正文加载

java - 访问 Mule 流中的属性