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)放行。

 

posted @ 2014-01-16 16:18  刘振明  阅读(28310)  评论(1编辑  收藏  举报