Correct the classpath of your application so that it contains a single, compatible version of com.fasterxml.jackson.dataformat.xml.XmlMapper
解決:
改用其他版本,我沒寫版本號,springboot自己默認(rèn)的是 2.11.4 版本
成功啟動項目文章來源:http://www.zghlxwxcb.cn/news/detail-691552.html
能成功返回 xml 的響應(yīng)文章來源地址http://www.zghlxwxcb.cn/news/detail-691552.html
到了這里,關(guān)于04、添加 com.fasterxml.jackson.dataformat -- jackson-dataformat-xml 依賴報錯的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!