При выполнении приложения я получаю сообщение об ошибке ниже. В нем говорится, что для создания bean-компонента типа HttpSecurity: «Рассмотрите возможность определения bean-компонента типа org.springframework.security.config.annotation.web.builders.HttpSecurity в вашей конфигурации».
Пожалуйста, дайте мне знать, если мне нужно предоставить какие-либо другие подробности.
ошибка
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method managementSecurityFilterChain in org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration required a bean of type 'org.springframework.security.config.annotation.web.builders.HttpSecurity' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.security.config.annotation.web.builders.HttpSecurity' in your configuration.
pom.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
org.springframework.boot
spring-boot-starter-parent
3.0.6
Подробнее здесь: https://stackoverflow.com/questions/766 ... config-ann