加载中...
加载中...
org.springframework.context.annotation.ConflictingBeanDefini

org.springframework.context.annotation.ConflictingBeanDefini 原创

报错

[ERROR] 2019-12-02 20:03:14,668 method:org.springframework.boot.SpringApplication.reportFailure(SpringApplication.java:771)
Application startup failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.example.springbootdemo.Application]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name

注释指定的bean名称重复了


一、SpringBootTest介绍SpringTest与JUnit等其他测试框架结合起来,提供了便捷高效的测试手段。而SpringBootTest是在SpringTest之上的再次封装,增加了切片测试,增强了mo
没有更多推荐了 [去首页]
image
文章
376
原创
293
转载
83
翻译
0
访问量
183411
喜欢
73
粉丝
5
码龄
7年
资源
3

文章目录

加载中...
0
0