Resource interpreted as Stylesheet but transferred with MIME type text/plain

今天碰到了Resource interpreted as Stylesheet but transferred with MIME type text/plain 这个错误。

原因:在web中配置了filter,过滤/*所有文件。代码中忘记了执行chain.doFilter(request, response)放行。

原文地址:https://www.cnblogs.com/zhenmingliu/p/3522731.html