美文网首页
init-param

init-param

作者: 50e383299c68 | 来源:发表于2018-01-15 16:56 被阅读0次

    web.xml里的init-param报错

    Description ResourcePathLocationType
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":enabled, "http://java.sun.com/xml/ns/javaee":async-supported, "http://java.sun.com/xml/ns/javaee":run-as, "http://java.sun.com/xml/ns/javaee":security-role-ref, "http://java.sun.com/xml/ns/javaee":multipart-config}' is expected.web.xml/WebContent/WEB-INFline 40XML Problem

    解决方案是: <init-param>要放在<load-on-startup>1</load-on-startup>上边

    相关文章

      网友评论

          本文标题:init-param

          本文链接:https://www.haomeiwen.com/subject/jsjdoxtx.html