我pom写了这个配置了,为什么打完包上传到服务器里面,运行报错,找不到service和serviceImpl,service写在另一个模块下
依赖的其他模块的包都写到了这两个模块的pom里面了
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>