错误: 找不到或无法加载主类 com.hnszy.HnszyHealthCenterApplication
时间: 2023-10-17 10:30:00 浏览: 106
引用提供了解决这种错误的方法。在运行Spring Boot时,如果出现"找不到或无法加载主类com.XXXApplication"的错误,可以尝试以下解决方法:点击IDEA左边的Maven,然后...(根据引用提供的方法进行操作,这里省略具体步骤)。这样可以解决主类找不到或无法加载的问题。请注意,具体的解决方法可能因环境和具体情况而有所不同。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [spark 错误: 找不到或无法加载主类 com.atguigu.wc.BatchWordCount](https://blog.csdn.net/weixin_51579912/article/details/130434548)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [错误: 找不到或无法加载主类 com.XXXApplication](https://blog.csdn.net/m0_56689914/article/details/129523178)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文