SpringBoot系列1-环境配置

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ytuglt/article/details/83350449

一、maven配置

1. 打开目录maven setting文件

	D:\devinstall\apache-maven-3.5.4\conf\settings.xml

2.在profiles标签下,配置下面的内容

<profile>
	<id>jdk-1.8</id>
	<activation>
		<activeByDefault>true</activeByDefault>
		<jdk>1.8</jdk>
	</activation>
	<properties>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
		<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
	</properties> 
</profile>

二、IntelliJ IDEA 配置

在这里插入图片描述

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/ytuglt/article/details/83350449