我也跟着在https://github.com/pedestal/app-tutorial/wiki/Getting-Started教程,做了以下內容:在Pedestal教程拋出「錯誤處理請求!」 (啓動)
mkdir pedestal-app-tutorial
cd pedestal-app-tutorial
lein new pedestal-app tutorial-client no-comment
cd tutorial-client
[email protected]:$ lein repl
(at this point all the dependencies gets installed and then the repl starts)
nREPL server started on port 37510 on host 127.0.0.1
REPL-y 0.2.1
Clojure 1.5.1
Welcome to pedestal-app! Run (tools-help) to see a list of useful functions.
user=> (start)
user=> (start)
:ok
導航到http://localhost:3000/tutorial-client-dev.html
結果:
Error processing request!
Exception:
java.lang.StackOverflowError: null
at java.util.regex.Pattern$GroupTail.match (Pattern.java:4615)
java.util.regex.Pattern$BranchConn.match (Pattern.java:4466)
java.util.regex.Pattern$CharProperty.match (Pattern.java:3694)
etc, etc, etc ...
線索,什麼可能出現了問題的技巧?
使用Leiningen 2.3.2和project.clj
說:io.pedestal/pedestal.app "0.2.1"
什麼是Pedestal和Lein版本? – Chiron
我使用Leiningen 2.3.2和project.clj說:io.pedestal/pedestal.app「0.2.1」。還運行java版本「1.7.0_21」如果有任何幫助 – droidballoon