kit-clj / kit

Lightweight, modular framework for scalable web development in Clojure
https://kit-clj.github.io/
MIT License
476 stars 44 forks source link

New project: "Error building classpath. Could not find artifact io.github.kit-clj:kit-undertow:jar:1.0.6 in central (https://repo1.maven.org/maven2/)" #112

Closed natedaiger closed 1 year ago

natedaiger commented 1 year ago

Disclaimer: I'm totally new to Clojure.

Following the guide here: https://kit-clj.github.io/docs/guestbook.html#guestbook_application

I generated a project (adjusting the command to use clojure -Tclj-new instead of clojure -Tnew) but the dev server failed to start (clj -M:dev) with this error:

Error building classpath. Could not find artifact io.github.kit-clj:kit-undertow:jar:1.0.6 in central (https://repo1.maven.org/maven2/)

It looks like that just indicates the latest version of kit-undertow hasn't made it to the central maven repo.

Dropping the undertow version in deps.edn to 1.0.5 fixed the issue and the dev server starts:

io.github.kit-clj/kit-undertow {:mvn/version "1.0.5"}
muthuishere commented 1 year ago

Yes the above will work , or please add the clojars repository in deps.edn so that it can find from clojars

  :mvn/repos {"central" {:url "https://repo1.maven.org/maven2/"}
             "clojars" {:url "https://repo.clojars.org/"}

            #_()}

It seems its published here https://clojars.org/io.github.kit-clj/kit-undertow , not in maven.

yogthos commented 1 year ago

@natedaiger should be resolved now, looks like it didn't get pushed out. @muthuishere Clojars is considered by default with deps, but the library didn't get released initially 😓