-
Notifications
You must be signed in to change notification settings - Fork 41k
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
WebSecurityConfigurerAdapter ClassNotFoundException after upgrade to 1.2.0 #2124
Comments
Same problem here. Is there a workaround? |
I figured why Spring Boot 1.2.0 now requests Spring Security - my application.properties had setting for "management.port" and "management.address" that caused Actuator(?) to enable management endpoints which are secured by default in 1.2.0. |
@tleveque23 To satisfy dependency on Spring Security simply add <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency> But be prepared that this can make protected (that is require authentication) previously unprotected web endpoints. |
And if you put:
in your properties file, it works has before. |
|
Updated to use new @EnableZuulProxy configuration fixes gh-1
My Spring boot application is very simple restful web app. After upgrade to 1.2.0.RELEASE it fails to start (mvn spring-boot:run):
What would be quick fix to pom.xml to inlcude proper dependency? Thank you!
The text was updated successfully, but these errors were encountered: