Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6388

Error Fetching Artifacts: "[B cannot be cast to java.lang.String"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.3
    • Fix Version/s: 3.5.4
    • Labels:
      None
    • Environment:

      Description

      When using Maven 3.5.3 with Artifactory 5.10.0 configured as a "*" mirror, downloads & uploads fail with errors like:

      [ERROR] Failed to execute goal on project ccc-persistence: Could not resolve dependencies for project REDACTED:REDACTED:jar:3.47.0-SNAPSHOT: Failed to collect dependencies at org.flywaydb:flyway-core:jar:3.2.1: Failed to read artifact descriptor for org.flywaydb:flyway-core:jar:3.2.1: Could not transfer artifact org.flywaydb:flyway-core:pom:3.2.1 from/to artifactory (https://artifactory.REDACTED.com/artifactory/all): [B cannot be cast to java.lang.String -> [Help 1]

      I've seen this issue both with the official Docker container, and with Maven 3.5.3 from MacPorts; in both cases, downgrading back down to 3.5.2 resolved the issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                pioto Mike Kelly
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: