Refused to execute script from ';because its MIME type ('text/html') is not executable,


1.問題の説明
Refused to execute script from 'http://localhost:8080/static/lib/jquery/1.9.1/jquery.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Refused to execute script from ';because its MIME type ('text/html') is not executable,_第1张图片
2.問題分析
ネット上で多くの原因を探して、解決できるものは一つもありません.最終的に還元大法を採用し、誤りのない状態に回復し、比較研究の結果、controllerのGetMapping()にパラメータがないことが判明した.
3.問題解決
    //  GetMapping        ,         
    @GetMapping("/map")
    public  String map(){
        return "map";
    }