Unable to find a single main class from the following candidates

来源:互联网 发布:淘宝裂变有危险吗 编辑:程序博客网 时间:2024/06/07 11:16

spring boot 打包之后出现的        Unable to find a single main class from the following candidates

原因是因为你可能写了两个main函数,你得去掉一个,注释一下。





这样就通过了,可以打jar包了

阅读全文
1 0
原创粉丝点击