解决web.xml中 UTF-8报错。错误提示:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'page-encoding'. One of '{"http://
java.sun.com/xml/ns/javaee":include-prelude, "http://java.sun.com/xml/ns/javaee":include-coda, "http://java.sun.com/
xml/ns/javaee":deferred-syntax-allowed-as-literal, "http://java.sun.com/xml/ns/javaee":trim-directive-whitespaces,
"http://java.sun.com/xml/ns/javaee":default-content-type, "http://java.sun.com/xml/ns/javaee":buffer, "http://
java.sun.com/xml/ns/javaee":error-on-undeclared-namespace}' is expected.
2019-12-21 21:22:54
1KB
web开发
1