spring boot 打包之后出现的 Unable to find a single main class from the following candidates
原因是因为你可能写了两个main函数,你得去掉一个,注释一下。
这样就通过了,可以打jar包了
spring boot 打包之后出现的 Unable to find a single main class from the following candidates
原因是因为你可能写了两个main函数,你得去掉一个,注释一下。
这样就通过了,可以打jar包了