java.lang.IllegalArgumentException: Can't convert argument: null

从SVN下载项目后,我把项目名称改了一下然后启动tomcat后就一直报java.lang.IllegalArgumentException: Can‘t convert argument: null这个错。

解决办法是:第一步、将web.xml文件的头文件以javaee:开始的命名空间删除。如图:

第二步:将web.xml文件中所有javaee:替换成空白。如图:

重启tomcat,问题解决!

java.lang.IllegalArgumentException: Can't convert argument: null

时间: 2024-07-30 01:56:35

java.lang.IllegalArgumentException: Can't convert argument: null的相关文章

严重: End event threw exception java.lang.IllegalArgumentException: Can'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

java.lang.IllegalArgumentException: clusterListener can not be null

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mongodb.MongoClient]: Factory method 'mongo' threw exception; nested exception is java.lang.IllegalArgumentException: clusterListener can not be null at org.s

tomcat启动时候报错Can't convert argument: null

一.启动报错: 为了避免导入的项目重名,我先修改了前一个项目的名称. 重新启动该项目至tomcat,报错:java.lang.IllegalArgumentException: Cant convert argum...... 一.启动报错:为了避免导入的项目重名,我先修改了前一个项目的名称.重新启动该项目至tomcat,报错:java.lang.IllegalArgumentException: Can't convert argument: null二.发现问题:因为MyEclipse在修改

页面不能访问,抛出 spring java.lang.IllegalArgumentException: Name for argument type [java.lang.String] 异常

情况描述: web工程在windows环境eclipse下编译部署没有问题,使用ant打包部署到jboss上,启动正常没有错误,访问一些页面也没有问题,但是有的页面确不能访问,抛出异常如下: 13:28:17,656 ERROR [[springmvc]] Servlet.service() for servlet springmvc threw exceptionjava.lang.IllegalArgumentException: Name for argument type [java.l

java.lang.IllegalArgumentException: The observer is null.最终解决方案

在使用数据适配的时候的问题: java.lang.IllegalArgumentException: The observer is null. at android.database.Observable.unregisterObserver(Observable.java:64) at android.widget.BaseAdapter.unregisterDataSetObserver(BaseAdapter.java:42) at android.widget.AbsListView.

java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"

今天在配置spring-security.xml配置文件时出错 错误如下: 严重: Servlet.service() for servlet [security] in context with path [] threw exception java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" at org.springframework.security.c

java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"报错

出现问题的原因: 内存用户验证时,Spring boot 2.0.1引用的security 依赖是 spring security 5.X版本,此版本需要提供一个PasswordEncorder的实例,否则后台汇报错误: java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null" 并且页面毫无响应. 解决方法: 创建PasswordEncorder的实现类MyPassw

java.lang.IllegalArgumentException: attempt to create saveOrUpdate event with null entity

今天想把ssh整合的代码跑起来,控制台就一直在报错,搞了半天!!! Hibernate: select computer0_.computerId as computer1_0_, computer0_.computerName as computer2_0_, computer0_.computerPrice as computer3_0_, computer0_.computerType as computer4_0_ from computer computer0_java.lang.Il

java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null”

在spring security中设置默认的登录人的信息,遇到的异常信息: java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null” 有些版本不要求这样子做,所以就不会有该问题的发生, 我现在用的是5.0版本,强制要求提供一个,所以我们就给一个PasswordEncoder给他. 我们也可以使用Spring自带的PasswordEncoder.为了方便起见,我们以明文形式存密码