You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/11/13 20:44:00 UTC

[jira] [Created] (MRESOLVER-628) Class cast issue (probably concurrency issue)

Tamas Cservenak created MRESOLVER-628:
-----------------------------------------

             Summary: Class cast issue (probably concurrency issue)
                 Key: MRESOLVER-628
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-628
             Project: Maven Resolver
          Issue Type: Bug
          Components: Resolver
    Affects Versions: 2.0.3, 2.0.2, 2.0.1, 2.0.0
            Reporter: Tamas Cservenak
             Fix For: 2.0.4


Errors may happen like:
{noformat}
Caused by: java.lang.ClassCastException: class org.eclipse.aether.transport.jdk.JdkTransporterFactory cannot be cast to class org.eclipse.aether.spi.connector.RepositoryConnectorFactory (org.eclipse.aether.transport.jdk.JdkTransporterFactory and org.eclipse.aether.spi.connector.RepositoryConnectorFactory are in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @548c4f57)
{noformat}

Probably cause: prioritized component caching in session



--
This message was sent by Atlassian Jira
(v8.20.10#820010)