{"record":{"id":"854135531afd6b61","repo":"apache/maven","slug":"cannot-find-wagon-which-supports-the-requested-pro","errorCode":null,"errorMessage":"Cannot find wagon which supports the requested protocol: \" + protocol","messagePattern":"Cannot find wagon which supports the requested protocol: \" \\+ protocol","errorType":"exception","errorClass":"UnsupportedProtocolException","httpStatus":null,"severity":"error","filePath":"compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java","lineNumber":701,"sourceCode":"    @Deprecated\n    public Wagon getWagon(Repository repository) throws UnsupportedProtocolException {\n        return getWagon(repository.getProtocol());\n    }\n\n    @Override\n    @Deprecated\n    public Wagon getWagon(String protocol) throws UnsupportedProtocolException {\n        if (protocol == null) {\n            throw new UnsupportedProtocolException(\"Unspecified protocol\");\n        }\n\n        String hint = protocol.toLowerCase(java.util.Locale.ENGLISH);\n\n        Wagon wagon;\n        try {\n            wagon = container.lookup(Wagon.class, hint);\n        } catch (ComponentLookupException e) {\n            throw new UnsupportedProtocolException(\n                    \"Cannot find wagon which supports the requested protocol: \" + protocol, e);\n        }\n\n        return wagon;\n    }\n}\n","sourceCodeStart":683,"sourceCodeEnd":708,"githubUrl":"https://github.com/apache/maven/blob/e4093d4e120eac99d6bdce5ba67cace2f3085c97/compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java#L683-L708","documentation":"Error \"Cannot find wagon which supports the requested protocol: \" + protocol\" thrown in apache/maven.","triggerScenarios":"Thrown at compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java:701 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e4093d4e120eac99d6bdce5ba67cace2f3085c97","analyzedAt":"2026-08-21T22:58:24.034Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}