欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-06-17 22:54:11
...

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问题解决

相关标签: bugs java