Skip to content

use springboot 1.5.5 version caused an error in MybatisAnnotationRepositoryConfigurationSource #133

@thc75

Description

@thc75

when use springboot 1.5.5 version,maven will download spring-data-common-1.13.5.jar,and springboot started with an error:
java.lang.NoSuchMethodError: org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource.(Lorg/springframework/core/type/AnnotationMetadata;Ljava/lang/Class;Lorg/springframework/core/io/ResourceLoader;Lorg/springframework/core/env/Environment;)V

class AnnotationRepositoryConfigurationSource in spring-data-common-1.13.5.jar have
AnnotationRepositoryConfigurationSource(AnnotationMetadata metadata, Class<? extends Annotation> annotation,
ResourceLoader resourceLoader, Environment environment, BeanDefinitionRegistry registry)

,but in spring-data-common-1.13.4.jar or before like this:
AnnotationRepositoryConfigurationSource(AnnotationMetadata metadata, Class<? extends Annotation> annotation,
ResourceLoader resourceLoader, Environment environment)

Maybe the class MybatisAnnotationRepositoryConfigurationSource in spring-data-mybatis should be updated.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions