开发者社区> 问答> 正文

启动SpringBoot项目报错?报错

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

展开
收起
爱吃鱼的程序员 2020-06-06 09:26:26 1060 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>缺少bean: de.codecentric.boot.admin.server.config.AdminServerMarkerConfiguration$Marker</p>
    
    2020-06-06 09:26:43
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
使用Spring.Initializr定制工程脚手架 立即下载
陈曦:使用Spring.Initializr定制工程脚手架 立即下载
Java Spring Boot开发实战系列课程(第17讲):Spring Boot 2.0实战Docker容器Linux 立即下载

相关实验场景

更多