Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-1757

spring version issues from crypt-password

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Frankfurt Release
    • Frankfurt Release
    • None
    • None

      [2019-09-11 09:24:54,556][INFO ][PID 50    ][./bin/appController.sh] - Starting application
      vescollector@957c66e4080d:/opt/app/VESCollector$ Exception in thread "main" java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationContextInitializer : org.springframework.boot.autoconfigure.SharedMetadataReaderFactoryContextInitializer
              at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:450)
              at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:429)
              at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:420)
              at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:268)
              at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:249)
              at org.onap.dcae.VesApplication.main(VesApplication.java:59)
      Caused by: java.lang.NoSuchMethodError: org.springframework.core.KotlinDetector.isKotlinReflectPresent()Z
              at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:171)
              at org.springframework.boot.SpringApplication.createSpringFactoriesInstances(SpringApplication.java:446)
              ... 5 more
      

       

       This is introduced due to below dependency

        <dependency>
            <groupId>org.onap.dcaegen2.services.sdk.security.crypt</groupId>
            <artifactId>crypt-password</artifactId>
            <version>1.1.6</version>
         </dependency>

       

            pawel pawel
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: