启动SpringBoot项目报错?报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

启动SpringBoot项目报错?报错

爱吃鱼的程序员 2020-06-06 09:26:26 180

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-04-30 17:24:49.049 ERROR [manage-backend,,,] 15816 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of method mailNotifier in de.codecentric.boot.admin.server.config.AdminServerNotifierAutoConfiguration$MailNotifierConfiguration required a bean of type 'de.codecentric.boot.admin.server.domain.entities.InstanceRepository' that could not be found.
    - Bean method 'instanceRepository' not loaded because @ConditionalOnBean (types: de.codecentric.boot.admin.server.config.AdminServerMarkerConfiguration$Marker; SearchStrategy: all) did not find any beans of type de.codecentric.boot.admin.server.config.AdminServerMarkerConfiguration$Marker


Action:

Consider revisiting the entries above or defining a bean of type 'de.codecentric.boot.admin.server.domain.entities.InstanceRepository' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:52072', transport: 'socket'

Process finished with exit code 1

Java
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-06-06 09:26:43
                        <p>缺少bean: de.codecentric.boot.admin.server.config.AdminServerMarkerConfiguration$Marker</p>
    
    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程