Error retrieving artifact' error during bootstrap/-all

  • Share
  • Share

Applies to:
GlassFish

Description:
Occurs while executing bootstrap/-all

Cause:
Invalid configuration.

JAVA-GlassFish , , , , , , , ,

  1. admin
    March 20th, 2009 at 10:28 | #1

    Check your basic configurations for the platform, proxy settings in your $HOME/build.properties file:
    glassfish.os.name=
    maven.proxy.host=
    maven.proxy.port=

    set JAVA_HOME to JDK1.5.0_04 or the latest supported/published, and add $JAVA_HOME/bin in PATH variable.
    If you see error below while running “bootstrap-all” target
    Attempting to download jsf-1.2_04-p03-b20.jar. Cookie rejected: “$Version=0; JSESSIONID=1CA057FA7401CBF6C9841BFF1E24B614; $Path=/servlets”. Illegal path attribute “/servlets”. Path of origin: “/nonav/repository/jsf/jars/jsf-1.2_04-p03-b20.jar” Error retrieving artifact from [http://www.ibiblio.org/maven/jsf/jars/jsf-1.2_04-p03-b20.jar]: java.io.IOException: Unknown error downloading; status code was: 301 WARNING: Failed to download jsf-1.2_04-p03-b20.jar.
    You may have download.java.net entry in your /etc/hosts file, so comment out this, and download will be successful. #64.125.132.44 download.java.net

  1. No trackbacks yet.