Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein doesn't fully reify org.apache.maven.wagon.Wagon #2817

Open
4 tasks done
kirked opened this issue May 28, 2024 · 1 comment
Open
4 tasks done

lein doesn't fully reify org.apache.maven.wagon.Wagon #2817

kirked opened this issue May 28, 2024 · 1 comment

Comments

@kirked
Copy link

kirked commented May 28, 2024

Initial debugging steps
Before creating a report, especially around exceptions being thrown when running Leiningen, please check if the error still occurs after:

  • Updating to using the latest released version of Leiningen (lein upgrade).
  • Moving your ~/.lein/profiles.clj (if present) out of the way. This contains third-party dependencies and plugins that can cause problems inside Leiningen.
  • Updating any old versions of plugins in your project.clj, especially if the problem is with a plugin not working. Old versions of plugins like nREPL and CIDER (as well as others) can cause problems with newer versions of Leiningen.
  • (If you are using Java 9 or newer), updating your dependencies to their most recent versions. Recent JDK's have introduced changes which can break some Clojure libraries.

Describe the bug

JDK 17.0.11, Clojure 1.11.3, lein 2.11.2

Execution error (AbstractMethodError) at org.eclipse.aether.transport.wagon.WagonTransporter/execute (WagonTransporter.java:433).
Receiver class leiningen.core.main$insecure_http_abort$reify__7516 does not define or inherit an implementation of the resolved method 'abstract void removeTransferListener(org.apache.maven.wagon.events.TransferListener)' of interface org.apache.maven.wagon.Wagon

To Reproduce
Steps to reproduce the behavior:

  1. Run the command lein test
  2. See error

Expected behavior
HTTP errors handled gracefully; implemented interfaces fully reified.

Environment

  • Leiningen Version: [e.g. 2.11.2].
  • Leiningen installation method: Homebrew.
  • JDK Version: 17.0.11.
  • OS: macOS 14.5.
  • Maven: Apache Maven 3.9.7.
  • A secured laptop with restricted access for downloading libraries from git repos, including maven central.
@technomancy
Copy link
Owner

Looks like the API for this must have changed since we looked at it last; will take a look. The error message definitely used to look better. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants