<java.version>1.8</java.version>
..<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
...
ver/ConfigServerApplication has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file
versions up to 52.0
.8.1:compile (default-compile) on project config-server: Fatal error compiling: invalid target release: 11
mvn clean spring-boot:run