findOne的时候报错

来源:4-1 买家类目-dao(上)

Huston

2017-11-13

在数据库中有数据的情况下,报如下错误:

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/Users/huston/.m2/repository/org/springframework/spring-core/4.3.12.RELEASE/spring-core-4.3.12.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)

WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations


写回答

1回答

廖师兄

2017-11-14

maven版本用的和我说的不一致吧

https://stackoverflow.com/questions/44388593/maven-3-5-issue-with-jdk-9

0
0

Spring Boot双版本(1.5/2.1) 打造企业级微信点餐系统

从0到1开发中小型企业级Java应用,并学会迭代重构技巧

6418 学习 · 5257 问题

查看课程