Ошибка: рассмотрите возможность определения бокаJAVA

Программисты JAVA общаются здесь
Anonymous
Ошибка: рассмотрите возможность определения бока

Сообщение Anonymous »

Я получаю ниже ошибку при выполнении моего приложения. В нем говорится, что для создания боба типа httpsecurity «рассмотрите возможность определения боба типа 'org.springframework.security.config.annotation.web.builders.httpsecurity' в вашей конфигурации» < /p>
Позвольте мне знать, если мне нужно предоставить любые другие данные.***************************
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.

< /code>
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

Вернуться в «JAVA»