maven项目遇到的报错

1. install某个模块时报错:The packaging for this project did not assign a file to the build artifact

点击跳转

2. no plugin found for prefix 'tomcat 7' in the current project and in the plugin groups 的解决办法

点击跳转

3. 引入其他模块的配置文件时报错

可能是项目间没有依赖关系

4. 引入其他模块在install或者启动项目时报错“The POM for com.***:test-service:jar:1.0-SNAPSHOT is missing”

可能原因:test-service被引入的模块需要先clean再从maven的lifecycle里面install

mvn clean package -Dmaven.test.skip=true

posted @ 2021-10-30 23:08  E_lian  阅读(96)  评论(0编辑  收藏  举报