[Release version 5 is not supported] Error resolution

Description: The startup project reported the following error, and release version 5 is not supported.
Insert image description here

Solution: Add the following two lines of configuration to the pom file and modify it to the jdk version you installed yourself.

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

Guess you like

Origin blog.csdn.net/qq_42108331/article/details/132257066
Recommended