Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26956

AWS services need joda.time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 11.1-SNAPSHOT
    • Fix Version/s: 11.1, 2021.0
    • Component/s: AWS
    • Tags:
    • Sprint:
      nxAI Sprint 11.1.4
    • Story Points:
      3

      Description

      joda.time has been removed by NXP-26517, that has led to the following error:

      ERROR] testLabelsService(org.nuxeo.ai.rekognition.TestRekognitionService)  Time elapsed: 8.743 s  <<< ERROR!
      20:57:52 java.lang.NoClassDefFoundError: org/joda/time/format/DateTimeFormat
      20:57:52 	at com.amazonaws.auth.internal.AWS4SignerUtils.<clinit>(AWS4SignerUtils.java:27)
      20:57:52 	at com.amazonaws.auth.internal.AWS4SignerRequestParams.<init>(AWS4SignerRequestParams.java:99)
      20:57:52 	at com.amazonaws.auth.AWS4Signer.sign(AWS4Signer.java:225)
      20:57:52 	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1259)
      20:57:52 	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1101)
      20:57:52 	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:758)
      

      The aws-java-sdk-core depends on joda.time.

      We have an exclusion for joda-time in the root pom.xml line 4538.  We need to remove the exclusion.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gjames Gethin James
                Reporter:
                gjames Gethin James
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h