Troubleshooting

Troubleshooting Maven proxy configuration errors

An I/O exception, connection timeout error occurs when executing the mvn clean install command

Symptom

When Maven attempts to download required libraries while executing the mvn clean install command, an I/O exception occurs because the connection timed out.

Cause

Maven cannot access the Internet, and Internet access from your system requires use of a proxy server.

Action
  1. Ensure that the correct internet proxy for your environment is configured in Maven.

  2. Ensure that the proxy server can access the Internet.

More information

Configuring Maven to use a proxy server for Internet access

Maven build failure occurs with error “No plugin found for prefix”

Symptom

When you attempt to build an application, the build fails with error No plugin found for prefix.

Cause

Maven cannot access the Internet, and Internet access from your system requires use of a proxy server.

Action
  1. Ensure that the correct internet proxy for your environment is configured in Maven.

  2. Ensure that the proxy server can access the Internet.

More information

Configuring Maven to use a proxy server for Internet access