0
点赞
收藏
分享

微信扫一扫

Springboot+Maven在IDEA中配置好Maven后执行Reimport时提示:com.google.inject.internal.Errors.throwCreationExceptio


场景

在下载安装了并在IDEA中配置Maven之后,在IDEA新建了SpringBoot项目后,进行导入依赖时提示

com.google.inject.CreationException: Unable to create injector

Springboot+Maven在IDEA中配置好Maven后执行Reimport时提示:com.google.inject.internal.Errors.throwCreationExceptio_Springboot

 

注:

实现

我本地下载配置的Maven版本为3.6.3

Springboot+Maven在IDEA中配置好Maven后执行Reimport时提示:com.google.inject.internal.Errors.throwCreationExceptio_Springboot_02

 

IDEA的版本为2019.2

Maven的版本时目前最新的,版本太高,所以配置为低版本的3.5.4

低版本下载地址

​​https://archive.apache.org/dist/maven/maven-3/​​

Springboot+Maven在IDEA中配置好Maven后执行Reimport时提示:com.google.inject.internal.Errors.throwCreationExceptio_下载安装_03

 

下载后在IDEA中进行配置

Springboot+Maven在IDEA中配置好Maven后执行Reimport时提示:com.google.inject.internal.Errors.throwCreationExceptio_程序猿_04

 

举报

相关推荐

0 条评论