# Maven 上传包 413 Request Entity Too Large 错误

**URL:** <https://www.isharkfly.com/t/maven-413-request-entity-too-large/14602>\
**Category:** DevOps\
**Tags:** maven\
**Created:** [September 4, 2023, 2:01am UTC](https://www.isharkfly.com/t/maven-413-request-entity-too-large/14602 "2023-09-04T02:01:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [September 4, 2023, 2:01am UTC](https://www.isharkfly.com/t/maven-413-request-entity-too-large/14602/1 "2023-09-04T02:01:20Z")

</div>

![2025-03-28_09-06-57](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/8/f/8f5ba3e6d1e06a0a2bf531a700290dffd69d5aeb.jpeg)

这个问题是 CF 的配置限制导致。

修改 `vi /etc/host` 配置，直接添加一个针对 IP 和域名的映射，跳过 CF 即可。
