严重: Parse error in application file at jndi:/localhost/beyond/WEB-INF/web.xml
简介:
有时在修改项目名称时会报错:
原因是web.xml中标签前缀在项目转换中被修改成<javaee:param-name>,替换掉javaee:就可以了!
java.lang.IllegalArgumentException: Can't convert argument: null at org.apache.tomcat.util.IntrospectionUtils.convert(IntrospectionUtils.java:1005) at org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.java:523) at org.apache.tomcat.util.digester.Rule.end(Rule.java:229) at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1138)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2013-10-10 16:44:43 org.apache.catalina.startup.ContextConfig applicationWebConfig
严重: Parse error in application web.xml file at jndi:/localhost/beyond/WEB-INF/web.xml
java.lang.IllegalArgumentException: Can't convert argument: null
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2806)
原因是javaee:,只要替换掉这个前缀就可以了。
web.xml: <context-param> <javaee:param-name>contextConfigLocation</javaee:param-name> <javaee:param-value> /WEB-INF/conf/*/*.xml </javaee:param-value> </context-param>
相关推荐
Kafka 2020-09-18
Wepe0 2020-10-30
杜倩 2020-10-29
windle 2020-10-29
minerd 2020-10-28
mengzuchao 2020-10-22
Junzizhiai 2020-10-10
bxqybxqy 2020-09-30
风之沙城 2020-09-24
kingszelda 2020-09-22
大唐帝国前营 2020-08-18
yixu0 2020-08-17
TangCuYu 2020-08-15
xiaoboliu00 2020-08-15
songshijiazuaa 2020-08-15
xclxcl 2020-08-03
zmzmmf 2020-08-03
newfarhui 2020-08-03
likesyour 2020-08-01