arachne-framework / arachne-fileset

Tools for creating and manipulating immutable filesets
Eclipse Public License 1.0
13 stars 3 forks source link

spec not found error #2

Open tbrooke opened 3 years ago

tbrooke commented 3 years ago

I am getting the following error when I try to use fileset:

Syntax error (FileNotFoundException) compiling at (arachne/fileset/specs.clj:1:1). Could not locate clojure/spec__init.class, clojure/spec.clj or clojure/spec.cljc on classpath. Evaluation of file cicero.clj failed: class clojure.lang.Compiler$CompilerException

My deps.edn file in part is: :deps {metosin/malli {:mvn/version "0.5.1"}, com.kiranshila/cybermonday {:mvn/version "0.2.0"}, org.arachne-framework/arachne-fileset {:mvn/version "1.0.0-beta1"}, metosin/jsonista {:mvn/version "0.3.3"}, org.clojure/spec.alpha {:mvn/version "0.2.194"}, org.clojure/test.check {:mvn/version "1.1.0"}, cheshire/cheshire {:mvn/version "5.10.0"}, biff/main {:git/url "https://github.com/jacobobryant/biff" :deps/root "libs/main" :sha "2a82eee794e0b34908ce169f3acfa322108b26cc"} }

My require (in part) is:

(ns trustblocks.cicero (:require [biff.util :as bu] [biff.util.protocols :as proto] [biff.crux :as bcrux] [cybermonday.core :as cm] [cybermonday.ir :as ir] [arachne.fileset :as fs] [clojure.java.io :as io] [malli.provider :as mp]

I thought it might be a Cursive thing but I tried Calva and got the same message

tbrooke commented 3 years ago

I updated Clojure and Clojure tools from: org.clojure/clojure {:mvn/version "1.10.0-alpha4"} org.clojure/tools.logging {:mvn/version "0.3.1"}
to: {org.clojure/clojure {:mvn/version "1.10.3"} org.clojure/tools.logging {:mvn/version "1.1.0"}

and it fixed the problem