1、consider increasing the maximum size of the cache
org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/20210113/81d5a663eca4493b8e79bccceb69687e.jpg] to the cache for web application [/attachment] because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
只要在$CATALINA_BASE/conf/context.xml里增加資源最大可緩存的大小就行了叉寂,大小可按自己的需要定義
<Resources
cachingAllowed="true"
cacheMaxSize="100000"
/>
2、post請求參數(shù)過長時(shí)報(bào)400錯(cuò)誤
[文章]https://blog.csdn.net/fst438060684/article/details/82453969
3抬伺、java.io.InvalidClassException:local class incompatible
是序列化和反序列化的serialVersionUID沒有對應(yīng)上诫惭。而serialVersionUID參數(shù)主要是用來驗(yàn)證Java序列化版本一致性窃祝。造成上述報(bào)錯(cuò)信息的原因是這類里面沒有顯示指定serialVersionUID值。