当前位置:网站首页>错误: 找不到或无法加载主类
错误: 找不到或无法加载主类
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
边栏推荐
- Search tree judgment (25 points)
- RCC introduction of Hal Library
- Knowledge points and problem solutions related to information collection
- tsdf +mvs
- JS中复制数组
- What is RPC
- 请提前布局 Star Trek突破链游全新玩法,市场热度持续高涨
- Use of Arthas in JVM tools
- 洋桃电子STM32物联网入门30步笔记四、工程编译和下载
- 'bully' Oracle enlarged its move again, and major enterprises deleted JDK overnight...
猜你喜欢

Idea import commons-logging-1.2 Jar package

2021李宏毅机器学习之Adaptive Learning Rate

根据字节码获取类的绝对路径

Shell脚本进阶

Notes on 30 steps of introduction to Internet of things of yangtao electronics STM32 III. Explanation of new cubeide project and setting

php基于哈希算法出现的强弱比较漏洞

DJ音乐管理软件Pioneer DJ rekordbox

计算神经网络推理时间的正确方法

idea配置连接远程数据库MySQL,或者是Navicat连接远程数据库失败问题(已解决)

请提前布局 Star Trek突破链游全新玩法,市场热度持续高涨
随机推荐
洋桃電子STM32物聯網入門30步筆記一、HAL庫和標准庫的區別
Go语言自学系列 | golang方法
Large amount of data submitted by form post
Yangtao electronic STM32 Internet of things entry 30 step notes IV. engineering compilation and download
《深度学习》学习笔记(八)
经典题目刷一刷
Test your machine learning pipeline
虚拟线上展会-线上vr展馆实现24h沉浸式看展
Noyer électronique stm32 Introduction à l'Internet des objets 30 étapes notes I. différences entre la Bibliothèque Hal et la Bibliothèque standard
Star Trek强势来袭 开启元宇宙虚拟与现实的梦幻联动
Get the absolute path of the class according to the bytecode
Study notes of deep learning (8)
Notes on 30 steps of introduction to the Internet of things of yangtao electronics STM32 III. cubemx graphical programming and setting the IO port on the development board
OneFlow学习笔记:从Functor到OpExprInterpreter
洋桃电子STM32物联网入门30步笔记四、工程编译和下载
Yangtao electronic STM32 Internet of things entry 30 step notes II. Cube ide download, installation, sinicization and setting
00后最关注的职业:公务员排第二,第一是?
DOM学习笔记---遍历页面所有元素节点
DOM learning notes - traverse all element nodes of the page
搜索树判断 (25 分)