Mybatis学习中Maven问题

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
摘要由CSDN通过智能技术生成

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
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值