简体   繁体   中英

Spring-Boot autoconfigure

Hello Team i have a error to init a Spring-Boot aplication because i change the parent version of spring-boot-starter-parent 2.1.3.Release to 2.2.4.RELEASE because im doing a changes with azure appConfiguration but when i trying to execture it im reciving the nex error.

ERROR 14244 --- [           main] o.s.boot.SpringApplication               : Application run failed
java.lang.IllegalStateException: Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer
    at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:60) ~[spring-boot-autoconfigure-2.2.4.RELEASE.jar:2.2.4.RELEASE]
    at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:184) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:144) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
    at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:236) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]
    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275) ~[spring-context-5.2.3.RELEASE.jar:5.2.3.RELEASE]

and my rest POM is this.

<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <artifactId>action-book-rest</artifactId>
    <name>Action Book (Rest)</name>

    <parent>
        <groupId>com.biit</groupId>
        <artifactId>action-book</artifactId>
        <version>0.2.1-SNAPSHOT</version>
    </parent>

    <properties>
        <main.basedir>${basedir}/..</main.basedir>
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.biit</groupId>
            <artifactId>action-book-core</artifactId>
            <version>${project.version}</version>
        </dependency>

        <dependency>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>spring-cloud-starter-azure-appconfiguration-config</artifactId>
            <version>1.2.5</version>
        </dependency>
        <dependency>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>spring-cloud-azure-feature-management-web</artifactId>
            <version>1.2.2</version>
        </dependency>
        <dependency>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>spring-cloud-azure-appconfiguration-config</artifactId>
            <version>1.2.2</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- Telemetry -->
        <dependency>
            <groupId>com.microsoft.azure</groupId>
            <artifactId>azure</artifactId>
            <version>${azure.version}</version>
        </dependency>
        <!-- Add Log4j2 Dependency -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-log4j2</artifactId>
        </dependency>

        <!-- Testing -->
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>${org.testng.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <!-- if this is not excluded and 'spring-boot-starter-log4j2' enabled, 
                testng causes a 'Cannot instantiate class' for all tests -->
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
            </exclusions>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.subethamail</groupId>
            <artifactId>subethasmtp-wiser</artifactId>
            <version>1.2</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>javax.servlet</groupId>
                    <artifactId>servlet-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>${springfox-swagger.version}</version>
        </dependency>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
            <version>${springfox-swagger.version}</version>
        </dependency>
        <dependency>
            <groupId>com.biit</groupId>
            <artifactId>action-underlying-model</artifactId>
            <version>${action-underlying-model.version}</version>
        </dependency>
        <dependency>
            <groupId>com.biit</groupId>
            <artifactId>openproject-database-structure</artifactId>
            <version>${openproject-database-structure.version}</version>
        </dependency>

        <dependency>
            <groupId>org.apache.tinkerpop</groupId>
            <artifactId>gremlin-driver</artifactId>
            <version>${tinkerpop.version}</version>
        </dependency>
        <dependency>
            <groupId>com.biit</groupId>
            <artifactId>open-project-structure</artifactId>
            <version>${open-project-structure.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <useFile>false</useFile>
                    <trimStackTrace>false</trimStackTrace>
                    <suiteXmlFiles>
                        <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
                    </suiteXmlFiles>
                    <useSystemClassLoader>false</useSystemClassLoader>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>repackage</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- Do not deploy this module in artifact -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
                <configuration>
                    <skip>true</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

I don't know what my mistake is, or what to try.

Try obtaining the list with all dependencies and see if there is any conflict between them: mvn dependency:tree

this is my dependency tree: but im not see any conflicts.

this is my dependency tree: but im not see any conflicts.

`com.biit:action-book-rest:jar:0.2.1-SNAPSHOT
[INFO] +- com.biit:action-book-core:jar:0.2.1-SNAPSHOT:compile
[INFO] |  +- com.biit:action-book-persistence:jar:0.2.1-SNAPSHOT:compile
[INFO] |  |  +- com.biit:action-book-logger:jar:0.2.1-SNAPSHOT:compile
[INFO] |  |  |  +- org.aspectj:aspectjrt:jar:1.9.5:compile
[INFO] |  |  |  +- org.aspectj:aspectjweaver:jar:1.9.5:compile
[INFO] |  |  |  +- org.springframework.boot:spring-boot-starter-aop:jar:2.2.4.RELEASE:compile
[INFO] |  |  |  \- com.microsoft.azure:applicationinsights-spring-boot-starter:jar:1.1.1:compile
[INFO] |  |  |     +- com.microsoft.azure:applicationinsights-core:jar:2.3.0:compile
[INFO] |  |  |     \- com.microsoft.azure:applicationinsights-web:jar:2.3.0:compile
[INFO] |  |  +- com.microsoft.sqlserver:mssql-jdbc:jar:7.4.1.jre8:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-data-jpa:jar:2.2.4.RELEASE:compile
[INFO] |  |     +- org.springframework.boot:spring-boot-starter-jdbc:jar:2.2.4.RELEASE:compile
[INFO] |  |     |  +- com.zaxxer:HikariCP:jar:3.4.2:compile
[INFO] |  |     |  \- org.springframework:spring-jdbc:jar:5.2.3.RELEASE:compile
[INFO] |  |     +- jakarta.persistence:jakarta.persistence-api:jar:2.2.3:compile
[INFO] |  |     +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] |  |     +- org.hibernate:hibernate-core:jar:5.4.10.Final:compile
[INFO] |  |     |  +- org.javassist:javassist:jar:3.24.0-GA:compile
[INFO] |  |     |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |     |  +- org.jboss:jandex:jar:2.1.1.Final:compile
[INFO] |  |     |  +- org.dom4j:dom4j:jar:2.1.1:compile
[INFO] |  |     |  +- org.hibernate.common:hibernate-commons-annotations:jar:5.1.0.Final:compile
[INFO] |  |     |  \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile
[INFO] |  |     |     +- org.glassfish.jaxb:txw2:jar:2.3.2:compile
[INFO] |  |     |     +- com.sun.istack:istack-commons-runtime:jar:3.0.8:compile
[INFO] |  |     |     +- org.jvnet.staxex:stax-ex:jar:1.8.1:compile
[INFO] |  |     |     \- com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile
[INFO] |  |     +- org.springframework.data:spring-data-jpa:jar:2.2.4.RELEASE:compile
[INFO] |  |     |  \- org.springframework:spring-orm:jar:5.2.3.RELEASE:compile
[INFO] |  |     \- org.springframework:spring-aspects:jar:5.2.3.RELEASE:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.10.2:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.10.2:compile
[INFO] |  +- org.glassfish.jersey.core:jersey-client:jar:2.29.1:compile
[INFO] |  |  +- jakarta.ws.rs:jakarta.ws.rs-api:jar:2.1.6:compile
[INFO] |  |  +- org.glassfish.jersey.core:jersey-common:jar:2.29.1:compile
[INFO] |  |  |  \- org.glassfish.hk2:osgi-resource-locator:jar:1.0.3:compile
[INFO] |  |  \- org.glassfish.hk2.external:jakarta.inject:jar:2.6.1:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.8.5:compile
[INFO] |  \- org.apache.httpcomponents:httpclient:jar:4.5.10:compile
[INFO] |     +- org.apache.httpcomponents:httpcore:jar:4.4.13:compile
[INFO] |     \- commons-codec:commons-codec:jar:1.13:compile
[INFO] +- com.microsoft.azure:spring-cloud-starter-azure-appconfiguration-config:jar:1.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-logging:jar:2.2.4.RELEASE:compile
[INFO] |  |  +- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] |  |  |  \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] |  |  \- org.apache.logging.log4j:log4j-to-slf4j:jar:2.12.1:compile
[INFO] |  \- org.hibernate.validator:hibernate-validator:jar:6.0.18.Final:compile
[INFO] |     +- javax.validation:validation-api:jar:2.0.1.Final:compile
[INFO] |     \- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] +- com.microsoft.azure:spring-cloud-azure-feature-management-web:jar:1.2.2:compile
[INFO] |  +- org.springframework:spring-web:jar:5.2.3.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-beans:jar:5.2.3.RELEASE:compile
[INFO] |  +- org.springframework:spring-webmvc:jar:5.2.3.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-aop:jar:5.2.3.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-context:jar:5.2.3.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-expression:jar:5.2.3.RELEASE:compile
[INFO] |  \- com.microsoft.azure:spring-cloud-azure-feature-management:jar:1.2.2:compile
[INFO] |     \- io.projectreactor.netty:reactor-netty:jar:0.9.4.RELEASE:compile
[INFO] +- com.microsoft.azure:spring-cloud-azure-appconfiguration-config:jar:1.2.2:compile
[INFO] |  +- org.springframework.boot:spring-boot-autoconfigure-processor:jar:2.2.4.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot-autoconfigure:jar:2.2.4.RELEASE:compile
[INFO] |  |  \- org.springframework.boot:spring-boot:jar:2.2.4.RELEASE:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-context:jar:2.2.0.RELEASE:compile
[INFO] |  |  \- org.springframework.security:spring-security-crypto:jar:5.2.1.RELEASE:compile
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:1.7.30:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.10.2:compile
[INFO] |  +- com.azure:azure-core:jar:1.2.0:compile
[INFO] |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.10.2:compile
[INFO] |  |  |  +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.10.2:compile
[INFO] |  |  |  +- org.codehaus.woodstox:stax2-api:jar:4.2:compile
[INFO] |  |  |  \- com.fasterxml.woodstox:woodstox-core:jar:6.0.3:compile
[INFO] |  |  +- io.projectreactor:reactor-core:jar:3.3.2.RELEASE:compile
[INFO] |  |  |  \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] |  |  \- io.netty:netty-tcnative-boringssl-static:jar:2.0.28.Final:compile
[INFO] |  +- com.azure:azure-data-appconfiguration:jar:1.0.1:compile
[INFO] |  +- com.azure:azure-identity:jar:1.0.2:compile
[INFO] |  |  +- com.microsoft.azure:msal4j:jar:0.5.0-preview:compile
[INFO] |  |  |  \- org.projectlombok:lombok:jar:1.18.10:compile
[INFO] |  |  +- com.nimbusds:oauth2-oidc-sdk:jar:6.14:compile
[INFO] |  |  |  +- com.sun.mail:javax.mail:jar:1.6.1:compile
[INFO] |  |  |  +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] |  |  |  +- com.nimbusds:lang-tag:jar:1.5:compile (version selected from constraint [1.4.3,))
[INFO] |  |  |  \- com.nimbusds:nimbus-jose-jwt:jar:8.17:compile (version selected from constraint [6.0.1,))
[INFO] |  |  +- org.nanohttpd:nanohttpd:jar:2.3.1:compile
[INFO] |  |  \- net.java.dev.jna:jna-platform:jar:4.5.2:compile
[INFO] |  |     \- net.java.dev.jna:jna:jar:4.5.2:compile
[INFO] |  +- com.azure:azure-security-keyvault-secrets:jar:4.1.0:compile
[INFO] |  \- com.azure:azure-core-http-netty:jar:1.2.0:compile
[INFO] |     +- io.netty:netty-handler:jar:4.1.45.Final:compile
[INFO] |     |  +- io.netty:netty-common:jar:4.1.45.Final:compile
[INFO] |     |  +- io.netty:netty-transport:jar:4.1.45.Final:compile
[INFO] |     |  |  \- io.netty:netty-resolver:jar:4.1.45.Final:compile
[INFO] |     |  \- io.netty:netty-codec:jar:4.1.45.Final:compile
[INFO] |     +- io.netty:netty-handler-proxy:jar:4.1.45.Final:compile
[INFO] |     |  \- io.netty:netty-codec-socks:jar:4.1.45.Final:compile
[INFO] |     +- io.netty:netty-buffer:jar:4.1.45.Final:compile
[INFO] |     +- io.netty:netty-codec-http:jar:4.1.45.Final:compile
[INFO] |     +- io.netty:netty-codec-http2:jar:4.1.45.Final:compile
[INFO] |     +- io.netty:netty-transport-native-unix-common:jar:4.1.45.Final:compile
[INFO] |     \- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.45.Final:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:2.2.4.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:2.2.4.RELEASE:compile
[INFO] |  |  +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] |  |  \- org.yaml:snakeyaml:jar:1.25:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:2.2.4.RELEASE:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.10.2:compile
[INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.10.2:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.2.4.RELEASE:compile
[INFO] |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.30:compile
[INFO] |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.30:compile
[INFO] |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.30:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-validation:jar:2.2.4.RELEASE:compile
[INFO] |     \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] +- com.microsoft.azure:azure:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-client-runtime:jar:1.6.10:compile
[INFO] |  |  \- com.microsoft.rest:client-runtime:jar:1.6.10:compile
[INFO] |  |     +- com.squareup.retrofit2:retrofit:jar:2.5.0:compile
[INFO] |  |     +- com.squareup.okhttp3:okhttp:jar:3.14.6:compile
[INFO] |  |     |  \- com.squareup.okio:okio:jar:1.17.2:compile
[INFO] |  |     +- com.squareup.okhttp3:logging-interceptor:jar:3.14.6:compile
[INFO] |  |     +- com.squareup.okhttp3:okhttp-urlconnection:jar:3.14.6:compile
[INFO] |  |     +- com.squareup.retrofit2:converter-jackson:jar:2.5.0:compile
[INFO] |  |     +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.10.2:compile
[INFO] |  |     \- com.squareup.retrofit2:adapter-rxjava:jar:2.4.0:compile
[INFO] |  +- com.microsoft.azure:azure-client-authentication:jar:1.6.10:compile
[INFO] |  |  +- com.microsoft.azure:adal4j:jar:1.6.2:compile
[INFO] |  |  \- com.microsoft.azure:azure-annotations:jar:1.7.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-resources:jar:1.23.0:compile
[INFO] |  |  \- io.reactivex:rxjava:jar:1.3.8:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-storage:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-network:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-compute:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-graph-rbac:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-keyvault:jar:1.23.0:compile
[INFO] |  |  \- com.microsoft.azure:azure-keyvault:jar:1.0.0:compile
[INFO] |  |     \- com.microsoft.azure:azure-keyvault-webkey:jar:1.0.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-batch:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-trafficmanager:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-dns:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-redis:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-appservice:jar:1.23.0:compile
[INFO] |  |  \- com.microsoft.azure:azure-storage:jar:6.1.0:compile
[INFO] |  |     \- com.microsoft.azure:azure-keyvault-core:jar:0.8.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-locks:jar:1.23.0:compile
[INFO] |  +- javax.xml.bind:jaxb-api:jar:2.3.1:compile
[INFO] |  |  \- javax.activation:javax.activation-api:jar:1.2.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-eventhub:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-cdn:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-sql:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-containerinstance:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-containerregistry:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-containerservice:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-cosmosdb:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-search:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-msi:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-monitor:jar:1.23.0:compile
[INFO] |  +- com.microsoft.azure:azure-mgmt-servicebus:jar:1.23.0:compile
[INFO] |  |  \- joda-time:joda-time:jar:2.10.5:compile
[INFO] |  \- com.microsoft.azure:azure-mgmt-batchai:jar:1.23.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-log4j2:jar:2.2.4.RELEASE:compile
[INFO] |  +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.12.1:compile
[INFO] |  |  \- org.apache.logging.log4j:log4j-api:jar:2.12.1:compile
[INFO] |  +- org.apache.logging.log4j:log4j-core:jar:2.12.1:compile
[INFO] |  +- org.apache.logging.log4j:log4j-jul:jar:2.12.1:compile
[INFO] |  \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile
[INFO] +- org.testng:testng:jar:6.8.13:test
[INFO] |  +- org.beanshell:bsh:jar:2.0b4:test
[INFO] |  \- com.beust:jcommander:jar:1.27:test
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:2.2.4.RELEASE:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:2.2.4.RELEASE:test
[INFO] |  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:2.2.4.RELEASE:test
[INFO] |  +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] |  |  \- net.minidev:json-smart:jar:2.3:compile
[INFO] |  |     \- net.minidev:accessors-smart:jar:1.2:compile
[INFO] |  |        \- org.ow2.asm:asm:jar:5.0.4:compile
[INFO] |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
[INFO] |  |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.5.2:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.5.2:test
[INFO] |  |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] |  |  |  \- org.junit.platform:junit-platform-commons:jar:1.5.2:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.5.2:test
[INFO] |  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.5.2:test
[INFO] |  +- org.junit.vintage:junit-vintage-engine:jar:5.5.2:test
[INFO] |  |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] |  |  +- org.junit.platform:junit-platform-engine:jar:1.5.2:test
[INFO] |  |  \- junit:junit:jar:4.12:test
[INFO] |  +- org.mockito:mockito-junit-jupiter:jar:3.1.0:test
[INFO] |  +- org.assertj:assertj-core:jar:3.13.2:test
[INFO] |  +- org.hamcrest:hamcrest:jar:2.1:test
[INFO] |  +- org.mockito:mockito-core:jar:3.1.0:test
[INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.10.6:compile
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.10.6:test
[INFO] |  |  \- org.objenesis:objenesis:jar:2.6:test
[INFO] |  +- org.skyscreamer:jsonassert:jar:1.5.0:test
[INFO] |  |  \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] |  +- org.springframework:spring-core:jar:5.2.3.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-jcl:jar:5.2.3.RELEASE:compile
[INFO] |  +- org.springframework:spring-test:jar:5.2.3.RELEASE:test
[INFO] |  \- org.xmlunit:xmlunit-core:jar:2.6.3:test
[INFO] +- org.subethamail:subethasmtp-wiser:jar:1.2:test
[INFO] |  +- org.subethamail:subethasmtp-smtp:jar:1.2:test
[INFO] |  +- commons-logging:commons-logging:jar:1.1:test
[INFO] |  |  +- log4j:log4j:jar:1.2.12:compile
[INFO] |  |  +- logkit:logkit:jar:1.0.1:test
[INFO] |  |  \- avalon-framework:avalon-framework:jar:4.1.3:test
[INFO] |  \- javax.mail:mail:jar:1.4:compile
[INFO] |     \- javax.activation:activation:jar:1.1:compile
[INFO] +- io.springfox:springfox-swagger2:jar:2.9.2:compile
[INFO] |  +- io.swagger:swagger-annotations:jar:1.5.20:compile
[INFO] |  +- io.swagger:swagger-models:jar:1.5.20:compile
[INFO] |  +- io.springfox:springfox-spi:jar:2.9.2:compile
[INFO] |  |  \- io.springfox:springfox-core:jar:2.9.2:compile
[INFO] |  +- io.springfox:springfox-schema:jar:2.9.2:compile
[INFO] |  +- io.springfox:springfox-swagger-common:jar:2.9.2:compile
[INFO] |  +- io.springfox:springfox-spring-web:jar:2.9.2:compile
[INFO] |  +- com.google.guava:guava:jar:20.0:compile
[INFO] |  +- com.fasterxml:classmate:jar:1.5.1:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] |  +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
[INFO] |  +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
[INFO] |  \- org.mapstruct:mapstruct:jar:1.2.0.Final:compile
[INFO] +- io.springfox:springfox-swagger-ui:jar:2.9.2:compile
[INFO] +- com.biit:action-underlying-model:jar:0.4.72:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.10.2:compile
[INFO] |  \- com.maistering:spring-data-gremlin:jar:2.2.23:compile (version selected from constraint [2.2,2.3))
[INFO] |     +- org.springframework:spring-tx:jar:5.2.3.RELEASE:compile
[INFO] |     +- org.springframework.data:spring-data-commons:jar:2.2.4.RELEASE:compile
[INFO] |     \- org.projectlombok:lombok-maven-plugin:jar:1.16.12.0:compile
[INFO] |        \- org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[INFO] |           \- org.codehaus.plexus:plexus-utils:jar:1.5.8:compile
[INFO] +- com.biit:openproject-database-structure:jar:0.0.2:compile
[INFO] +- org.apache.tinkerpop:gremlin-driver:jar:3.4.1:compile
[INFO] |  +- org.apache.tinkerpop:gremlin-core:jar:3.4.1:compile
[INFO] |  |  +- org.apache.tinkerpop:gremlin-shaded:jar:3.4.1:compile
[INFO] |  |  +- commons-configuration:commons-configuration:jar:1.10:compile
[INFO] |  |  |  \- commons-lang:commons-lang:jar:2.6:compile
[INFO] |  |  +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] |  |  +- org.javatuples:javatuples:jar:1.2:compile
[INFO] |  |  +- com.carrotsearch:hppc:jar:0.7.1:compile
[INFO] |  |  +- com.jcabi:jcabi-manifests:jar:1.1:compile
[INFO] |  |  |  \- com.jcabi:jcabi-log:jar:0.14:compile
[INFO] |  |  +- com.squareup:javapoet:jar:1.8.0:compile
[INFO] |  |  \- net.objecthunter:exp4j:jar:0.4.8:compile
[INFO] |  +- io.netty:netty-all:jar:4.1.45.Final:compile
[INFO] |  +- org.codehaus.groovy:groovy:jar:indy:2.5.6:compile
[INFO] |  +- org.codehaus.groovy:groovy-json:jar:indy:2.5.6:compile
[INFO] |  \- org.apache.commons:commons-lang3:jar:3.9:compile
[INFO] \- com.biit:open-project-structure:jar:1.0.2:compile
[INFO]    +- com.biit:common-utils:jar:1.0.9-SNAPSHOT:compile (version selected from constraint [1.0,1.1))
[INFO]    \- javax.inject:javax.inject:jar:1:compile
`

I am pretty sure that the issue is on the stacktrace of the error that you are not showing. Probably some chained exception that prevents the propertySourcesPlaceholderConfigurer to be created. A missing property or a needed bean that also fails. Take a look on it or post the complete stacktrace to be possible for us to dig into it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM