Hi,
On 27/10/14 05:52, Vjacheslav V. Borisov wrote:
2014-10-23 16:20 GMT+04:00 Vjacheslav V. Borisov <[email protected]>:
2014-10-23 16:02 GMT+04:00 Vjacheslav V. Borisov <[email protected]>:
May be I am doing something wrong, but @Autowired (tried on method and
property) does not work, I am getting
org.springframework.beans.factory.NoSuchBeanDefinitionException
No qualifying bean of type [xxx.SegmentResourceImpl] found for
dependency: expected at least 1 bean which qualifies as autowire candidate
for this dependency. Dependency annotations: {@org.springframework.beans.
@Autowired is working when I place in beans.xml
<bean class="xxx.SegmentResourceImpl"/> (without any refs to it)
That should not be needed... Did you add @Component annotations too to
the auto-discovered service beans ?
I'll try to write a test when I get some free time...
Cheers, Sergey