kaola-fed / foxman

:fish_cake: an extensible mock server
https://foxman.js.org
MIT License
81 stars 17 forks source link

同时跑两个foxman,fast-ftl解析报错 #155

Closed fengzilong closed 7 years ago

fengzilong commented 7 years ago

不同端口

ImHype commented 7 years ago

报什么错

fengzilong commented 7 years ago

@ImHype 有两个报错

[12:49:30] [fast-ftl] Exception in thread "main" java.lang.Exception: [I] Port is in used!
        at com.june.fastftl.impl.Server.start(Server.java:33)
        at com.june.fastftl.Main.main(Main.java:26)
[12:50:22] [fast-ftl] freemarker.template.TemplateNotFoundException: Template not found for name "pages/foo.ftl".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="WEB-INF\template", canonicalBasePath="WEB-INF\template\")).
ImHype commented 7 years ago

估计还是 findport 导致的

ImHype commented 7 years ago

是 fast-ftl 的错,刚刚修复了, close 了