这个问题可能是由于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中的某些自动配置,可能会解决该错误。

springboot304 Error processing condition on orgspringframeworkbootautoconfigurecontextPropertyPlaceholderAuto错误解决方法

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

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