WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/C:/Users/Sandeep%20Rawat/.m2/repository/org/springframework/spring-core/4.3.2.RELEASE/spring-core-4.3.2.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
WARNING: All illegal access operations will be denied in a future release
Asked
Active
Viewed 291 times
-2

Stephen C
- 698,415
- 94
- 811
- 1,216

Monika Rawat
- 13
- 1
- 7
-
What version of Spring are you using? – Stephen C Jul 19 '20 at 06:35
-
Spring version is 1.4.0.RELEASE – Monika Rawat Jul 19 '20 at 06:46
-
Duplication of https://stackoverflow.com/questions/46230413/jdk9-an-illegal-reflective-access-operation-has-occurred-org-python-core-pysys/46230678 – Thirumal Jul 19 '20 at 07:35
-
1According to https://spring.io/blog/2020/03/11/spring-tips-java-14-or-can-your-java-do-this: "[...] using Spring Boot 2.3 or later. [...] **Older versions of Spring Boot don’t yet support the Java 14 runtime.**" you should use Spring Boot 2.3. Spring Boot 1.4 does not support JDK 14. – Thomas Kläger Jul 19 '20 at 07:36
-
Yes, It's working fine now. Thanks @Thomas Klager – Monika Rawat Jul 19 '20 at 15:04
1 Answers
0
This could be an issue with your Java environment/version. Try uninstalling the JDK and installing the most recent edition.

Tanaki
- 2,575
- 6
- 30
- 41