IDEA新建maven项目报错Unable to import maven project: See logs for details && IDEA Maven 报错 No implementati

The article summary

问题描述

使用idea创建maven项目时报Unable to import maven project

原因

通过查看日志文件,发现如下:

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

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)

解决办法

我的maven使用的3.6.3,将maven重新替换成3.5.4问题解决

上一篇:git clone遇到问题:fatal:unable to access ‘https://github.com/......‘


下一篇:Unable to start web server; nested exception is org.springframework.context.ApplicationContextExcept