tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 How to Fix > Tools and IDE > Maven Error: 501 HTTPS Required

Maven Error: 501 HTTPS Required

Author: Venkata Sudhakar

The issue may occur during Maven build phase because of the recent changes in the Maven Central Repository. Effective January 15th, 2020, The Central Repository no longer supports insecure communication over plain HTTP and requires that all requests to the repository are encrypted over HTTPS.

Error 501 HTTPS Required.

Return code is: 501, ReasonPhrase:HTTPS Required

We can solve this issue by forcing Maven to use HTTPS if you are using an older version of Maven as shown below. Otherwise just upgrade to Maven version >= 3.2.3 which uses HTTPS by default.


bl  br