Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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.

 

Ujp5n5I9Ey.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-cust...

 

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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-cust...

 

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

Avatar

Level 4

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