springboot环境准备

MAVEN设置:

给maven的settings.xml的profiles标签添加:

<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<tomcat.version>7.0.86</tomcat.version>
</properties>

</profile>

 

 

 

posted @ 2020-10-19 20:53  XA科研  阅读(163)  评论(0编辑  收藏  举报