maven下载依赖包报错
配置好本地maven后下载依赖包报错:Unable to import maven project: See logs for details
查证原因
打开idea的日志,Help–>show Log in Explorer–>idea.log文件,
No implementation for org.apache.maven.model.path.PathTranslator was bound.
while locating org.apache.maven.model.path.PathTranslator
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.pathTranslator(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
原因是maven版本过高,我本地配置的是maven-3.6.3
解决方法
在 maven网站 上下载maven-3.5.2的版本,配置到本地