title: How to fix Unsupported class file major version 57 in maven for Java 13 and Spring
body: <p>I have this error</p>
  
  <p>How to fix it?</p>
  
  <pre><code>Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 57
  </code></pre>
  
  <p>I have such POM</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.1.5.RELEASE&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;properties&gt;
      &lt;java.version&gt;13&lt;/java.version&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>Project has many literals, so Java 13 is required.</p>