Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do i get an error downloading artifact message when building with Maven 2 under Fedora Core 4 and Java 1.4?

building core Fedora Maven message
0
10 Posted

Why do i get an error downloading artifact message when building with Maven 2 under Fedora Core 4 and Java 1.4?

0
10

Some versions of Java 1.4 are incompatible with the IPv6 networking protocol, leading to socket errors when Java attempts to establish network connections. IPv6 is enabled by default in Fedora Core 4, and in recent kernel updates (2.6.12) to Fedora Core 3. This causes maven to fail to download jars from remote repositories. The symptoms are: java.net.SocketException: Invalid argument or cannot assign requested address To solve this, add -Djava.net.preferIPv4Stack=true to your maven invocation, i.e. mvn install -Djava.net.preferIPv4Stack=true More information can be found at http://wiki.astrogrid.org/bin/view/Deploy/IPV6Warning?

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123