clj-commons / clj-commons/aleph

0.7.0-rc1 is crashing without brotli4j dependency #3530

Open
#703 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
2.6k
Forks
242
Avg merge
4d 5h
Merged PRs (30d)
1

Description

I tried upgrading our project from 0.7.0-alpha1 to 0.7.0-rc1. It won't start unless I introduce the new dependencies on brotli4j, etc.

Steps to reproduce the behavior:

  1. Extract this zip archive and change into minimal/
  2. Run clojure -M:nrepl. Here's what I get:
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:641).
com.aayushatharva.brotli4j.encoder.Encoder$Parameters

Full report at:
/tmp/clojure-2841063393891295391.edn

I'm running java 21, but I get the same results on java 17.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Extract minimal.zip, change into minimal/, and run clojure -M:nrepl on Java 17 or 21 to reproduce the missing brotli4j class. Trace how the 0.7.0-rc1 dependencies are declared and loaded; done means the minimal project starts without manually adding brotli4j or related dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, java
Domain
build-system, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.