美文网首页
springmvc转springboot 报错 org.spr

springmvc转springboot 报错 org.spr

作者: IT男的假智慧 | 来源:发表于2019-05-28 15:08 被阅读0次

org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'converter' for bean class [com.alipay.api.internal.mapping.Converter] conflicts with existing, non-compatible bean definition of same name and class [com.fasterxml.jackson.databind.util.Converter]

springmvc转springboot 报错

报错如下

原因是因为扫描包的时候两个都是扫到两个包了冲突

在启动入口把扫描路径修改掉(最好是不用这个扫描路径)

修改之后 启动成功

相关文章

网友评论

      本文标题:springmvc转springboot 报错 org.spr

      本文链接:https://www.haomeiwen.com/subject/mmrdtctx.html