title: java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
body: <p>I am getting this exception  <code>java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7  and java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache</code>) when i run the spring boot application</p>
  <p>I am using below tools</p>
  <p><em><strong>STS 3.9.10 release <br/>
  Open JDK 14 64 bit <br/>
  Spring boot 2.2.5 <br/></strong></em></p>
  <p>It worked fine with oracle jdk but its failing to run with openjdk.  I am not using any groovy libs. This is maven based spring boot project.</p>