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 @ 2023-03-02 18:30  任国强  阅读(110)  评论(0)    收藏  举报