The following artifacts could not be resolved: javax.jms:jms:jar:1.1

Building a project with maven and have the problem with POM configuration that result in error when compiling

The following artifacts could not be resolved: javax.jms:jms:jar:1.1, javax.media:jai-core:jar:1.1.3, com.sun.media:jai-codec:jar:1.1.3: Could not transfer artifact javax.jms:jms:jar:1.1 from/to java.net (https://maven-repository.dev.java.net/nonav/repository): No connector available to access repository java.net (https://maven-repository.dev.java.net/nonav/repository) of type legacy using the available factories WagonRepositoryConnectorFactory

SOLUTION

You need to add the JBoss Nexus repository that does have the artifacts

repository.jboss.org-public
JBoss repository
https://repository.jboss.org/nexus/content/groups/public

Leave a Comment

Your email address will not be published. Required fields are marked *