1 Reply Latest reply on Feb 15, 2017 3:12 AM by mjobanek

    Problems with tutorial

    pamelaw

      Sorry, newbie here. Having trouble with the tutorial.  The command failed due to unKnownHostException. I tried 5 different maven setting.xml files, none seemed to work, does it need a special settings.xml file?

       

      mvn archetype:generate -DarchetypeGroupId=net.avh4.mvn.archetype -DarchetypeArtifactId=java-1.8-archetype

       

      [WARNING] Error reading archetype catalog http://repo.maven.apache.org/maven2

      org.apache.maven.wagon.TransferFailedException: repo.maven.apache.org

              at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1066)

      .

      .

      .

      Caused by: java.net.UnknownHostException: repo.maven.apache.org