Vladimir,
If you're using JBoss AS 5.x, try this:
1) download Snowdrop from http://jboss.org/snowdrop and include the snowdrop-vfs.jar in your application
2) use
in bean-ref-context.xml (instead of ClassPathXmlApplicationContext) as explained in 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