Windows – Linux – Mac OSX Guides

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

PROBLEM

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

Apache maven project 2 png

SOLUTION

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

Tagged with:     , , ,

Related Articles

Loading Facebook Comments ...

Post your comments

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