Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring I';我在添加JPA依赖项时遇到问题_Spring_Spring Boot_Maven_Spring Mvc_Spring Data Jpa - Fatal编程技术网

Spring I';我在添加JPA依赖项时遇到问题

Spring I';我在添加JPA依赖项时遇到问题,spring,spring-boot,maven,spring-mvc,spring-data-jpa,Spring,Spring Boot,Maven,Spring Mvc,Spring Data Jpa,以下方法不存在: org.springframework.transaction.annotation.SpringTransactionAnnotationParser.isCandidateClass(SpringTransactionAnnotationParser.java:44) 该方法的类org.springframework.core.annotation.AnnotationUtils可从以下位置获得: org.springframework.core.annotation.A

以下方法不存在:

org.springframework.transaction.annotation.SpringTransactionAnnotationParser.isCandidateClass(SpringTransactionAnnotationParser.java:44)
该方法的类org.springframework.core.annotation.AnnotationUtils可从以下位置获得:

org.springframework.core.annotation.AnnotationUtils.isCandidateClass(Ljava/lang/Class;Ljava/lang/Class;)Z
它是从以下位置加载的:

<!-- jpa -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
jar:file:/C:/Users/gustavo.felix/.m2/repository/org/springframework/spring-core/5.1.9.RELEASE/spring-core-5.1.9.RELEASE.jar!/org/springframework/core/annotation/AnnotationUtils.class
行动:


请更正应用程序的类路径,使其包含org.springframework.core.annotation.AnnotationUtils的一个兼容版本

我认为我们需要比这多得多的数据,特别是POM文件。听起来依赖关系管理混乱了。请提供整个pom文件。我猜您的
初始父项
依赖关系有问题,或者依赖关系管理有问题
file:/C:/Users/gustavo.felix/.m2/repository/org/springframework/spring-core/5.1.9.RELEASE/spring-core-5.1.9.RELEASE.jar