login.html:1 Uncaught SyntaxError: Unexpected token <
login.html:17 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8088/login/login.html".
login.html:13 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8088/login/login.html".
login.html:1 Uncaught SyntaxError: Unexpected token <
login.html:14 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8088/login/login.html".
login.html:18 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8088/login/login.html".
4login.html:1 Uncaught SyntaxError: Unexpected token <
login.html?username=puu&password=rootroot:190 Uncaught ReferenceError: toastr is not defined
at login.html?username=puu&password=rootroot:190
(anonymous) @ login.html?username=puu&password=rootroot:190
2login.html:1 Uncaught SyntaxError: Unexpected token <
该错误是因为前端的配置文件没有加载进来,改正加上配置文件的目录即可
filterChainDefinitionMap.put("/static/**", "anon");
filterChainDefinitionMap.put("/img/**", "anon");
filterChainDefinitionMap.put("/lib/**", "anon");
filterChainDefinitionMap.put("/login/**", "anon");
filterChainDefinitionMap.put("/maxgraph/**", "anon");