第一个spring程序

6.1.spring中pom.xml的配置

spring官方文档在这个链接https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html

<dependencies>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>5.2.6.RELEASE</version>
    </dependency>

    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>1.18.12</version>
        <scope>provided</scope>
    </dependency>

    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.11</version>
        <scope>test</scope>
    </dependency>

</dependencies>

<repositories>
    <repository>
        <id>alimaven</id>
    
©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页