java - Neo4j 非托管扩展中的类路径

标签 java neo4j

抱歉,这是一个幼稚的 Java 问题。我一直在使用 Neo4j 非托管扩展( https://github.com/toniher/neo4j-biorelation ),并且只要使用的类路径位于 org.neo4j 下,例如

org.neo4j.parent.parentextension

但是如果使用另一个:

cat.cau.biorelation.rest

启动服务器时遇到以下问题

INFO: Scanning for root resource and provider classes in the packages:
cat.cau.biorelation.rest
des. 02, 2014 10:17:05 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
des. 02, 2014 10:17:05 PM com.sun.jersey.server.impl.application.RootResourceUriRules <init>
SEVERE: The ResourceConfig instance does not contain any root resource classes.

那么,org.neo4j是强制性的还是我应该在其他地方定义一些东西来避免这个问题?

提前致谢!

最佳答案

(原文如此)修正了拼写错误。错误的包定义。 https://github.com/toniher/neo4j-biorelation/commit/3f2704f660bf0ac0e3260539801f28959705c997

关于java - Neo4j 非托管扩展中的类路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27259338/

相关文章:

java - Java中的时间同步

java - ArrayIndexOutOfBoundsException

neo4j - Spring Data Neo4j 创建重复节点

java - 合并排序是重复数组条目

java - count[str.charAt(i)]++ 实际存储的是什么?

java - JMenuBar - 使用快捷键 Ctrl+h 隐藏 JMenu,setVisible(false) 后按键不起作用

java - 如何在图数据库neo4j中表达时间段(时间)关系

properties - Neo4j 匹配节点属性或关系属性

neo4j - 使用给定的 uuid 查询数据库中的未知元素

ruby-on-rails - 在 puma fork 后使用 preload_app 重新连接 Neo4jrb 连接?