Когда я запускаю процесс весенней загрузки Proyect, процесс завершается с кодом выхода 1 и атрибутом исключения 'proxyBeanMethods' - PullRequest
0 голосов
/ 07 апреля 2020

2020-04-06 23: 49: 23.738 INFO 14048 --- [main] c .s.contacts.ContactsWsApplication: Начальные контактыWsApplication на Lenovo-P C с PID 14048 (C: \ Users \ JOSERAMON \ IdeaProjects \ blog-contacts-ws-parte-3 \ contacts-ws \ target \ классы, созданные JOSERAMON в C: \ Users \ JOSERAMON \ IdeaProjects \ blog-contacts-ws-parte-3 \ contacts-ws ) 2020-04-06 23: 49: 23.746 INFO 14048 --- [main] c .s.contacts.ContactsWsApplication: активный профиль не настроен, возвращаясь к профилям по умолчанию: по умолчанию 2020-04-06 23:49: 24.558 ОШИБКА 14048 --- [main] osboot.SpringApplication: сбой запуска приложения

org.springframework.core.annotation.AnnotationConfigurationException: атрибут 'proxyBeanMethods' в аннотации [org.springframework.boot.prconSpring.pring.pring.pring.pring.pring.pring.prcon.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.pring.prolication.pro объявлен как несуществующий атрибут @AliasFor 'proxyBeanMethods' в аннотации [org.springframework.context.annotation.Configuration] .; Вложенное исключение: java .lang.NoSuchMethodException: org.springframework.context.annotation.Configuration.proxyBeanMethods () в org.springframework.core.annotation.AnnotationUtils $ AliasDescriptor. core-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.core.annotation.AnnotationUtils $ AliasDescriptor.from (AnnotationUtils. java: 2148) ~ [spring-core-5.1.5.RELEASE .jar: 5.1.5.RELEASE] at org.springframework.core.annotation.AnnotationUtils $ AliasDescriptor.getOtherDescriptors (AnnotationUtils. java: 2312) ~ [spring-core-5.1.5.RELEASE.jar: 5.1.5. RELEASE] at org.springframework.core.annotation.AnnotationUtils $ AliasDescriptor.getAttributeAliasNames (AnnotationUtils. java: 2299) ~ [spring-core-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.spring. core.annotation.AnnotationUtils.getAttributeAliasNames (AnnotationUtils. java: 1813) ~ [spring-core-5.1.5.RELEASE.jar: 5.1.5.RELEASE] по адресу org.springframework.core.annotation.AnnotationUtils.getAttributeAlias ​​( ionUtils. java: 1722) ~ [spring-core-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.core.annotation.AnnotationUtils.postProcessAnnotationAttributes (AnnotationUtils. java: 1335) ~ [spring-core-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.core.annotation.AnnotatedElementUtils.getMergedAnnotationAttributes (AnnotatedElementUtils. java: 365) ~ [spring-core-5.1.5. RELEASE.jar: 5.1.5.RELEASE] at org.springframework.core.type.StandardAnnotationMetadata.getAnnotationAttributes (StandardAnnotationMetadata. java: 121) ~ [spring-core-5.1.5.RELEASE.jar: 5.1.5.REL ] at org.springframework.context.annotation.AnnotationConfigUtils.attributesFor (AnnotationConfigUtils. java: 285) ~ [spring-context-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.context.antation .AnnotationBeanNameGenerator.determineBeanNameFromAnnotation (AnnotationBeanNameGenerator. java: 93) ~ [spring-context-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.context.annotation.AnameGentation nerateBeanName (AnnotationBeanNameGenerator. java: 72) ~ [spring-context-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean: Reean Reader Reader Reader Reader Reader Reader Reader Reader Reader Reader Reader. Reader ) ~ [spring-context-5.1.5.RELEASE.jar: 5.1.5.RELEASE] в org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean (AnnotatedBeanDefinitionReader. java: 145) ~ [spring-context-5.1. 5.RELEASE.jar: 5.1.5.RELEASE] at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register (AnnotatedBeanDefinitionReader. java: 135) ~ [spring-context-5.1.5.RELEASE.jar: 5.1.5 .RELEASE] at org.springframework.boot.BeanDefinitionLoader.load (BeanDefinitionLoader. java: 158) ~ [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] в org.springframework.boot.BeanDefinition .load (BeanDefinitionLoader. java: 135) ~ [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] в org.springframework. boot.BeanDefinitionLoader.load (BeanDefinitionLoader. java: 127) ~ [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] в org.springframework.boot.SpringApplication.load (SpringApplication. java) : 717) [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] в org.springframework.boot.SpringApplication.prepareContext (SpringApplication. java: 392) [spring-boot-2.1.3. RELEASE.jar: 2.1.3.RELEASE] в org.springframework.boot.SpringApplication.run (SpringApplication. java: 314) [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] в организации .springframework.boot.SpringApplication.run (SpringApplication. java: 1260) [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] в org.springframework.boot.SpringApplication.run (SpringApplication. java: 1248) [spring-boot-2.1.3.RELEASE.jar: 2.1.3.RELEASE] по адресу com.sinbugs.contacts.ContactsWsApplication.main (ContactsWsApplication. java: 13) [classes /: na] Причина по: java .lang.NoSuchMethodException: org.springframework.context.annotation.Configuration.proxyBeanMethods () в java .lang.Class.getDecla redMethod (Class. java: 2130) ~ [na: 1.8.0_51] at org.springframework.core.annotation.AnnotationUtils $ AliasDescriptor. (AnnotationUtils. java: 2173) ~ [spring-core-5.1.5. RELEASE.jar: 5.1.5.RELEASE] ... пропущено 23 общих кадра

Процесс завершен с кодом выхода 1

My pom. xml is:

http://maven.apache.org/xsd/maven-4.0.0.xsd "> 4.0.0

<groupId>com.sinbugs</groupId>
<artifactId>contacts-ws</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>contacts-ws</name>
<description>Servicio web REST simple</description>

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.1.3.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.version>1.8</java.version>
</properties>

<dependencies>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    <dependency>
        <groupId>net.sf.dozer</groupId>
        <artifactId>dozer</artifactId>
        <version>5.5.1</version>
    </dependency>

    <dependency>
        <groupId>com.h2database</groupId>
        <artifactId>h2</artifactId>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <version>1.18.8</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.data</groupId>
        <artifactId>spring-data-jpa</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-autoconfigure</artifactId>
        <version>2.2.6.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-autoconfigure</artifactId>
        <version>2.2.6.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-autoconfigure</artifactId>
        <version>2.2.6.RELEASE</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>


</project>

Большое спасибо

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...