Title: Intellij create sample struts web project with java,then show this error
Tags: intellij-idea;struts2
Question: Failed to download 'http://central.maven.org/maven2/org/apache/struts/struts2-core/151.154.11.224/struts2-core-151.154.11.224.jar':
central.maven.org
Comment: Add screenshot showing where and when you see this. But it looks like it is a internet connectivity issue. Check that you can internet access and Maven repository is specified correctly in [Maven settings](https://maven.apache.org/settings.html)


Here is another answer: If you have URL to Maven Central Repository in your pom.xml defined like:
<repository&gt;
<id&gt;Maven Central</id&gt;
<name&gt;Maven Central Repository</name&gt;
<url&gt;http://central.maven.org/maven2</url&gt;
</repository&gt;
then url needs to be updated, to
<repository&gt;
<id&gt;Maven Central</id&gt;
<name&gt;Maven Central Repository</name&gt;
<url&gt;https://repo1.maven.org/maven2</url&gt;
</repository&gt;
because: "Beginning January 15, 2020, The Central Repository will no longer support communication over HTTP" (https://blog.sonatype.com/central-repository-moving-to-https)
Comment for this answer: I fixed it. When I create struts project, I will select the first : Use library , click create button , then add all struts libs which downloaded.

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2020:00:05/28/20', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<intellij-idea><struts2>', 'Title': 'Intellij create sample struts web project with java,then show this error', 'ViewCount': 486, 'id': 62075914, 'user_AboutMe': None, 'user_AccountId': 12809389.0, 'user_DisplayName': 'monkeycd', 'user_Reputation': 11.0, 'user_Views': 14.0, 'user_id': 9268102.0}}