Marius Bogoevici [
http://community.jboss.org/people/marius.bogoevici] replied to the
discussion
"@Autowiring of beans from Spring applicationcontext"
To view the discussion, visit:
http://community.jboss.org/message/542991#542991
--------------------------------------------------------------
Vladimir,
If you're using JBoss AS 5.x, try this:
1) download Snowdrop from
http://jboss.org/snowdrop http://jboss.org/snowdrop and include
the snowdrop-vfs.jar in your application
2) use
*
* org.jboss.spring.vfs.context.VFSClassPathXmlApplicationContext
in bean-ref-context.xml (instead of ClassPathXmlApplicationContext) as explained in
http://docs.jboss.org/snowdrop/1.0/html/ch02.html#d0e70
http://docs.jboss.org/snowdrop/1.0/html/ch02.html#d0e70)
Spring 2.5.6 cannot scan the CP for classes in JBoss AS 5 due to a bug explained in the
same doc.
Hope that helps - for any other questions - feel free to ask.
Marius
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/542991#542991]
Start a new discussion in Spring Integration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]