This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-09
Channels
- # announcements (12)
- # babashka (22)
- # beginners (17)
- # boot (5)
- # calva (45)
- # clj-kondo (17)
- # clojure (70)
- # clojure-australia (4)
- # clojure-europe (35)
- # clojure-finland (6)
- # clojure-losangeles (2)
- # clojure-nl (1)
- # clojure-uk (2)
- # clojured (26)
- # clojurescript (10)
- # conjure (1)
- # datahike (1)
- # events (1)
- # honeysql (14)
- # introduce-yourself (5)
- # jobs (5)
- # joyride (2)
- # minecraft (6)
- # off-topic (5)
- # pathom (14)
- # rewrite-clj (1)
- # shadow-cljs (13)
- # tools-build (6)
- # tools-deps (13)
- # vim (29)
- # xtdb (8)
(if (or (seq? v) v) "null" v)
@U11EL3P9U’s solution will work well but it will change the concretion of v. So if you don't care about that, then it might be the best solution
not change per se, but it will give you a seq.
Just hit this nice error but only when running from a generated jar,
** ERROR: **
Exception: #error {
:cause No binding factory for namespace registered.
:via
[{:type javax.xml.ws.WebServiceException
:message org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for null
:at [org.apache.cxf.jaxws.ServiceImpl getPort ServiceImpl.java 344]}
{:type org.apache.cxf.service.factory.ServiceConstructionException
:message Could not resolve a binding for null
:at [org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory createBindingInfo AbstractWSDLBasedEndpointFactory.java 361]}
{:type org.apache.cxf.BusException
:message No binding factory for namespace registered.
:at [org.apache.cxf.bus.managers.BindingFactoryManagerImpl getBindingFactory BindingFactoryManagerImpl.java 93]}]
Its seems like a bit of a strange error using the bing api via interop and its heavily xml based but I don't even know where to start looking when it runs from clj but not java -cp cli.jarIn Java, you can define service impls in a jar manifest, possibly that's getting stripped when you make an uberjar. How do you make the jar?
So I have this in my deps.edn and run clj -Xuberjar
:uberjar {:replace-deps {com.github.seancorfield/depstar {:mvn/version "2.1.278"}}
:exec-fn hf.depstar/uberjar
:exec-args {:verbose true :aot true :main-class com.atomjuice.car-cli.core :jar "target/car-cli.jar"}}
I will do a bit of googling around what impls are as well see if that helps 🙂I am building a twitter clone just to get myself acquainted with everything Clojure. Any database recommendations?
Clojure offers several decent solutions for Postgres, FWIW.
Thank you for replying. I'll continue with mongo unless there is a great reason not to for the moment
FWIW, I got postgresql working with < 8 hrs of "no suitable drivers found" type errors, and I'm new to SQL, postgres, Java, Clojure, etc.