我创建了一个新的Aspect并且没有加载自动装配的bean
@Aspect
@Component
public class LoggingAspect {
private static final Logger logger = LoggerFactory.getLogger(LoggingAspect.class);
@Autowired
private EmployeeService employeeService;
@Autowired
private EmployeeDAO employeeDAO;
}
未加载自动装配的bean并仅显示为null。
春季版
<org.springframework-version>4.0.6.RELEASE</org.springframework-version>