Java jhipster应用程序运行失败:不支持的主版本。次版本52.0

Java jhipster应用程序运行失败:不支持的主版本。次版本52.0,java,spring,maven,maven-3,jhipster,Java,Spring,Maven,Maven 3,Jhipster,我创建了一个jhipster应用程序并在inteljidea上运行它, 我得到了这个错误: org.springframework.beans.factory.BeanDefinitionStoreException:未能读取候选组件类:URL[jar:file:/Users/retina/.m2/repository/io/springfox/springfox-swagger2/2.0.3/springfox-swagger2-2.0.3.jar!/springfox/documentati

我创建了一个jhipster应用程序并在inteljidea上运行它, 我得到了这个错误:

org.springframework.beans.factory.BeanDefinitionStoreException:未能读取候选组件类:URL[jar:file:/Users/retina/.m2/repository/io/springfox/springfox-swagger2/2.0.3/springfox-swagger2-2.0.3.jar!/springfox/documentation/swagger2/mappers/LicenseMapper$License.class];嵌套的异常是java.lang.UnsupportedClassVersionError:org/mapstruct/Qualifier:Unsupported major.minor Version52.0 在org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:303)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:140)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:266)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:230)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:486)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:276)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:230)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:270)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:230)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:197)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:166)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:306)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.annotation.ConfigurationClassPostProcessor.PostProcessBeandDefinitionRegistry(ConfigurationClassPostProcessor.java:239)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 位于org.springframework.context.support.postprocessorregistrationlegate.invokeBeanDefinitionRegistryPostProcessors(postprocessorregistrationlegate.java:254)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.support.postprocessorregistrationlegate.invokeBeanFactoryPostProcessors(postprocessorregistrationlegate.java:94)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 位于org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] 在org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)[spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] 在org.springframework.boot.SpringApplication.run(SpringApplication.java:320)[spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] 位于org.springframework.boot.test.SpringApplicationContextLoader.loadContext(SpringApplicationContextLoader.java:103)[spring-boot-1.2.5.RELEASE.jar:1.2.5.RELEASE] 位于org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 位于org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200)[spring-test-4.1.7.RELEASE.jar:4.1.7.RELEASE] 在组织
<dependency>
        <groupId>org.mapstruct</groupId>
        <artifactId>mapstruct-jdk8</artifactId>
        <version>${mapstruct.version}</version>
</dependency>