【发布时间】:2014-07-28 22:19:27
【问题描述】:
我是 Titan 的新手,我做的第一件事是关注 Titan github 站点中的 wiki 页面。 但是,第一个示例阻止了我。
gremlin> g = GraphOfTheGodsFactory.create('/tmp/titan')
但是,它返回:
无法实例化实现:com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex 显示堆栈跟踪? [yN] 是 java.lang.IllegalArgumentException:无法实例化实现:com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
我没有修改任何来自 Titan 的 jar 文件,我使用的是 Titian-0.4.4。 elasticsearch jar 是 0.90.3,根据他们的站点应该是兼容的。希望有人能告诉我如何处理它。
此外,Titan 文档中的代码示例非常少。有没有我可以真正看到如何使用 Java 来玩 Titan 的地方?
非常感谢您的帮助!
【问题讨论】: