在localhost:90上成功安装了klov服务器,并且mongodb 3.2在27017端口上运行/监听
使用klovadmin / password登录到localhost:90后,klov的命令提示符显示“错误执行FreeMarker模板”
2018-11-13 015:54:07.367 ERROR 10504 --- [ qtp19615804-36]
freemarker.runtime : Error executing FreeMarker
template
freemarker.core._TemplateModelException: Java method
"com.aventstack.klov.viewdefs.Color.byStatus(String)" threw an
exception when invoked on com.aventstack.klov.viewdefs.Color object
"com.aventstack.klov.viewdefs.Color@1f29da2"; see cause exception in
the Java stack trace.
---- FTL stack trace ("~" means nesting-related):
- Failed at: ${Color.byStatus(project.lastReport.s... [in template "project.select.ftl" at line 46, column 117]
----
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:289) ~[freemarker-2.3.28.jar!/:2.3.28]
at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:252) ~[freemarker-2.3.28.jar!/:2.3.28]
答案 0 :(得分:1)
此错误与Klov-0.2.0有关,目前C#不支持(目前仅Java)。
要运行服务器,请使用http://extentreports.com/community/上的Klov-0.1.1