今天使用Maven遇到了Jar包冲突问题!!!!!!!!!!!!!!!!!!!
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deviceService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'deviceMapper' defined in file [E:\Users\Administrator\Workspaces\MyEclipse 2015\Dryer Maven Webapp \target\classes\com\csun\dryer\dao\DeviceMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [spring-pool.xml]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
刚刚解决了,怎么解决的呢,通过dependency:tree -Dverbose查看冲突依赖!!!!