Springboot打成jar包,对应配置conf文件后,启动提示找不到main:
Error: Could not find or load main class
工程正确添加了springboot插件没?还有你项目的main函数是放哪里的?怎么写的?
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>