出现:
***************************
APPLICATION FAILED TO START
***************************
Description:
Field contentService in com.chinasofti.front.controller.IndexController required a bean of type 'com.chinasofti.manager.service.ContentService' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.chinasofti.manager.service.ContentService' in your configuration.
原因是我引用错了注解
将注解改成@Reference便可以了