This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-21
Channels
- # announcements (51)
- # asami (5)
- # babashka (25)
- # babashka-sci-dev (26)
- # beginners (33)
- # calva (10)
- # clj-kondo (51)
- # clj-yaml (99)
- # clojure (96)
- # clojure-australia (3)
- # clojure-berlin (5)
- # clojure-europe (151)
- # clojure-norway (58)
- # clojurescript (20)
- # cursive (13)
- # datalevin (1)
- # datomic (19)
- # docker (6)
- # emacs (55)
- # events (1)
- # fulcro (50)
- # gratitude (8)
- # juxt (7)
- # leiningen (5)
- # malli (6)
- # membrane (1)
- # nbb (28)
- # off-topic (22)
- # pathom (7)
- # polylith (20)
- # portal (1)
- # reagent (37)
- # reitit (2)
- # releases (2)
- # reveal (32)
- # scittle (34)
- # shadow-cljs (46)
- # testing (10)
- # tools-deps (33)
- # xtdb (18)
Hello! I have a real mystery, lein repl failing due to missing Timestamp class:
lein repl
nREPL server started on port 50850 on host 127.0.0.1 -
REPL-y 0.5.1, nREPL 0.8.3
Clojure 1.10.3
OpenJDK 64-Bit Server VM 18.0.1.1+0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (require 'clojure.instant)
Execution error (ClassNotFoundException) at java.lang.Class/forName0 (Class.java:-2).
java/sql/Timestamp
Doing just (import 'java.sql.Timestamp)
works. When I run clj
instead then the require works just fine. I have removed my ~./lein/profiles.clj
and run in a directory without project.clj (e.g. in /tmp). What could be the matter???✅ 1
I don't remember this stuff by heart but you might get an idea from checking out https://github.com/brandonbloom/fipp/issues/72 / the PR that fixed it
but it works when I run clj
(admittedly that uses clj 1.11). Also importing the class works as mentioned above so it seems untrue that it does not exist