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