前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >异常解决-java.io.FileNotFoundException

异常解决-java.io.FileNotFoundException

作者头像
无敌小菜鸟
发布2020-05-09 15:21:17
1.3K0
发布2020-05-09 15:21:17
举报
文章被收录于专栏:搬砖笔记搬砖笔记

异常解决-java.io.FileNotFoundException

代码语言:javascript
复制
DEBUG [main] - Could not retrieve resources for pattern 'classpath: mapper/*Mapper.xml'
java.io.FileNotFoundException: class path resource [ mapper/] cannot be resolved to URL because it does not exist
    at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:187)
    at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:493)
    at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:294)
    at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1297)
    at org.springframework.core.io.support.ResourceArrayPropertyEditor.setValue(ResourceArrayPropertyEditor.java:135)
    at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:407)
    at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:200)
    at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:588)
    at org.springframework.beans.AbstractNestablePropertyAccessor.convertForProperty(AbstractNestablePropertyAccessor.java:615)
    at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:216)
请输入图片描述
请输入图片描述

解决办法

请输入图片描述
请输入图片描述
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2019-11-20,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档