[jboss-user] [JBoss/Spring Integration] - Re: Using beans from other spring module
bassualdo
do-not-reply at jboss.com
Wed Mar 14 17:24:44 EDT 2007
jussi_po
I'm trying to use your approach with delegation.
I'm running JBoss 4.0.4 and Spring 2.0.2
But when it comes to the injection of the BusinessContext into BusinessSearchDelegateImpl I got a strange exception:
java.lang.IllegalArgumentException:
Cannot convert value of type
[org.jboss.spring.factory.NamedXmlApplicationContext] to required
type [org.springframework.context.ApplicationContext] for property
'springModuleContext': no matching editors or conversion strategy found
I assume that smth is wrong with my deployment and/or class loading. Do you have any kind of a working sample (lie JBoss-Stpring.ear) that you can send me?
Probably I just need to compile the deployer against my runtime, but honestly, I got lost in the build script....
Any help would be very appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028169#4028169
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028169
More information about the jboss-user
mailing list