SpringBoot 入门(学习笔记2)

官网地址:https://projects.spring.io/spring-boot/

1、SpringBoot:J2EE一站式解决方案。SpringCloud:分布式整体解决方案。

2、微服务是一种架构风格。SpringBoot简化Spring应用开发,是整个Spring技术栈的整合。

1、开发环境

    1、jdk1.8         2、maven 3.5.3         3、ideaIU-2017.2     4、SpringBoot 2.0.1


2、maven 设置:

需要在 maven 中的 settings.xml 文件 profiles 标签中配置如下信息(D:\maven\apache-maven-3.5.3\conf):

   <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>

主要是告诉 maven 用jdk1.8运行项目

扫描二维码关注公众号,回复: 1575638 查看本文章


3、IDEA 设置:



感谢--尚硅谷


猜你喜欢

转载自blog.csdn.net/yufang131/article/details/80224436