WebContent/WEB-INF/web.xml
@@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"> <!-- 此处添加 absolute-ordering 标签 --> <!-- <absolute-ordering/>--> <display-name>cas</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file>