问答详情
源自:2-4 文本邮件

java.lang.IllegalStateException: Found multiple @SpringBootConfiguration annotated classes ....运行时

???//

提问者:慕码人1399423 2019-06-27 00:21

个回答

  • 慕仙5174400
    2022-02-20 15:18:02

    我也是这样

    java.lang.IllegalStateException: Found multiple @SpringBootConfiguration annotated classes [Generic bean: class [com.neo.demo.HelloApplication]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [F:\QMDownload\mail\spring-mail\target\classes\com\neo\demo\HelloApplication.class], Generic bean: class [com.neo.demo.MailApplication]; scope=; abstract=false; lazyInit=null; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [F:\QMDownload\mail\spring-mail\target\classes\com\neo\demo\MailApplication.class]]


  • 闲心医师
    2019-09-20 13:30:38

    我也出现了跟你一样的错误

  • 乌云下的风
    2019-06-28 17:36:55

    能把代码跟错误信息描述的详细一些么