您的位置:首页 > 大数据 > 人工智能

Unable to find a single main class from the following candidates

2017-06-02 17:16 627 查看
spring boot 打包之后出现的        Unable to find a single main class from the following candidates

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

这样就通过了,可以打jar包了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  spring 微服务
相关文章推荐