@Component spring beans are not scanned automatically, so added component-scan to application-context.xml