在jetty.xml中将useFileMappedBuffer修改为
<init-param>
<param-name>useFileMappedBuffer</param-name><param-value>false</param-value>
</init-param>
然后查看pom.xml中webAppConfig是否添加
<webAppConfig>
<defaultsDescriptor>jetty.xml</defaultsDescriptor>
</webAppConfig>