有些utils和common的模块,已经有依赖,并能正常在Idea上跑了,但打包时提示程序包xxx不存在时,在pom上加上以下代码即可:
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <phase>none</phase> </execution> </executions> <configuration> <classifier>execute</classifier> </configuration> <plugin> </plugins> </build>
标签:提示,程序包,boot,maven,模块,打包 From: https://www.cnblogs.com/qiywtc/p/16769814.html