Migrating from jboss 4.2.3 to jboss 5.1.0 getting spring related errors -


getting below error while migrating through jboss 4.2.3 jboss 5.1.0. jboss 5.1.0 not able load spring configuration files. additionally have removed below errors creating object explicitly using new keyword in java class instead of using spring dependency injection “viewchactionhelper'”.

and able resolve errors getting @ time of server startup. able see login page when click on login button calls action i.e. loginaction in creating object of service class through setter getter dependency injection in case throwing nullpointerexception.

i believe there problem in loading spring configurations.

any appreciated.

org.springframework.beans.factory.beancreationexception: error creating bean name '/buildclient' defined in servletcontext resource [/web-inf/action-servlet.xml]: initialization of bean failed; nested exception org.springframework.beans.conversionnotsupportedexception: failed convert property value of type 'com.northstar.wms.cpm.ui.client.viewchactionhelper' required type 'com.northstar.wms.cpm.ui.client.viewchactionhelper' property 'viewactionhelper'; nested exception java.lang.illegalstateexception: cannot convert value of type [com.northstar.wms.cpm.ui.client.viewchactionhelper] required type [com.northstar.wms.cpm.ui.client.viewchactionhelper] property 'viewactionhelper': no matching editors or conversion strategy found  @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:527)  @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:456)  @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:291)  @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:222)  @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:288)  @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:190)  @ org.springframework.beans.factory.support.defaultlistablebeanfactory.preinstantiatesingletons(defaultlistablebeanfactory.java:574)  @ org.springframework.context.support.abstractapplicationcontext.finishbeanfactoryinitialization(abstractapplicationcontext.java:895)  @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:425)  @ org.springframework.web.struts.contextloaderplugin.createwebapplicationcontext(contextloaderplugin.java:356)  @ org.springframework.web.struts.contextloaderplugin.initwebapplicationcontext(contextloaderplugin.java:297)  @ org.springframework.web.struts.contextloaderplugin.init(contextloaderplugin.java:227)  @ org.apache.struts.action.actionservlet.initmoduleplugins(actionservlet.java:1158)  @ org.apache.struts.action.actionservlet.init(actionservlet.java:473)  @ javax.servlet.genericservlet.init(genericservlet.java:212)  @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1048)  @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:950)  @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:4122)  @ org.apache.catalina.core.standardcontext.start(standardcontext.java:4421)  @ org.jboss.web.tomcat.service.deployers.tomcatdeployment.performdeployinternal(tomcatdeployment.java:310)  @ org.jboss.web.tomcat.service.deployers.tomcatdeployment.performdeploy(tomcatdeployment.java:142)  @ org.jboss.web.deployers.abstractwardeployment.start(abstractwardeployment.java:461)  @ org.jboss.web.deployers.webmodule.startmodule(webmodule.java:118)  @ org.jboss.web.deployers.webmodule.start(webmodule.java:97)  @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)  @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)  @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)  @ java.lang.reflect.method.invoke(method.java:597)  @ org.jboss.mx.interceptor.reflecteddispatcher.invoke(reflecteddispatcher.java:157)  @ org.jboss.mx.server.invocation.dispatch(invocation.java:96)  @ org.jboss.mx.server.invocation.invoke(invocation.java:88)  @ org.jboss.mx.server.abstractmbeaninvoker.invoke(abstractmbeaninvoker.java:264)  @ org.jboss.mx.server.mbeanserverimpl.invoke(mbeanserverimpl.java:668)  @ org.jboss.system.microcontainer.serviceproxy.invoke(serviceproxy.java:206)  @ com.sun.proxy.$proxy38.start(unknown source)  @ org.jboss.system.microcontainer.startstoplifecycleaction.installaction(startstoplifecycleaction.java:42)  @ org.jboss.system.microcontainer.startstoplifecycleaction.installaction(startstoplifecycleaction.java:37)  @ org.jboss.dependency.plugins.action.simplecontrollercontextaction.simpleinstallaction(simplecontrollercontextaction.java:62)  @ org.jboss.dependency.plugins.action.accesscontrollercontextaction.install(accesscontrollercontextaction.java:71)  @ org.jboss.dependency.plugins.abstractcontrollercontextactions.install(abstractcontrollercontextactions.java:51)  @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)  @ org.jboss.system.microcontainer.servicecontrollercontext.install(servicecontrollercontext.java:286)  @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)  @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)  @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)  @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)  @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)  @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)  @ org.jboss.system.servicecontroller.dochange(servicecontroller.java:688)  @ org.jboss.system.servicecontroller.start(servicecontroller.java:460)  @ org.jboss.system.deployers.servicedeployer.start(servicedeployer.java:163)  @ org.jboss.system.deployers.servicedeployer.deploy(servicedeployer.java:99)  @ org.jboss.system.deployers.servicedeployer.deploy(servicedeployer.java:46)  @ org.jboss.deployers.spi.deployer.helpers.abstractsimplerealdeployer.internaldeploy(abstractsimplerealdeployer.java:62)  @ org.jboss.deployers.spi.deployer.helpers.abstractrealdeployer.deploy(abstractrealdeployer.java:50)  @ org.jboss.deployers.plugins.deployers.deployerwrapper.deploy(deployerwrapper.java:171)  @ org.jboss.deployers.plugins.deployers.deployersimpl.dodeploy(deployersimpl.java:1439)  @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1157)  @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1178)  @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1210)  @ org.jboss.deployers.plugins.deployers.deployersimpl.install(deployersimpl.java:1098)  @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)  @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)  @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)  @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)  @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)  @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)  @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)  @ org.jboss.deployers.plugins.deployers.deployersimpl.process(deployersimpl.java:781)  @ org.jboss.deployers.plugins.main.maindeployerimpl.process(maindeployerimpl.java:702)  @ org.jboss.system.server.profileservice.repository.maindeployeradapter.process(maindeployeradapter.java:117)  @ org.jboss.system.server.profileservice.repository.profiledeployaction.install(profiledeployaction.java:70)  @ org.jboss.system.server.profileservice.repository.abstractprofileaction.install(abstractprofileaction.java:53)  @ org.jboss.system.server.profileservice.repository.abstractprofileservice.install(abstractprofileservice.java:361)  @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)  @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)  @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)  @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)  @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)  @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)  @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)  @ org.jboss.system.server.profileservice.repository.abstractprofileservice.activateprofile(abstractprofileservice.java:306)  @ org.jboss.system.server.profileservice.profileservicebootstrap.start(profileservicebootstrap.java:271)  @ org.jboss.bootstrap.abstractserverimpl.start(abstractserverimpl.java:461)  @ org.jboss.main.boot(main.java:221)  @ org.jboss.main$1.run(main.java:556)  @ java.lang.thread.run(thread.java:662) caused by: org.springframework.beans.conversionnotsupportedexception: failed convert property value of type 'com.northstar.wms.cpm.ui.client.viewchactionhelper' required type 'com.northstar.wms.cpm.ui.client.viewchactionhelper' property 'viewactionhelper'; nested exception java.lang.illegalstateexception: cannot convert value of type [com.northstar.wms.cpm.ui.client.viewchactionhelper] required type [com.northstar.wms.cpm.ui.client.viewchactionhelper] property 'viewactionhelper': no matching editors or conversion strategy found  @ org.springframework.beans.beanwrapperimpl.convertifnecessary(beanwrapperimpl.java:462)  @ org.springframework.beans.beanwrapperimpl.convertforproperty(beanwrapperimpl.java:499)  @ org.springframework.beans.beanwrapperimpl.convertforproperty(beanwrapperimpl.java:493)  @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.convertforproperty(abstractautowirecapablebeanfactory.java:1363)  @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1322)  @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1076)  @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:517)  ... 86 more caused by: java.lang.illegalstateexception: cannot convert value of type [com.northstar.wms.cpm.ui.client.viewchactionhelper] required type [com.northstar.wms.cpm.ui.client.viewchactionhelper] property 'viewactionhelper': no matching editors or conversion strategy found  @ org.springframework.beans.typeconverterdelegate.convertifnecessary(typeconverterdelegate.java:231)  @ org.springframework.beans.beanwrapperimpl.convertifnecessary(beanwrapperimpl.java:447)  ... 92 more  


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -