Skip to main content
added 220 characters in body
Source Link
SJX
  • 1.2k
  • 1
  • 16
  • 18

With Spring 2.6.0 this helped in my case:

@EnableAutoConfiguration(exclude = { org.springframework.boot.autoconfigure.security.SecurityDataConfiguration.class }) 

And additional I had to remove the dependency in the pom.xml:

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> 

With Spring 2.6.0 this helped in my case:

@EnableAutoConfiguration(exclude = { org.springframework.boot.autoconfigure.security.SecurityDataConfiguration.class }) 

With Spring 2.6.0 this helped in my case:

@EnableAutoConfiguration(exclude = { org.springframework.boot.autoconfigure.security.SecurityDataConfiguration.class }) 

And additional I had to remove the dependency in the pom.xml:

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> 
Source Link
SJX
  • 1.2k
  • 1
  • 16
  • 18

With Spring 2.6.0 this helped in my case:

@EnableAutoConfiguration(exclude = { org.springframework.boot.autoconfigure.security.SecurityDataConfiguration.class })