Maven 打包 关于线下能运行不能打包的原因

一 .检查maven 打包报错类 有没有 main 方法,如果这个类被调用了,请删掉里面的main 方法。
二.如果并没有main 方法还报错,请按这个博客做。我没有遇见过,但是可以尝试。
http://blog.csdn.net/qq_26678239/article/details/52056815

猜你喜欢

转载自blog.csdn.net/qq_36324685/article/details/77162033