当前位置:网站首页>错误: 找不到或无法加载主类
错误: 找不到或无法加载主类
2022-04-23 08:39:00 【HezhezhiyuLe】
报错
错误: 找不到或无法加载主类
起因
我修改了总目录名称后启动报错
排查
改变了代码中所有涉就旧目录的的位置 但是启动还是有问题
解决
尝试重新打包,解除pom文件打包位置,必须是新目录位置,注意groupId
<groupId>ins.platfrom</groupId>
<artifactId>webapi</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>webapi</name>
<description>Demo project for Spring Boot</description>
重启
如未解决参考其他文章
springboot错误: 找不到或无法加载主类
版权声明
本文为[HezhezhiyuLe]所创,转载请带上原文链接,感谢
https://blog.csdn.net/HezhezhiyuLe/article/details/112677608
边栏推荐
- rembg 分割mask
- Search tree judgment (25 points)
- On time atom joins hands with oneos live broadcast, and the oneos system tutorial is fully launched
- Add listening event to input element
- Idea is configured to connect to the remote database mysql, or Navicat fails to connect to the remote database (solved)
- 让地球少些“碳”息 度能在路上
- Stm32f103zet6 [development of standard library functions] - Introduction to library functions
- Record: JS several methods to delete one or more items in the array
- Yangtao electronic STM32 Internet of things introduction 30 steps notes 1. The difference between Hal library and standard library
- Let the earth have less "carbon" and rest on the road
猜你喜欢
bashdb下载安装
在sqli-liabs学习SQL注入之旅(第十一关~第二十关)
Notes on 30 steps of introduction to Internet of things of yangtao electronics STM32 III. Explanation of new cubeide project and setting
Shell script advanced
汇编语言与逆向工程 栈溢出漏洞逆向分析实验报告
GUI编程简介 swing
企业微信应用授权/静默登录
LaTeX论文排版操作
洋桃电子STM32物联网入门30步笔记一、HAL库和标准库的区别
How to generate assembly file
随机推荐
rembg 分割mask
根据字节码获取类的绝对路径
SYS_ CONNECT_ BY_ Path (column, 'char') combined with start with connect by prior
增强现实技术是什么?能用在哪些地方?
Go语言自学系列 | golang结构体指针
ajax防止缓存方法
OneFlow學習筆記:從Functor到OpExprInterpreter
Yangtao electronic STM32 Internet of things introduction 30 steps notes 1. The difference between Hal library and standard library
Copy array in JS
深度学习框架中的自动微分及高阶导数
Failed to convert a NumPy array to a Tensor(Unsupported Object type int)
JS中复制数组
Virtual online exhibition - Online VR exhibition hall realizes 24h immersive exhibition viewing
flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】
L2-3 浪漫侧影 (25 分)
是否同一棵二叉搜索树 (25 分)
使用flask和h5搭建网站/应用的简要步骤
Misunderstanding of flush () method of OutputStream class
lgb,xgb,cat k折交叉验证
2022-04-22 OpenEBS云原生存储