当前位置:   article > 正文

FileNotFoundException: class path resource [mybatis-config.xml] cannot be opened because it does not_ption is java.io.filenotfoundexception: class path

ption is java.io.filenotfoundexception: class path resource [mybatis-config.

nested exception is java.io.FileNotFoundException: class path resource [mybatis-config.xml] cannot be opened because it does not exist??
为什么报文件找不到,明明在Maven项目中的resources里面的存放着啊??
这时候发现Idea中Maven项目编译后的target/classes文件夹中确实没有mybatis-config.xml.

这时我发现在Maven项目右击,选Maven,选Reimport就行了。
??
为什么我的Maven项目名称右击,却没有Maven选项呢,?算了就在Pom.xml上右击吧,这里有reimport,然后也行。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/898685
推荐阅读
相关标签
  

闽ICP备14008679号