当前位置:网站首页>repackag failed: Unable to find main class
repackag failed: Unable to find main class
2022-07-28 05:28:00 【MusicCodeM】
Project scenario :
In the case of multiple modules , Package sub modules , There will be a situation
Problem description :
Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.2.1.RELEASE:repackage failed: Unable to find main class

Cause analysis :
pack , It is for reference of other modules . therefore What comes out of the package is xxx.jar
jar The package must have a main startup class . Just write a main startup class
Solution :
Bear in mind : The name of the main startup class cannot be the same , Otherwise, it will be wrong 
Related issues :https://blog.csdn.net/qq_46539281/article/details/122216400
边栏推荐
- How to send and receive reports through outlook in FastReport VCL?
- Eccv2022 | 29 papers of Tencent Youtu were selected, including face security, image segmentation, target detection and other research directions
- 从微服务基本概念到核心组件-通过一个实例来讲解和分析
- Jsonp single sign on permission verification
- First acquaintance with C language (1)
- Scanf function of input and output function in C language
- 数据库日期类型全部为0
- What are the methods of array objects in Es5 and what are the new methods in ES6
- ByteBuffer.position 抛出异常 IllegalArgumentException
- Classes and objects [medium]
猜你喜欢

Flask Development & get/post request

【SLAM】LVI-SAM解析——综述

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

Professor dongjunyu made a report on the academic activities of "Tongxin sticks to the study of war and epidemic"

From the basic concept of micro services to core components - explain and analyze through an example

从微服务基本概念到核心组件-通过一个实例来讲解和分析

First acquaintance with C language (1)

VMware Workstation 与 Device/Credential Guard 不兼容。禁用 Device/Credential Guard

After ruoyi generates the code corresponding to the database, what should I do to make the following image look like

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
随机推荐
Clickhouse pit filling note 2: the join condition does not support non equal judgments such as greater than and less than
这种动态规划你见过吗——状态机动态规划之股票问题(中)
Long和Integer如何进行比较,为什么报错
How to analyze fans' interests?
How should programmers keep warm when winter is coming
FreeRTOS个人笔记-任务通知
Message forwarding mechanism -- save your program from crashing
【idea插件神器】教你如何使用IDEA一键set实体类中所有属性
VMware Workstation 与 Device/Credential Guard 不兼容。禁用 Device/Credential Guard
Class class added in ES6
(黑马)MYSQL初级-高级笔记(博主懒狗)
C language classic 100 question exercise (1~21)
Reading sdwebimage source code Notes
ArrayList多线程安全解决办法
php7.1 连接sqlserver2008r2 如何测试成功
PC端-bug记录
项目中问题合集
Offline loading of wkwebview and problems encountered
After ruoyi generates the code corresponding to the database, what should I do to make the following image look like
ssm项目快速搭建项目配置文件