异常:
: Failed to
parse configuration class [.course01.Course01Application];
nested exception is
:Annotation-specified bean name ‘testController’ for bean class
[.course01.] conflicts with
existing, non-compatible bean definition of same name and class
[.]
情景:
项目新增一个类之后,项目就报错了。但出错比较容易找。
原因:
类重命名问题。然后对照我的项目中的注解,果然是新增的TestController类重名了。