java.lang.IllegalArgument,Parse error in application web.xml file at jndi:/localhost/WEB-INF/web.xml

启动Tomcat时错误:
java.lang.IllegalArgumentException: Can‘t convert argument: null
Parse error in application web.xml file at jndi:/localhost/WEB-INF/web.xml

Resolution:
上述问题,是由于在Eclipse下重构JEE项目名时,Eclipse自动更新了部署文件web.xml,重新生成了xml文件的头部声明,新增加了javaee的命名空间。

Xml代码  
<init-param>    
      <javaee:param-name>debug</javaee:param-name>    
      <javaee:param-value>true</javaee:param-value>    
    </init-param>

将前面的javaee:去掉即可。

时间: 2024-07-31 14:31:35

java.lang.IllegalArgument,Parse error in application web.xml file at jndi:/localhost/WEB-INF/web.xml的相关文章

微信证书 javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

这几天在做微信退款接口,按照api写完之后,在本地测试了下没有问题,于是交给测试让他们在测试环境开测.他们说退款没有成功,感觉去查日志,发现后台报了 javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty .退款证书没

sqoop报错java.lang.Throwable Message: ERROR: schema &quot;jice&quot; does not exist

---恢复内容开始--- Caused by: Exception: java.lang.Throwable Message: ERROR: schema "jice" does not exist 位置:35Stack trace: at org.postgresql.core.v3.QueryExecutorImpl (QueryExecutorImpl.java:2102) at org.postgresql.core.v3.QueryExecutorImpl (QueryExe

Appium报错: An unknown server-side error occurred while processing the command. Original error: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission

Appium 运行start session时报错An unknown server-side error occurred while processing the command.Original error: Error executing adbExec.Original error: ‘Command ‘‘D:\Program Files (x86)\Android-SDK\sdk\platform-tools\adb.exe’-P 5037 -s e3172f55 shell pm

Maven:java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

直接参考前面一篇文章中间介绍的第2种方法即可:Maven:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 再 maven 命令中增加运行参数如下,路径可以改为自己的 J

严重: End event threw exception java.lang.IllegalArgumentException: Can&#39;t convert argument: null

堆栈信息: 2014-6-17 10:33:58 org.apache.tomcat.util.digester.Digester endElement 严重: End event threw exception java.lang.IllegalArgumentException: Can't convert argument: null at org.apache.tomcat.util.IntrospectionUtils.convert(IntrospectionUtils.java:1

android启动时报错Unable to instantiate application xxxx:java.lang.NullPointerException

如果程序已经运行,再安装到手机的时候总是报以下错误.而且是在打开特定的Activity的情况下才会报错. 06-26 09:45:16.971: E/AndroidRuntime(29733): java.lang.RuntimeException: Unable to instantiate application com.css.promotiontool.ui.CSSAppliction: java.lang.NullPointerException06-26 09:45:16.971:

mybatis java.lang.UnsupportedOperationException

mybatis 的mapper配置的select查询语句,报java.lang.UnsupportedOperationException 内容如下: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.UnsupportedOpe

日常问题记录-- java.lang.IllegalArgumentException: taglib definition not consistent with specification version

背景: tomcat8.0中使用taglib 错误表现: java.lang.IllegalArgumentException: taglib definition not consistent with specification version 原因: tomcat6以上在web.xml中定义taglib时要嵌入到jsp-config标签中 <jsp-config>    <taglib>        <taglib-uri></taglib-uri>

java.lang.ClassFormatError

Error occurred during initialization of VMjava.lang.ClassFormatError: Unknown constant tag 26 in class file sun/jkernel/DownloadManager        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1679)        at java.lang.Runtime.loadLibrary0(Runtim