title: ArtifactTransferException:
body: <blockquote>
    <p>Failed to execute goal on project J2EE2: Could not resolve
    dependencies for project com.example.j2ee2:J2EE2:war:0.0.1-SNAPSHOT:
    The following artifacts could not be resolved: javax.jms:jms:jar:1.1,
    com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1: Could
    not transfer artifact javax.jms:jms:jar:1.1 from/to java.net
    (<a href="https://maven-repository.dev.java.net/nonav/repository" rel="nofollow">https://maven-repository.dev.java.net/nonav/repository</a>): No connector
    available to access repository java.net
    (<a href="https://maven-repository.dev.java.net/nonav/repository" rel="nofollow">https://maven-repository.dev.java.net/nonav/repository</a>) of type
    legacy using the available factories AsyncRepositoryConnectorFactory,
    WagonRepositoryConnectorFactory</p>
  </blockquote>
  
  <p>I've updated all my "lastUpdated" files, still I'm repeatedly getting the same error all the time. Is this error arising because I don't have <code>setting.xml</code> in my <code>.m2</code>?</p>