[ERROR] Failed to execute goal on project gmall-pms: Could not resolve dependencies for project com.atguigu:gmall-pms:jar:0.0.1-SNAPSHOT: Could not find artifact com.atguigu:gmall-common:jar:0.0.1-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
enter image description here
enter image description here
删除原始文件并重新打包
2条答案
按热度按时间hmae6n7t1#
编译过程中缺少依赖包。请打包com. atgui:gmall common:jar:0.0.1 SNAPSHOT first
rjzwgtxy2#
尝试将gmall常用版本改为0.0.2 SNAPSHOT重新安装。或者重启idea。一旦依赖过多,maven就会出错。