当前位置:网站首页>多模块打包:程序包:xxx不存在
多模块打包:程序包:xxx不存在
2022-07-28 05:17:00 【MusicCodeM】
项目场景:
多模块场景
问题描述:
子模块打包的时候,出现程序包:xxx不存在
解决方案:
在子模块的pom.xml中添加这个,也可以放在更大的pom.xml中,因为继承
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<classifier>exec</classifier>
</configuration>
</plugin>
</plugins>
</build>
打包的时候,
就可执行对应的子模块了。
坏处:只要进行修改了代码,都必须在执行一般上面的步骤,在能运行
相关问题:https://blog.csdn.net/qq_46539281/article/details/122156348
边栏推荐
- The most detailed installation of windows10 virtual machine, install virtual machine by hand, and solve the problem that the Hyper-V option cannot be found in the home version window
- ssm项目快速搭建项目配置文件
- IDEA使用dev-tool实现热部署
- JSON in JS (launch object deep copy)
- 11. < tag dynamic programming and subsequence, subarray> lt.115. Different subsequences + Lt. 583. Deletion of two strings DBC
- 【ARXIV2205】Inception Transformer
- Scope, execution process and life cycle of bean
- Long和Integer如何进行比较,为什么报错
- Microservice failure mode and building elastic system
- How does Alibaba use DDD to split microservices?
猜你喜欢

How practical is the struct module? Learn a knowledge point immediately

Offline loading of wkwebview and problems encountered

11. < tag dynamic programming and subsequence, subarray> lt.115. Different subsequences + Lt. 583. Deletion of two strings DBC

这种动态规划你见过吗——状态机动态规划之股票问题(中)

11.< tag-动态规划和子序列, 子数组>lt.115. 不同的子序列 + lt. 583. 两个字符串的删除操作 dbc

【ARXIV2203】SepViT: Separable Vision Transformer

Melt cloud x chat, create a "stress free social" habitat with sound

Redis 之布隆过滤器
Printf function of input and output function in C language

VMware Workstation 与 Device/Credential Guard 不兼容。禁用 Device/Credential Guard
随机推荐
Message forwarding mechanism -- save your program from crashing
HashSet add
【SLAM】LVI-SAM解析——综述
数据库日期类型全部为0
7.<tag-字符串和API的取舍>补充: 剑指 Offer 05. 替换空格
导出excel,生成多个sheet页,并命名
The most detailed installation of windows10 virtual machine, install virtual machine by hand, and solve the problem that the Hyper-V option cannot be found in the home version window
The default isolation level of MySQL is RR. Why does Alibaba and other large manufacturers change to RC?
Tips for using swiper (1)
MySQL date and time function, varchar and date are mutually converted
Online sql to XML tool
使用nfpm制作rpm包
HashSet add
How to send and receive reports through outlook in FastReport VCL?
测试开发---自动化测试中的UI测试
jsonp 单点登录 权限检验
在外包公司两年了,感觉快要废了
sql 查询list时两次的数据不一致,自动加上了limit
Dell remote control card uses ipmitools to set IPMI
注册中心服务eureka 切换到 nocas遇到的问题