I think in your config you have to do a comma separated list.

org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.extensions.java.rest=/extensions-java,org.neo4j.extensions.spring.rest=/extensions-spring

In general the example from here should work: 
https://github.com/spring-projects/spring-data-neo4j/blob/master/spring-data-neo4j-rest/src/test/java/org/springframework/data/neo4j/rest/support/SpringPluginInitializerTests.java#L45

It is self-testing but you get the idea :)

Michael

Am 16.01.2014 um 19:26 schrieb Theo Briscoe <[email protected]>:

> I am trying to write a Neo4j unmanaged extension that loads spring context 
> and uses Neo4jTemplate and Repositories. 
> Does anyone have a complete example of a spring based Neo4j Server Extension.
> 
> My code is failing with the exception
> ----------
> com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
> INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
> SEVERE: The following errors and warnings have been detected with resource 
> and/or provider classes:
> SEVERE: Missing dependency for field: private 
> org.springframework.data.neo4j.support.Neo4jTemplate   
> WARNING: com.sun.jersey.spi.inject.Errors$ErrorMessagesException
> --------
> 
> The Neo4jTemplate is included in the maven POM file and the class appears in 
> the created jar file 
> 
> Here is the Full Code sample
> 
> - https://github.com/theobriscoe/neo4j-extensions
> 
> 
> Versions
> - Neo4j: 1.9.5
> - spring-data-neo4j: 2.3.3.RELEASE
> 
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to