1
回答
spring-boot项目启动抛这个错,网上貌似没有同类型的错误
注册华为云得mate10,2.9折抢先购!>>>   

 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: {}

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