Thanks for the response. I read the docs. I'm a bit confused.
In Spring Data Neo4J I can start an embedded server like so (Which seem to follow the docs you sent):
(from: http://static.springsource.org/sprin.../html/#d5e1703)
Code:
<bean id="graphDatabaseService" class="org.neo4j.kernel.EmbeddedGraphDatabase"
destroy-method="shutdown">
<constructor-arg index="0" value="target/test.db" />
<constructor-arg index="1">
<map>
<entry key="enable_remote_shell" value="true"/>
</map>
</constructor-arg>
</bean>
<bean id="serverWrapper" class="org.neo4j.server.WrappingNeoServerBootstrapper"
init-method="start" destroy-method="stop">
<constructor-arg ref="graphDatabaseService"/>
</bean>
I added the needed JAR in my POM:
Code:
<dependency>
<groupId>org.neo4j.app</groupId>
<artifactId>neo4j-server</artifactId>
<classifier>static-web</classifier>
<version>1.8</version>
</dependency>
When I start the app - I get the following error:
Code:
Could not instantiate bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw exception; nested exception is org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition org.neo4j.kernel.logging.LogbackService@68ffad78 from NONE to STOPPED
Caused by: java.lang.NoSuchMethodError: org.codehaus.janino.ClassBodyEvaluator.setImplementedInterfaces([Ljava/lang/Class;)V
If remove the POM dependency and use the following Spring config:
Code:
<neo4j:config graphDatabaseService="graphDatabaseService"/>
<bean id="graphDatabaseService" class="org.neo4j.kernel.EmbeddedGraphDatabase"
destroy-method="shutdown">
<constructor-arg index="0" value="target/test.db" />
<constructor-arg index="1">
<map>
<entry key="enable_remote_shell" value="true"/>
</map>
</constructor-arg>
</bean>
My app starts - and I can use the db in my code by autowireing in Neo4jOperations - but do I have a console? Do I have web admin interface? The docs seems to indicate I need to use the Wrapper. Any suggestions?
Thanks,
M