错误集

 

1 

javax.servlet.ServletException: Unable to instantiate Action, DictionaryValueAction,  defined for 'dictionaryValue_list' in namespace '/admin'Error creating bean with name 'DictionaryValueAction' defined in class path resource [strutsActionContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy43 implementing com.zhongrx.admin.data.service.DictionaryValueService,com.zhongrx.common.service.GeneralService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.zhongrx.admin.data.service.DictionaryValueService] for property 'dictionaryValueService'; nested exception is java.lang.IllegalArgumentException: Original must not be null - action - file:/C:/Apache%20Tomcat%206.0.16/webapps/archives/WEB-INF/classes/struts.xml:152:84

       org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)

       org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)

       com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)

       com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)

       org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)

root cause

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DictionaryValueAction' defined in class path resource [strutsActionContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy43 implementing com.zhongrx.admin.data.service.DictionaryValueService,com.zhongrx.common.service.GeneralService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.zhongrx.admin.data.service.DictionaryValueService] for property 'dictionaryValueService'; nested exception is java.lang.IllegalArgumentException: Original must not be null

       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)

       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

       java.security.AccessController.doPrivileged(Native Method)

       org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

       org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)

       org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

       org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

       org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)

       com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:126)

       com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:143)

       com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:113)

       com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:275)

       com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:365)

       com.opensymphony.xwork2.DefaultActionInvocation.access$000(DefaultActionInvocation.java:38)

       com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:83)

       com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)

       com.opensymphony.xwork2.DefaultActionInvocation.<init>(DefaultActionInvocation.java:74)

       com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:189)

       org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)

       org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)

       org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)

       com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)

       com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)

       org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)

root cause

 

org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy43 implementing com.zhongrx.admin.data.service.DictionaryValueService,com.zhongrx.common.service.GeneralService,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised] to required type [com.zhongrx.admin.data.service.DictionaryValueService] for property 'dictionaryValueService'; nested exception is java.lang.IllegalArgumentException: Original must not be null

       org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:391)

 

root cause

 

java.lang.IllegalArgumentException: Original must not be null

 

解决方法,一般是在Actionset get 方法的时候错了.

 

 

 

 

 

 

2

抱歉,方法的参数错误(id to load is required for loading) 请稍后再试或与管理员联系!

 

 

解决方法:需要ID,可以用隐藏表单的方式.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值