Mac eclipse maven update project jdk版本号自动修改问题, eclipse 指定jdk版本

在pod.xml文件增加

<build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

猜你喜欢

转载自blog.csdn.net/dreamJuvenile/article/details/81141621