2013-06-20 40 views
0

我從Grails 2.2.1升級到2.2.2,但現在運行時,找不到Spring Security Core插件的默認屬性。您可以從此屏幕截圖中看到未找到屬性。 Default spring security login dialog.Spring Security Plugin,找不到屬性

有關如何解決此問題的任何想法?

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 

回答

相關問題