java.lang.ExceptionInInitializerError mybatis初始化错误
Posted 漫步花海下的oldman
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java.lang.ExceptionInInitializerError mybatis初始化错误相关的知识,希望对你有一定的参考价值。
解决方法:在项目或者模块的maven配置文件pom.xml中配置
<build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>true</filtering> </resource> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>true</filtering> </resource> </resources> </build>
以上是关于java.lang.ExceptionInInitializerError mybatis初始化错误的主要内容,如果未能解决你的问题,请参考以下文章