问题场景:
Springboot项目中,spring cloud集成dubbo,存在一个api的工程,api工程install到本地时提示repackage failed: Unable to find main class。
解决原因:
api工程作为子模块依赖了父工程,父工程中用了springboot的打包插件,所以就继承过来了。
解决方法:
子模块install时注释掉父工程的springbot打包插件
问题场景:
Springboot项目中,spring cloud集成dubbo,存在一个api的工程,api工程install到本地时提示repackage failed: Unable to find main class。
解决原因:
api工程作为子模块依赖了父工程,父工程中用了springboot的打包插件,所以就继承过来了。
解决方法:
子模块install时注释掉父工程的springbot打包插件