Troubleshooting
Problem
Users attempting to generate a sample Java application using the maven-archetype-quickstart template fail with dependency resolution errors, even though the BAMOE Maven repository is configured locally.
Symptom
When running the following Maven command mvn archetype:generate to generate a sample project, the build fails with errors like:
[ERROR] Could not find artifact com.ibm.icu:icu4j:jar:77.1 in ibm-bamoe-enterprise-maven-repository (http://localhost:8080/)
[ERROR] Could not find artifact org.codehaus.plexus:plexus-interactivity-api:jar:1.4 in ibm-bamoe-enterprise-maven-repository (http://localhost:8080/)
And the detailed stack trace shows:
org.eclipse.aether.transfer.ArtifactNotFoundException:
Could not find artifact com.ibm.icu:icu4j:jar:77.1 in ibm-bamoe-enterprise-maven-repository (http://localhost:8080/)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:422)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:244)
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
12 June 2025
UID
ibm17236095