这个问题可能是由于 Spring Boot 版本不匹配导致的,可以尝试将 Spring Boot 版本降低到 3.0.3 或更低的版本,看看是否能够解决问题。

另外,还可以尝试在应用程序的配置文件中添加以下配置:

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration

这将排除 Spring Boot 中的某些自动配置,可能会解决该错误。

SpringBoot 3.0.4  'org.springframework.boot.autoconfigure.context.PropertyPlaceholderAuto' 错误解决方法

原文地址: https://www.cveoy.top/t/topic/mS8D 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录