title: Spring boot - An illegal reflective access operation has occurred
body: <p>I added new two dependencies to my demo application which are spring integration and spring integration file. After that I get the following warning in my console. Application works fine but it bothers me.</p>
  <p>How can I overcome this issue?</p>
  <pre><code>WARNING: Illegal reflective access by org.springframework.util.ReflectionUtils (file:/C:/Users/TECH%20WORLD/.m2/repository/org/springframework/spring-core/5.3.7/spring-core-5.3.7.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/5BJku.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5BJku.png" alt="enter image description here" /></a></p>
  <p>My project's SDK is version 15.0.2</p>
  <p><strong>Spring boot version</strong></p>
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;2.5.0&lt;/version&gt;
      &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
  &lt;/parent&gt;
  </code></pre>
  <p><strong>Added dependencies</strong></p>
  <pre><code>&lt;!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-core --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.integration&lt;/groupId&gt;
      &lt;artifactId&gt;spring-integration-core&lt;/artifactId&gt;
      &lt;version&gt;5.5.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- https://mvnrepository.com/artifact/org.springframework.integration/spring-integration-file --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.springframework.integration&lt;/groupId&gt;
      &lt;artifactId&gt;spring-integration-file&lt;/artifactId&gt;
      &lt;version&gt;5.5.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>