Fix spring autowire issue