java.lang.NoClassDefFoundError: org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor

Stack Overflow | banes | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Spring boot Classnotfoundexception : org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor

    Stack Overflow | 10 months ago | banes
    java.lang.NoClassDefFoundError: org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/springframework/orm/jpa/support/PersistenceAnnotationBeanPostProcessor

      at org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.<clinit>()
    2. Spring Data JPA
      JpaRepositoryConfigExtension.<clinit>
      1. org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.<clinit>(JpaRepositoryConfigExtension.java:65)
      1 frame
    3. Spring Boot AutoConfigure
      AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions
      1. org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfigureRegistrar.getRepositoryConfigurationExtension(JpaRepositoriesAutoConfigureRegistrar.java:49)
      2. org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions(AbstractRepositoryConfigurationSourceSupport.java:60)
      2 frames
    4. Spring Context
      ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass
      1. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:352)
      2. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:143)
      2 frames