Spring-boot-start-web工程空包大小
发布日期:2021-06-30 21:31:31 浏览次数:2 分类:技术文章

本文共 1040 字,大约阅读时间需要 3 分钟。

环境:springboot-2.3.4

项目文件

  • pom.xml 
4.0.0
org.example
parent-tester
1.0-SNAPSHOT
org.springframework.boot
spring-boot-starter-parent
2.3.4.RELEASE
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-maven-plugin
  • app.java
package org.example;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;/** * Hello world! */@SpringBootApplicationpublic class App {    public static void main(String[] args) {        SpringApplication.run(App.class, args);    }}

生成后的jar包

空包大小为:16.5MB

转载地址:https://lizz6.blog.csdn.net/article/details/109579145 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:jar启动no main manifest attribute, in .jar
下一篇:idea中新建git项目push rejected失败master -> master (fetch first) error: failed to push some refs to异常

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年04月21日 01时44分00秒