SpringCloud多模块项目打包报错Unable to find main class
彻底解决方法:所有子模块都去掉打包插件代码,在parent模块的pom中加上
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</build>
标签:SpringCloud,find,报错,模块,main,class From: https://www.cnblogs.com/mikasa9826/p/17212394.html