今天遇到一个报错,信息如下:
java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy45] to required type [org.dudu.box.service.AnswerManager] for property 'answerManager': no matching editors or conversion strategy found
起初以为是动态代理接口还是类的错误。
可是没有错误啊。
再仔细看:
javax.servlet.ServletException: Unable to instantiate Action, askBarAction, defined for 'indexAskBar' in namespace '/askbar'Error creating bean with name 'askBarAction' defined in class path resource [applicationContext-weiqi.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy45] to required type [org.dudu.box.service.AnswerManager] for property 'answerManager'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy45] to required type [org.dudu.box.service.AnswerManager] for property 'answerManager': no matching editors or conversion strategy found - action - file:/D:/software/apache-tomcat-6.0.18/webapps/cowboy-2.0/WEB-INF/classes/conf/struts-WEIQI.xml:72:72
焦点在'answerManager'上了!
可是前一阵子还能正常运行呢!
最后检查才发现同事也配置了一个'answerManager'!跟我的一摸一样!我晕~~
希望大家不要犯这种错误。
分享到:
相关推荐
SSH登录无实例化例子 SSH登录无实例化例子
FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient 通过控制台的...
1)第一种不是常驻型广播,也就是说广播跟随注册他的Activity的生命周期。 2)第二种是常驻型,也就是说当应用程序关闭后,如果有信息广播来,程序也会被系统调用自动运行。
WebService大讲堂之Axis2,多个实例,非常全的文档,从新手入门开始到复杂的实例
ar.com.tadp.xml.rinzo_0.9.0.zip eclipse xml 插件
dpoll ... 最初创建于 安装 $ python3 -m venv dpoll-env $ tmp source dpoll-env/bin/activate ...$ cd dpoll.xyz $ pip install -r requirements.txt $ touch dpoll/base/settings.py dpoll/base/local_settings.py ...
学习使用Prefabs和instantiate使用方法!
Unity3D教程:Prefabs与Instantiate1
{“success”:false,“message”:“Failed to instantiate the chaincode. cause:instantiate proposal resulted in an error :: Error: 2 UNKNOWN: chaincode error (status: 500, message: is not a valid ...
稳定的兔子 stablerabbit是一个用于Rabbitmq的库 ... log.Fatalf("unable to instantiate publisher: %s", err) } queueName := "shahin" if err = p.Publish(context.Background(), queueName
名称 WebService :: Pushover-Pushover ...) or die( "Unable to instantiate WebService::Pushover.\n" ); my %params = ( message => 'test test test', priority => 0, ); my $status = $push->message( %params
通过MediaExtractor抽取视频,然后再通过MediaMuxer产生视频文件
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.amqp.core.Queue]: Factory method 'clientQueue' threw exception; nested exception is org....
Constructor scope altered to public for base class to instantiate.
本文实例为大家分享了Unity中Instantiate实例化物体卡顿问题的解决方法,供大家参考,具体内容如下 一、前言 当在执行多次Instantiate实例化物体时,会卡顿严重甚至在移动端会导致程序崩溃 因为Instantiate会产生...
discover the operations available on it, and to instantiate the appropriate bean to perform said operation(s). For example, if a browser obtained a JPEG image, this framework would enable the browser...
composer require bizley/deep-instantiate:^1.0 用法 直接-只需调用new \Bizley\DeepInstantiate\Container() 。全局-设置\Yii::$container = new \Bizley\DeepInstantiate\Container();在您的输入脚本中。 增强...
No Hibernate Session bound to thread,没有绑定线程解决办法,找了好久才找到的
Chapter 3 gets you to use C# to instantiate, use and control Rigidbody objects from your script as well as explosions. Chapter 4 explains how to create a simple weapon management system. You will ...
定义:Define an interface for creating an object,but let subclasses decide which class to instantiate.Factory Method lets a class defer instantiation to subclasses. (定义一个用于创建对象的接口,让...