ICode9

精准搜索请尝试: 精确搜索
首页 > 编程语言> 文章详细

Java框架--SpringBoot常用POS文件示例

2022-08-06 22:33:50  阅读:22  来源: 互联网

标签:Java SpringBoot 示例 spring boot springframework org starter


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.szl</groupId>
    <artifactId>sbt</artifactId>
    <version>1.0-SNAPSHOT</version>

    <!--父工程引入,为了规定统一版本,如果需要正式依赖,还是需要dependencies引入-->
    <parent>
        <artifactId>spring-boot-starter-parent</artifactId>
        <groupId>org.springframework.boot</groupId>
        <version>2.5.3</version>
    </parent>

    <dependencies>
        <!--引入启动环境-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <!--引入lombok-->
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>

        <!--引入配置文件处理器-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
        </dependency>

    </dependencies>


</project>

标签:Java,SpringBoot,示例,spring,boot,springframework,org,starter
来源: https://www.cnblogs.com/shaozelong/p/16558055.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有