Integrate to Spring Boot with Spring Security
See original GitHub issueDo you ever try to integrate this to Spring Boot which included Spring Security,
I try to do this got exception as below:
[2017-03-08 22:20:21.129][http-nio-8080-exec-1][ERROR][o.a.c.c.C.[.[.[.[dispatcherServlet]] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.ClassCastException: org.springframework.web.servlet.mvc.ParameterizableViewController cannot be cast to org.springframework.web.method.HandlerMethod] with root cause
java.lang.ClassCastException: org.springframework.web.servlet.mvc.ParameterizableViewController cannot be cast to org.springframework.web.method.HandlerMethod
at com.linecorp.bot.spring.boot.interceptor.LineBotServerInterceptor.preHandle(LineBotServerInterceptor.java:49)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:958)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Getting Started | Securing a Web Application - Spring
Before you can apply security to a web application, you need a web application to secure. This section walks you through creating a...
Read more >Spring Security for Spring Boot Integration Tests | Baeldung
The seamless integration of Spring Boot with Spring Security makes it simple to test components that interact with a security layer.
Read more >Spring Boot-Security Simple Example - JavaInUse
Lets customize the security configuration by writing our own authorization and authentication.
Read more >Spring Boot - Securing Web Applications - Tutorialspoint
If a Spring Boot Security dependency is added on the classpath, Spring Boot application automatically requires the Basic Authentication for all HTTP ...
Read more >Secure a Spring Boot App With Spring Security and ... - DZone
Secure a Spring Boot App With Spring Security and PreAuthorize · Differentiate Between Spring Security's @PreAuthorize and HttpSecurity.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think that I missed the setting, thanks for your help!
You are welcome~