Automation 无法在启动/访问Klov服务器http://localhost 对于数据块报告-启动ApplicationContext时出错

Automation 无法在启动/访问Klov服务器http://localhost 对于数据块报告-启动ApplicationContext时出错,automation,extentreports,Automation,Extentreports,我是klov reports的新手,已经从下载了klov jar,并尝试按照java-jar-klov-0.2.0.jar上的指令运行klov服务器klov-0.2.0.jar,但是我发现了以下错误,无法启动klov服务器 启动ApplicationContext时出错。要显示条件报告,请在启用“调试”的情况下重新运行应用程序。 2018-11-13 09:09:08.298错误40212-[main]o.s.boot.SpringApplication:应用程序运行失败 [请参阅此处的错误屏幕

我是klov reports的新手,已经从下载了klov jar,并尝试按照java-jar-klov-0.2.0.jar上的指令运行klov服务器klov-0.2.0.jar,但是我发现了以下错误,无法启动klov服务器

启动ApplicationContext时出错。要显示条件报告,请在启用“调试”的情况下重新运行应用程序。 2018-11-13 09:09:08.298错误40212-[main]o.s.boot.SpringApplication:应用程序运行失败

[请参阅此处的错误屏幕截图]

Mongodb 3.2在端口27017上运行和侦听 klov application.properties文件与klov-0.2.0.jar位于同一文件夹中 我们已经为Klov 80、90、25711337尝试了不同的端口,但都给出了与描述中相同的错误 在windows 10上运行,application.properties设置如下:
由于您没有使用邮件服务器,请从以下属性开始:

# klov
application.name=Klov
server.host=localhost
server.port=80

# data.mongodb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=klov

# data.rest
spring.data.rest.basePath=/rest
spring.data.rest.default-page-size=6

# redis, session
use.redis.session.store=false
spring.redis.host=localhost
spring.redis.port=6379
spring.redis.ssl=false
spring.redis.database=0
spring.session.store-type=redis
server.session.timeout=-1

# users
server.admin.name=klovadmin
server.admin.key=$2a$10$I/5TFi6BrHChUghTZEZfCO82txzu8L5brcK0CxhS3m.V6glfj2vZe

# storage
file.storage.location=./upload/reports/

# schedulers
scheduler.jobs.enabled=false
# automatically delete older builds
# default is -1 (keep all)
# this count must be greater than 0 for this scheduler to work
# scheduled to run daily at 12:00AM
scheduler.job.builds.retain.count=-1

# mail
#spring.mail.host=
#spring.mail.port=
#spring.mail.username=
#spring.mail.password=
#spring.mail.properties.mail.smtp.ssl.enable=true
#spring.mail.properties.mail.smtp.starttls.enable=true
#spring.mail.properties.mail.smtp.starttls.required=true
#spring.mail.properties.mail.smtp.auth=true
#spring.mail.properties.mail.smtp.connectiontimeout=5000
#spring.mail.properties.mail.smtp.timeout=5000
#spring.mail.properties.mail.smtp.writetimeout=5000
spring.mail.test-connection=false

非常感谢您的回复,邮件服务器的详细信息工作正常,但是我必须将端口更改为90。我能够启动klov服务器localhost:90,但以错误freemarker.core结束。_TemplateModelException:Java方法com.aventstack.klov.viewdefs.Color.byStatusString在com.aventstack.klov.viewdefs.Color对象com.aventstack.klov.viewdefs上调用时引发异常。Color@7f5bb7-FTL堆栈跟踪~表示嵌套相关:-在以下位置失败:${Color.byStatusproject.lastReport.s..[在第46行第117列的template project.select.ftl中]嗯,您的ExtentReports版本是什么?再次感谢您的快速回复。当我在localhost:90上输入凭据时,klov服务器klov-0.2.0.jar正在运行的控制台窗口上会显示上述错误。我还没有运行扩展报告,它实际上正在VS.net中使用AventStack 3.1.3的nuget包ExtentReports。刚才在在那里有extentreports-4.0.0.jar,不确定在访问klov服务器之前我是否也必须安装/运行它?很难在internet上找到清晰的信息,再次感谢您的帮助@foursythKlov 0.2仅适用于extentreports 4.0.0+,这在.NET中不可用。您可以从t下载klov 0.1.1,它适用于您的版本hanks@foursyth.extentreports.com/community page不允许用户下载以前版本的Klov,即Klov 0.1.1,可下载的唯一版本是0.2.0,我想从url获得关于Klov-0.1.0.jar的帮助?
# klov
application.name=Klov
server.host=localhost
server.port=80

# data.mongodb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.database=klov

# data.rest
spring.data.rest.basePath=/rest
spring.data.rest.default-page-size=6

# redis, session
use.redis.session.store=false
spring.redis.host=localhost
spring.redis.port=6379
spring.redis.ssl=false
spring.redis.database=0
spring.session.store-type=redis
server.session.timeout=-1

# users
server.admin.name=klovadmin
server.admin.key=$2a$10$I/5TFi6BrHChUghTZEZfCO82txzu8L5brcK0CxhS3m.V6glfj2vZe

# storage
file.storage.location=./upload/reports/

# schedulers
scheduler.jobs.enabled=false
# automatically delete older builds
# default is -1 (keep all)
# this count must be greater than 0 for this scheduler to work
# scheduled to run daily at 12:00AM
scheduler.job.builds.retain.count=-1

# mail
#spring.mail.host=
#spring.mail.port=
#spring.mail.username=
#spring.mail.password=
#spring.mail.properties.mail.smtp.ssl.enable=true
#spring.mail.properties.mail.smtp.starttls.enable=true
#spring.mail.properties.mail.smtp.starttls.required=true
#spring.mail.properties.mail.smtp.auth=true
#spring.mail.properties.mail.smtp.connectiontimeout=5000
#spring.mail.properties.mail.smtp.timeout=5000
#spring.mail.properties.mail.smtp.writetimeout=5000
spring.mail.test-connection=false