SpringBoot入门(一)

1。新建maven工程

2.添加Maven依赖


 <!-- 继承父包 -->
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.1.3.RELEASE</version>
        <relativePath></relativePath>
    </parent>

<!-- spring-boot的web启动的jar包 -->
    
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
</dependency>

猜你喜欢

转载自blog.csdn.net/qq_14955245/article/details/80788050