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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.3
    • 3.5.4
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: