码迷,mamicode.com
首页 > Web开发 > 详细

web.xml里<init-param>报错

时间:2014-06-03 05:31:38      阅读:514      评论:0      收藏:0      [点我收藏+]

标签:web.xml   init-param   cvc-complex-type   description resource   

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


控制台报错:严重: Servlet /*** threw load() exception
java.lang.ClassNotFoundException: MyApplication


敢情<init-param>要放在<load-on-startup>1</load-on-startup>上边

web.xml里<init-param>报错,布布扣,bubuko.com

web.xml里<init-param>报错

标签:web.xml   init-param   cvc-complex-type   description resource   

原文地址:http://blog.csdn.net/lele2426/article/details/27642801

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!