spring-boot 2.6 mvn spring-boot:run 找不到或无法加载主类

Spring Boot Maven Plugin – spring-boot:run
https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/maven-plugin/run-mojo.html

String 1.0.0 The name of the main class. If not specified the first compiled class found that contains a 'main' method will be used.
User property is: spring-boot.run.main-class.

mvn spring-boot:run 是怎样运行 Spring Boot 项目的?_mvn run_大鹏cool的博客-CSDN博客
https://blog.csdn.net/zzuhkp/article/details/123493071

org.springframework.boot spring-boot-maven-plugin com.zzuhkp.DemoApplication ———————————————— 版权声明:本文为CSDN博主「大鹏cool」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/zzuhkp/article/details/123493071
posted @   任国强  阅读(106)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2019-03-02 解决Window安全中心对Kitematic-0.17.3-Ubuntu.zip提示病毒,但无法删除的问题。
2018-03-02 加密与安全
2017-03-02 一次防止浏览器里输入的大段文字防止丢失的巧合的解决方案
点击右上角即可分享
微信分享提示