简体   繁体   English

Neo4j非托管扩展中的类路径

[英]Class path in Neo4j unmanaged extension

Sorry if a naive Java question. 抱歉,如果您有一个天真的Java问题。 I've been working in a Neo4j unmanaged extension ( https://github.com/toniher/neo4j-biorelation ) and it worked well as far as class path used was under org.neo4j , eg 我一直在使用Neo4j非托管扩展( https://github.com/toniher/neo4j-biorelation ),并且只要使用的类路径在org.neo4j即可 ,例如

org.neo4j.parent.parentextension

However if using another one: 但是,如果使用另一个:

cat.cau.biorelation.rest

I got the following problem when starting the server 启动服务器时出现以下问题

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.

So, is org.neo4j mandatory or should I define something elsewhere for avoiding this issue? 因此, org.neo4j是强制性的还是应该在其他地方定义一些以避免这种问题的内容?

Thanks in advance! 提前致谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM