我是靠谱客的博主 拼搏啤酒,这篇文章主要介绍org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.util.Ar,现在分享给大家,希望可以做个参考。

org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.util.ArrayList<?> to type java.util.List<org.springframework.core.io.Resource> for value '[/json/]'; nested exception is org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type java.util.ArrayList<?> to type org.springframework.core.io.Resource

解决:

springMVC配置文件中  通过写路径)加载静态资源的方式     改为     <mvc: default-servlet-handler/>。

            如图,注释掉下方的加载静态资源

最后

以上就是拼搏啤酒最近收集整理的关于org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.util.Ar的全部内容,更多相关org.springframework.core.convert.ConversionFailedException:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(38)

评论列表共有 0 条评论

立即
投稿
返回
顶部