Spring can't inject @Resource to static field.