because its MIME type (application/json) is not a supported stylesheet MIME type, and strict MIME

前台页面访问报:Failed to load resource: the server responded with a status of 404 ()
require.js:5 Uncaught Error: Script error for "easyui", needed by: softphone.setSkillsLayout, softphone.signInLayoutRefused to apply style from 'http://127.0.0.1:8181/ucfront/oneframe/js/common/easyui/themes/cmcui/cmcui.css' because its MIME type ('application/json') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

错误原因:idea设置editor->File Types->.gitIgnore在Ignore files and folders 中增加了"easyui",所以前台拒绝访问easyui文件下的文件,千万别手残,随便添加

你可能感兴趣的:(easyui,intellij,idea)