首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Pedestal教程抛出“错误处理请求!”打开(开始)

Pedestal教程抛出“错误处理请求!”打开(开始)
EN

Stack Overflow用户
提问于 2013-09-22 01:43:12
回答 1查看 152关注 0票数 0

我遵循了https://github.com/pedestal/app-tutorial/wiki/Getting-Started的教程,并做了以下操作:

代码语言:javascript
复制
mkdir pedestal-app-tutorial
cd pedestal-app-tutorial
lein new pedestal-app tutorial-client no-comment
cd tutorial-client

v@mort:$ 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将显示以下结果:

代码语言:javascript
复制
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"

EN

回答 1

Stack Overflow用户

发布于 2013-09-22 21:51:08

我克隆了https://github.com/pedestal/app-tutorial并运行它,没有任何问题。

后来,我意外地在app-tutorial/目录中使用了lein new pedestal-app ped-test。运行repl和(start) got,我很高兴看到我可以访问localhost:3000上的页面。

作为一个额外的奖励,我现在可以在任何地方使用lein new pedetestal-app,而且它可以工作。

令人恼火的是,我不知道它为什么开始工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18935622

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档