spring - java.lang.IllegalStateException: Cannot convert value of type X to required type X for property y: no matching editors or conversion strategy found -
i getting
java.lang.illegalstateexception: cannot convert value of type x required type x property y: no matching editors or conversion strategy found
while trying upgrade jboss 4.2.3 wildfly. same bean creation working older version not . appriciable.
ref beans
<bean name="/newproposal.run" class="relpolicycontroller" scope="prototype"> <property name="facade" ref="policyfacade" /> <property name="underwritingfacade" ref="underwritingfacade" /> <property name="agentfacade" ref="agentfacade" /> <property name="productfacade" ref="productfacade" /> <property name="partyfacade" ref="partyfacade" /> <property name="collectionfacade" ref="collectionfacade" /> <property name="searchfacade" ref="searchfacade" /> <property name="emailfacade" ref="emailfacade"></property> <property name="view" value="policy/relbranchproposalentry"></property> </bean> <bean id="partyfacade" class="partyfacadeimpl" scope="prototype"> <property name="service" value="createpartyservice" ></property> <property name="partyduplicateconfigservice" value="partyduplicateconfigservice"></property> <property name="partyduplicateconfigfinder" value="partyduplicateconfigfinder"></property> </bean>
2017-07-26 12:36:05,201 error [io.undertow.request] (default task-11) ut005023: exception handling request /insurance/newrelnewhealthproposalajax.run: org.springframework.web.util.nestedservletexception: request processing failed; nested exception org.springframework.beans.factory.beancreationexception: error creating bean name '/newrelnewhealthproposalajax.run' defined in servletcontext resource [/web-inf/policy-servlet.xml]: initialization of bean failed; nested exception org.springframework.beans.conversionnotsupportedexception: failed convert property value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade'; nested exception java.lang.illegalstateexception: cannot convert value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade': no matching editors or conversion strategy found @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:982) @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:861) @ javax.servlet.http.httpservlet.service(httpservlet.java:687) @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:846) @ javax.servlet.http.httpservlet.service(httpservlet.java:790) @ io.undertow.servlet.handlers.servlethandler.handlerequest(servlethandler.java:86) @ io.undertow.servlet.handlers.filterhandler$filterchainimpl.dofilter(filterhandler.java:130) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:317) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor.invoke(filtersecurityinterceptor.java:127) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor.dofilter(filtersecurityinterceptor.java:91) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.access.exceptiontranslationfilter.dofilter(exceptiontranslationfilter.java:115) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.authentication.abstractauthenticationprocessingfilter.dofilter(abstractauthenticationprocessingfilter.java:200) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.authentication.logout.logoutfilter.dofilter(logoutfilter.java:121) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.authentication.logout.logoutfilter.dofilter(logoutfilter.java:121) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.context.securitycontextpersistencefilter.dofilter(securitycontextpersistencefilter.java:105) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.broadleafcommerce.profile.web.core.security.sessionfixationprotectionfilter.dofilter(sessionfixationprotectionfilter.java:85) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.session.concurrentsessionfilter.dofilter(concurrentsessionfilter.java:134) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:331) @ org.springframework.security.web.filterchainproxy.dofilterinternal(filterchainproxy.java:214) @ org.springframework.security.web.filterchainproxy.dofilter(filterchainproxy.java:177) @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:346) @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:262) @ io.undertow.servlet.core.managedfilter.dofilter(managedfilter.java:60) @ io.undertow.servlet.handlers.filterhandler$filterchainimpl.dofilter(filterhandler.java:132) @ io.undertow.servlet.handlers.filterhandler.handlerequest(filterhandler.java:85) @ io.undertow.servlet.handlers.security.servletsecurityrolehandler.handlerequest(servletsecurityrolehandler.java:62) @ io.undertow.servlet.handlers.servletdispatchinghandler.handlerequest(servletdispatchinghandler.java:36) @ org.wildfly.extension.undertow.security.securitycontextassociationhandler.handlerequest(securitycontextassociationhandler.java:78) @ io.undertow.server.handlers.predicatehandler.handlerequest(predicatehandler.java:43) @ io.undertow.servlet.handlers.security.sslinformationassociationhandler.handlerequest(sslinformationassociationhandler.java:131) @ io.undertow.servlet.handlers.security.servletauthenticationcallhandler.handlerequest(servletauthenticationcallhandler.java:57) @ io.undertow.server.handlers.predicatehandler.handlerequest(predicatehandler.java:43) @ io.undertow.security.handlers.abstractconfidentialityhandler.handlerequest(abstractconfidentialityhandler.java:46) @ io.undertow.servlet.handlers.security.servletconfidentialityconstrainthandler.handlerequest(servletconfidentialityconstrainthandler.java:64) @ io.undertow.security.handlers.authenticationmechanismshandler.handlerequest(authenticationmechanismshandler.java:58) @ io.undertow.servlet.handlers.security.cachedauthenticatedsessionhandler.handlerequest(cachedauthenticatedsessionhandler.java:72) @ io.undertow.security.handlers.notificationreceiverhandler.handlerequest(notificationreceiverhandler.java:50) @ io.undertow.security.handlers.securityinitialhandler.handlerequest(securityinitialhandler.java:76) @ io.undertow.server.handlers.predicatehandler.handlerequest(predicatehandler.java:43) @ org.wildfly.extension.undertow.security.jacc.jacccontextidhandler.handlerequest(jacccontextidhandler.java:61) @ io.undertow.server.handlers.predicatehandler.handlerequest(predicatehandler.java:43) @ io.undertow.server.handlers.predicatehandler.handlerequest(predicatehandler.java:43) @ io.undertow.servlet.handlers.servletinitialhandler.handlefirstrequest(servletinitialhandler.java:282) @ io.undertow.servlet.handlers.servletinitialhandler.dispatchrequest(servletinitialhandler.java:261) @ io.undertow.servlet.handlers.servletinitialhandler.access$000(servletinitialhandler.java:80) @ io.undertow.servlet.handlers.servletinitialhandler$1.handlerequest(servletinitialhandler.java:172) @ io.undertow.server.connectors.executeroothandler(connectors.java:199) @ io.undertow.server.httpserverexchange$1.run(httpserverexchange.java:774) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) caused by: org.springframework.beans.factory.beancreationexception: error creating bean name '/newrelnewhealthproposalajax.run' defined in servletcontext resource [/web-inf/policy-servlet.xml]: initialization of bean failed; nested exception org.springframework.beans.conversionnotsupportedexception: failed convert property value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade'; nested exception java.lang.illegalstateexception: cannot convert value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade': no matching editors or conversion strategy found @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:563) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:483) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:325) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:197) @ org.springframework.context.support.abstractapplicationcontext.getbean(abstractapplicationcontext.java:1081) @ org.springframework.web.servlet.handler.abstracturlhandlermapping.lookuphandler(abstracturlhandlermapping.java:168) @ org.springframework.web.servlet.handler.abstracturlhandlermapping.gethandlerinternal(abstracturlhandlermapping.java:118) @ org.springframework.web.servlet.handler.abstracthandlermapping.gethandler(abstracthandlermapping.java:352) @ org.springframework.web.servlet.dispatcherservlet.gethandler(dispatcherservlet.java:1131) @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:936) @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:897) @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:970) ... 57 more caused by: org.springframework.beans.conversionnotsupportedexception: failed convert property value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade'; nested exception java.lang.illegalstateexception: cannot convert value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade': no matching editors or conversion strategy found @ org.springframework.beans.abstractnestablepropertyaccessor.convertifnecessary(abstractnestablepropertyaccessor.java:591) @ org.springframework.beans.abstractnestablepropertyaccessor.convertforproperty(abstractnestablepropertyaccessor.java:603) @ org.springframework.beans.beanwrapperimpl.convertforproperty(beanwrapperimpl.java:216) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.convertforproperty(abstractautowirecapablebeanfactory.java:1538) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.applypropertyvalues(abstractautowirecapablebeanfactory.java:1497) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1237) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:552) ... 68 more caused by: java.lang.illegalstateexception: cannot convert value of type 'partyfacadeimpl' required type 'partyfacadeimpl' property 'partyfacade': no matching editors or conversion strategy found @ org.springframework.beans.typeconverterdelegate.convertifnecessary(typeconverterdelegate.java:306) @ org.springframework.beans.abstractnestablepropertyaccessor.convertifnecessary(abstractnestablepropertyaccessor.java:576) ... 74 more
Comments
Post a Comment