严重: Parse error in application file at jndi:/localhost/beyond/WEB-INF/web.xml

news/2024/7/16 7:18:36 标签: eclipse, ide

简介

      有时在修改项目名称时会报错:

      原因是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>

 

 

 


http://www.niftyadmin.cn/n/1200112.html

相关文章

shell脚本传递参数的七个特定的变量

shell脚本中&#xff0c;传递参数的共有七个特定的变量。其如下&#xff1a;$# 传递到脚本的参数个数。$* 以一个单字符串显示所有向脚本传递的参数&#xff0c;与位置变量不同&#xff0c;此选项参数可超过9个$$ 脚本运行的当前ID号$! 后台运行的最后一个进程的进程ID号$ 与$#…

linux下后台运行jar,并关闭服务

后台运行&#xff1a; nohup java -Dfile.encodingutf-8 -jar xxxx.jar > nohup.log 2 >& 1 & 关闭&#xff1a; ps aux|grep xxxx.jar kill -9 进程号 # 后台运行start.sh nohup ./start.sh > output.log 2 >& 1 &

spring mvc视图解析器的如何指定多个页面存放路径

问题&#xff1a; <bean id"viewResolver" class"org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name"viewClass" value"org.springframework.web.servlet.view.JstlView"/> <prope…

org.java_websocket.exceptions.WebsocketNotConnectedException: null

WebSocketClient连接webSocket服务端发送消息报错&#xff0c;错误信息如下&#xff1a; org.java_websocket.exceptions.WebsocketNotConnectedException: null at org.java_websocket.WebSocketImpl.send(WebSocketImpl.java:630) at org.java_websocket.WebSocketIm…

新款ipad你了解多少?

日期&#xff1a;2012-4-27 来源&#xff1a;GBin1.com 对于还没有入手newipad的苹果迷来说&#xff0c;仍然还是很值得期待的&#xff0c;而对于市场需求来讲&#xff0c;目前为止&#xff0c;还没有任何产品可以完全取代苹果的价值。在商品 上市之前&#xff0c;我想先跟大家…

spring mvc 注解

参照&#xff1a; http://zachary-guo.iteye.com/blog/1318597 http://m.oschina.net/blog/128028 http://blog.csdn.net/ydwuli06/article/details/6993219 http://www.oschina.net/question/84460_9608

'shaHex(java.lang.String)' is deprecated

DigestUtils.shaHex() 已过时的解决办法&#xff1a;

bootstrap资料

一、简介 二、参照资料 ******************************** 二、参照资料 Bootstrap JS插件使用实例(1)-轮播 http://www.see-source.com/blog/300000033/281