Error injecting: org.apache.maven.artifact.installer.DefaultArtifactInstaller | Community
Skip to main content
Jeanmaradiaga
Level 3
September 15, 2021
Solved

Error injecting: org.apache.maven.artifact.installer.DefaultArtifactInstaller

  • September 15, 2021
  • 1 reply
  • 12869 views

I created a new project with archetype 27. The created project looks fine but when I first try to install it I get the following error:

 

 

[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kg-commons --- [WARNING] Error injecting: org.apache.maven.artifact.installer.DefaultArtifactInstaller com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting: private org.eclipse.aether.spi.log.Logger org.apache.maven.repository.internal.DefaultVersionRangeResolver.logger

 

 

 

I tried google this but there are not many matches for this error, I was wondering if anyone knows what is going on here. I am on IntelliJ and using the build-in Maven 3 so I wonder if it is something to do with Maven specifically or if I screwed up the project installation.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kishore_Kumar_

Hi @jeanmaradiaga ,

 

Could you please check if below link helps.

 

https://stackoverflow.com/questions/47920305/can-not-set-org-eclipse-aether-spi-log-logger-with-custom-maven-plugin

 

Try updating the maven plugin in intellij as mentioned in above link.

1 reply

Kishore_Kumar_
Kishore_Kumar_Accepted solution
Level 9
September 15, 2021

Hi @jeanmaradiaga ,

 

Could you please check if below link helps.

 

https://stackoverflow.com/questions/47920305/can-not-set-org-eclipse-aether-spi-log-logger-with-custom-maven-plugin

 

Try updating the maven plugin in intellij as mentioned in above link.

Jeanmaradiaga
Level 3
September 15, 2021

Updating the frontend-maven-plugin from v10.13.0 to v13.9.0 seems to have fixed this.