按照以下说明进行操作: stanbol build and run stanbol instance
我们在执行的时候总是报如下错误:
% mvn clean install
[错误] 无法在项目 org.apache.stanbol.commons.owl 上执行目标 org.apache.maven.plugins:maven-surefire-plugin:2.16:test(默认测试):存在测试失败。
我们假设它与此有关:
SLF4J:无法加载类“org.slf4j.impl.StaticLoggerBinder”。 SLF4J:默认为无操作 (NOP) 记录器实现 SLF4J:参见http://www.slf4j.org/codes.html#StaticLoggerBinder了解更多详情。
可以找到完整的日志:here
由于我们不知道到底出了什么问题,我们希望有人能给我们一些提示以找到解决方案。
如果使用 -DskipTests 跳过测试
启动服务器时出现以下错误:
16.07.2014 12:30:10.136 *ERROR* [FelixStartLevel] ERROR: Error starting
可以访问完整的服务器日志here
我在使用 stanbol 0.12 时得到的结果 here还是报错但是大部分测试都成功了...github上的版本也有类似的报错here
跳过测试后启动会抛出此错误显示 here
最佳答案
问题是实际trunk版本不稳定。您可以 checkin Stanbol Jenkins 服务器,这是最后一个稳定的主干版本 ( https://builds.apache.org/view/All/job/stanbol-trunk/ ) 然后您必须检查以稳定构建结束的最后一次提交,并尝试在 Apache Stanbol web 中展开构建过程。
关于java - 构建并运行您的 Apache Stanbol 实例 - 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24756738/