How To Integrate Clojure Web Applications in Apache

后端 未结 7 802
萌比男神i
萌比男神i 2021-01-30 02:33

Note

Given this OP was written about two years ago, rather than ask the same question again, I am wondering if step-by-step instructions exist, so t

7条回答
  •  暖寄归人
    2021-01-30 03:00

    If you are using a ring-based server (compojure, noir/lib-noir, luminus, etc.), and want to deploy as an uberjar, to avoid

    "Failed to load Main-Class manifest attribute from your-uberjar.jar"
    

    simply create the uberjar with lein ring uberjar. Note the 'ring' addition to lein uberjar. This is assuming you're using the lein-ring plugin.

提交回复
热议问题