Perbaiki IntelliJ mengatur ulang versi java setiap kali Anda menambahkan ketergantungan

Add this to your pom.xml you can set to whatever java version you want in 
this example I used Java 14 as an example.

<properties>
    <maven.compiler.source>14</maven.compiler.source>
    <maven.compiler.target>14</maven.compiler.target>
</properties>

Alive Addax