We're updating the issue view to help you get more done. 

ClassNotFoundException clojure.core.cache.CacheProtocol

Description

Problem

On a fresh "lein new" project with only clojure 1.7.0 and core.typed 0.3.15, (t/check-ns) fails with:

1 ClassNotFoundException clojure.core.cache.CacheProtocol java.net.URLClassLoader$1.run (URLClassLoader.java:372)

Solution

This commit generates jars that contains AOT compiled code only for core.typed namespaces, but not for 3rd party libraries (like core.cache). This is because these lines trim out all .class files that are not under core.typed due to problems with CLJS.

We disable AOT compilation completely to work around this issue. We could instead selectively remove CLJS files, we should investigate if this is possible later.

Pull request: 79
Commit: 8aa2df2

Environment

OSX 10.11.1, Clojure 1.7.0

Status

Assignee

Ambrose BS

Reporter

import

Labels

None

Approval

None

Patch

None

Components

Fix versions

Affects versions

0.3.16
0.3.15

Priority

Major