Uploaded image for project: 'Spring Data JPA'
  1. Spring Data JPA
  2. DATAJPA-786

Cannot start ups spring boot 1.3.0.M4 application

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Works as Designed
    • Affects Version/s: 1.9 RC1 (Gosling)
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:
      windows,10, java 8

      Description

        .   ____          _            __ _ _
       /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
      ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
       \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
        '  |____| .__|_| |_|_| |_\__, | / / / /
       =========|_|==============|___/=/_/_/_/
       :: Spring Boot ::  (v1.3.0.BUILD-SNAPSHOT)
      
      2015-08-30 20:10:21.414  INFO 8944 --- [           main] com.eedgesoft.ApplicationConfig          : Starting ApplicationConfig on grusilag3 with PID 8944 (C:\projects\emo\target\classes started by vvm in C:\projects\emo)
      2015-08-30 20:10:25.705 ERROR 8944 --- [           main] o.s.boot.SpringApplication               : Application startup failed
      java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.springframework.data.jpa.repository.config.EnableJpaRepositories.repositoryBaseClass()
      	at java.lang.reflect.Method.getDefaultValue(Method.java:597) ~[na:1.8.0_25]
      	at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:128) ~[na:1.8.0_25]
      	at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:85) ~[na:1.8.0_25]
      	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:266) ~[na:1.8.0_25]
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120) ~[na:1.8.0_25]
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72) ~[na:1.8.0_25]
      	at java.lang.Class.createAnnotationData(Class.java:3513) ~[na:1.8.0_25]
      	at java.lang.Class.annotationData(Class.java:3502) ~[na:1.8.0_25]
      	at java.lang.Class.getDeclaredAnnotations(Class.java:3469) ~[na:1.8.0_25]
      	at org.springframework.core.annotation.AnnotatedElementUtils.searchWithGetSemantics(AnnotatedElementUtils.java:581) ~[spring-core-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.core.annotation.AnnotatedElementUtils.searchWithGetSemantics(AnnotatedElementUtils.java:546) ~[spring-core-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	... 23 common frames omitted
      Wrapped by: java.lang.IllegalStateException: Failed to introspect annotations on class org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfigureRegistrar$EnableJpaRepositoriesConfiguration
      	at org.springframework.core.annotation.AnnotatedElementUtils.searchWithGetSemantics(AnnotatedElementUtils.java:550) ~[spring-core-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.core.annotation.AnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElementUtils.java:354) ~[spring-core-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.core.type.StandardAnnotationMetadata.getAnnotationAttributes(StandardAnnotationMetadata.java:113) ~[spring-core-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.core.type.StandardAnnotationMetadata.getAnnotationAttributes(StandardAnnotationMetadata.java:108) ~[spring-core-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource.<init>(AnnotationRepositoryConfigurationSource.java:83) ~[spring-data-commons-1.10.2.RELEASE.jar:na]
      	at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport$1.<init>(AbstractRepositoryConfigurationSourceSupport.java:67) ~[spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.getConfigurationSource(AbstractRepositoryConfigurationSourceSupport.java:66) ~[spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions(AbstractRepositoryConfigurationSourceSupport.java:58) ~[spring-boot-autoconfigure-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:352) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:143) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:673) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519) ~[spring-context-4.2.1.BUILD-SNAPSHOT.jar:4.2.1.BUILD-SNAPSHOT]
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667) [spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342) [spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:273) [spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:971) [spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:960) [spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]
      	at com.eedgesoft.ApplicationConfig.main(ApplicationConfig.java:68) [classes/:na]
      Exception in thread "main" java.lang.IllegalStateException: Failed to introspect annotations on class org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfigureRegistrar$EnableJpaRepositoriesConfiguration
      	at org.springframework.core.annotation.AnnotatedElementUtils.searchWithGetSemantics(AnnotatedElementUtils.java:550)
      	at org.springframework.core.annotation.AnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElementUtils.java:354)
      	at org.springframework.core.type.StandardAnnotationMetadata.getAnnotationAttributes(StandardAnnotationMetadata.java:113)
      	at org.springframework.core.type.StandardAnnotationMetadata.getAnnotationAttributes(StandardAnnotationMetadata.java:108)
      	at org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource.<init>(AnnotationRepositoryConfigurationSource.java:83)
      	at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport$1.<init>(AbstractRepositoryConfigurationSourceSupport.java:67)
      	at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.getConfigurationSource(AbstractRepositoryConfigurationSourceSupport.java:66)
      	at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions(AbstractRepositoryConfigurationSourceSupport.java:58)
      	at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:352)
      	at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:143)
      	at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116)
      	at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:333)
      	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)
      	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
      	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)
      	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:673)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
      	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
      	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:667)
      	at org.springframework.boot.SpringApplication.doRun(SpringApplication.java:342)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:273)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:971)
      	at org.springframework.boot.SpringApplication.run(SpringApplication.java:960)
      	at com.eedgesoft.ApplicationConfig.main(ApplicationConfig.java:68)
      Caused by: java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.springframework.data.jpa.repository.config.EnableJpaRepositories.repositoryBaseClass()
      	at java.lang.reflect.Method.getDefaultValue(Method.java:597)
      	at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:128)
      	at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:85)
      	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:266)
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
      	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
      	at java.lang.Class.createAnnotationData(Class.java:3513)
      	at java.lang.Class.annotationData(Class.java:3502)
      	at java.lang.Class.getDeclaredAnnotations(Class.java:3469)
      	at org.springframework.core.annotation.AnnotatedElementUtils.searchWithGetSemantics(AnnotatedElementUtils.java:581)
      	at org.springframework.core.annotation.AnnotatedElementUtils.searchWithGetSemantics(AnnotatedElementUtils.java:546)
      	... 23 more
      

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Gierke
              Reporter:
              vvmar Vadim Marchenko
              Last updater:
              Vadim Marchenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: