Closed novawoo closed 8 years ago
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>${spring-data-jpa.version}</version>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-image-generator</artifactId>
<version>${activiti.version}</version>
</dependency>
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/nova/Code/IdeaProjects/kft-activiti-demo/target/kft-activiti-demo/WEB-INF/classes/beans/beans-orm.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.registerIfNotAlreadyRegistered(Lorg/springframework/beans/factory/support/AbstractBeanDefinition;Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;Ljava/lang/String;Ljava/lang/Object;)
这个问题是项目中缺少依赖,需要修改的内容已向作者提交pull request
,可以关注版本更新。
当前master上的代码,Maven编译时报缺少依赖,根据提示,分别缺: org.springframework.data.repository.CrudRepository; org.activiti.image.ProcessDiagramGenerator;