SpringBoot实战项目03

SpringBoot项目简化部署
<!--这个插件,可以将应用打包成一个可执行的jar包-->
    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

在这里插入图片描述
将该spring-boot-01-1.0-SNAPSHOT.jar架包找到==(一般在项目的target下面复制到桌面以cmd窗口命令启动
在这里插入图片描述
项目启动成功进行
测试==,
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_41107231/article/details/86600641