1
回答
spring-boot项目启动抛这个错,网上貌似没有同类型的错误
华为云4核8G,高性能云服务器,免费试用   

 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'envInfoContributor' defined in class path resource [org/springframework/boot/actuate/autoconfigure/InfoContributorAutoConfiguration.class]: Unsatisfied dependency expressed through method 'envInfoContributor' parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.core.env.ConfigurableEnvironment' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

<无标签>
举报
娄宇
发帖于11个月前 1回/98阅
顶部