Mybatis学习中Maven
问题:初始化异常
资源过滤失败
"C:\Program Files\Java\jdk-15.0.1\bin\java.exe" -ea -Didea.test.cyclic.buffer.size=1048576 "-javaagent:D:\IntelliJ IDEA 2020.3\lib\idea_rt.jar=64074:D:\IntelliJ IDEA 2020.3\bin" -Dfile.encoding=UTF-8 -classpath "D:\IntelliJ IDEA 2020.3\lib\idea_rt.jar;D:\IntelliJ IDEA 2020.3\plugins\junit\lib\junit5-rt.jar;D:\IntelliJ IDEA 2020.3\plugins\junit\lib\junit-rt.jar;C:\Users\dell\Desktop\Mybatis-Study\mybatis-01\target\test-classes;C:\Users\dell\Desktop\Mybatis-Study\mybatis-01\target\classes;D:\Envirment\apache-maven-3.8.1\maven-repo\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;D:\Envirment\apache-maven-3.8.1\maven-repo\junit\junit\4.13\junit-4.13.jar;D:\Envirment\apache-maven-3.8.1\maven-repo\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;D:\Envirment\apache-maven-3.8.1\maven-repo\mysql\mysql-connector-java\8.0.22\mysql-connector-java-8.0.22.jar;D:\Envirment\apache-maven-3.8.1\maven-repo\com\google\protobuf\protobuf-java\3.11.4\protobuf-java-3.11.4.jar" com.intellij.rt.junit.JUnitStarter -ideVersion5 com.hnzj.dao.UserDaoTest,test01
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/D:/Envirment/apache-maven-3.8.1/maven-repo/org/mybatis/mybatis/3.4.6/mybatis-3.4.6.jar) to method java.lang.Class.checkPackageAccess(java.lang.SecurityManager,java.lang.ClassLoader,boolean)
WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
java.lang.ExceptionInInitializerError
at com.hnzj.dao.UserDaoTest.test01(UserDaoTest.java:15)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(D