boot-clj / boot-clj/boot

Better warning when there is a classpath conflict for org.clojure/clojure

Open
#672 9 comments 4 reactions 0 assignees View on GitHub
Starter User Experience
Dominant language
Clojure
Stars
1.7k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

```
Classpath conflict: org.clojure/clojure version 1.8.0 already loaded, NOT loading version 1.3.0
```
If you specify a Clojure version in `boot.properties` and don't specify the same Clojure version in your `:dependencies` you will get a warning like the one above.

Not sure if this is worth it but we could provide some more context for the specific case of Clojure:

```
Classpath conflict: org.clojure/clojure version 1.8.0 already loaded, NOT loading version 1.3.0
This is commonly caused by:
- not specifying a Clojure version in your :dependencies
- specifying a different version of Clojure than in boot.properties
```

What do you think?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.