注入報錯問題
為什么一直報錯,求解:Error creating bean with name 'employeeDao' defined in class path resource [applicationContext.xml]: Invocation of init method failed;
為什么一直報錯,求解:Error creating bean with name 'employeeDao' defined in class path resource [applicationContext.xml]: Invocation of init method failed;
2017-11-15
舉報
2017-11-17
是不是沒注入,看下配置文件是否注入dao,是否使用@Autowired