【我们都遇过的】 See logs for details

Unable to import maven project: See logs for details

今天帮同学在他电脑部署它的项目(迷之项目)时,出来了个问题。
具体描述是maven依赖无法下载。报出来的信息叫我去查看log。


查看log方法: Help=>show log in Explorer=>文件夹中的log

ctrl+F 查看今天的时间。发现了原因。

1) 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)

2) No implementation for org.apache.maven.model.path.UrlNormalizer was bound.
  while locating org.apache.maven.model.path.UrlNormalizer
    for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.urlNormalizer(Unknown Source)
  at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)

2 errors 
java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors

这个原因就是IDEA的版本和Maven的版本不兼容。两者其中之一有一个过低。

你可能感兴趣的:(Exception,intellij,idea)