#StackBounty: #org-mode #org-babel #clojure Clojure code evaluation in org-mode produces no output

Bounty: 50

I am trying to run clojure code from my org file in order to do some literate programming.

What is not working:

When I execute the source code block I get No output produced.

Sample src code block

#+begin_src clojure
(+ 2 2)
#+end_src clojure

What is working:

  1. cider-jack-in is working and I am able to execute code in the nREPL
  2. I am able to execute code from a .clj file

Thanks

Details

Emacs 25.1 using Spacemacs

Org-Mode 9.0.5

Org babel configuration

(defun dotspacemacs/user-config ()
  (require 'ob)
  (require 'ob-clojure)
  (require 'paredit)
  (require 'org-babel-clojure)
  (setq org-babel-clojure-backend 'cider)
  (require 'cider)
  (org-babel-do-load-languages
   'org-babel-load-languages
   '((clojure . t)))
  )

Please let me know if you need any other information


Get this bounty!!!

Leave a Reply