This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-21
Channels
- # bangalore-clj (1)
- # beginners (60)
- # boot (30)
- # cider (7)
- # cljs-dev (10)
- # cljsrn (2)
- # clojure (163)
- # clojure-conj (10)
- # clojure-france (1)
- # clojure-greece (2)
- # clojure-italy (7)
- # clojure-russia (41)
- # clojure-serbia (22)
- # clojure-spec (41)
- # clojure-uk (41)
- # clojurescript (178)
- # cursive (36)
- # datascript (1)
- # datomic (23)
- # dirac (38)
- # graphql (12)
- # hoplon (20)
- # immutant (32)
- # instaparse (3)
- # keechma (1)
- # lein-figwheel (18)
- # leiningen (8)
- # liberator (1)
- # luminus (30)
- # lumo (29)
- # off-topic (18)
- # om (17)
- # pedestal (7)
- # planck (37)
- # precept (1)
- # re-frame (67)
- # ring-swagger (2)
- # timbre (1)
- # untangled (8)
- # vim (2)
@donyorm what is webjars-locator-jboss-vfs? And are your dependency trees the same for boot and lein?
can you share the output of lein deps :tree
and the equivalent in boot (I think it is boot show -d
maybe?)
@tcrawley the dependencies should be the same. webjars-locator-jboss-vfs
is a (possibly optional) dependency of immuntant as far as I know. It's part of a luminus project
@donyorm webjars-locator-jboss-vfs
isn't a dep from immutant, I don't know where it comes from. And you should only need it when deploying an Immutant app to WildFly, as that's the only place where vfs will exist.
@tcrawley the app is a standard luminus project (created with lein new luminus app-name
) but I'm trying to make it run under boot. The error only manifests when I run the app with boot. I'll try and get the project on github
are you trying to get a specific Luminus app working with boot, or just trying to solve the case generally? If it's the former, a quick solution is to remove that dependency if you aren't going to be deploying to WildFly. I think the proper answer is only include that dep when building an Immutant war file. I think we have provisions for that in the plugins.
I suspect that boot is doing something to trigger the reading and instantiation of https://github.com/webjars/webjars-locator-jboss-vfs/blob/master/src/main/resources/META-INF/services/org.webjars.urlprotocols.UrlProtocolHandler
I don't think the dependency should be there though - it should only be in a profile that gets applied when you are building an immutant war file, because it has no value outside of WildFly
looks like the error is being thrown on line 89 of this class: https://github.com/webjars/webjars-locator-core/blob/master/src/main/java/org/webjars/WebJarAssetLocator.java#L89