-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Startup exception when using Spring Security #2045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This, I think, is the root cause of the problem:
Can you give us some more info about your project's dependencies please? Perhaps the output from |
org.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity is present in classpath and is properly resolved by IDE (it's in Spring Security lib) but org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter is not in classpath, after adding it application starts up now |
Thanks, that helps a little. The output of |
There are a few things that don't add up here:
@YannCebron, if you'd like us to investigate further, please provide the requested information about your application's dependencies or, even better, a sample project that reproduces the failure you're experiencing. |
Uploaded fully self-contained IntelliJ IDEA Project here, see /lib for all used libraries |
Your application class, |
point taken IMHO SB should deny to attempt loading such setups |
It's Spring Framework that processes |
Spring Boot 2014-12-02
Spring Security 3.2.5
Spring 4.1.2
application.properties:
config:
plain main-class with
@SpringBootApplication
exception:
The text was updated successfully, but these errors were encountered: