Reference Guide

Table Of Contents
Appendix B
Troubleshooting
Maven Cannot Download Required Libraries
Problem
This problem occurs when Internet access requires a proxy. Maven is unable to download required
libraries due connection time outs.
Figure 93 Maven Problem: No Proxy Configured
The output shown in Figure 94 is also related to the proxy problem and it happens when Maven
proxy configuration is incorrect.
Figure 94 Maven Problem: Invalid Proxy Configuration
Solution
Make sure the proper proxy is configured in Maven. To configure a proxy add the following
Maven Proxy Configuration listing (with the proper information) to Maven settings.xml file located
at maven installation directory (/etc/maven for Linux installations). Note <proxies> xml node is
already in the file, so look for it and add the <proxy> node from the following listing.
251