1
回答
spring-boot项目启动抛这个错,网上貌似没有同类型的错误
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   

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

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