这是报错信息,下面提示有个对象注入错误,目测和依赖有关!但是考核项目是一样的别人都能够运行,不存在我的代码有问题,应该是其他问题,求大佬指点一下。给个解决方案?
[RMI TCP Connection(2)-127.0.0.1] WARN org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'approveDao': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.activiti.engine.TaskService com.kayak.web.act.dao.ApproveDao.taskService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException