Could not use Neosemantics plugin

31 views
Skip to first unread message

Sayed Nafiz Haider

unread,
May 3, 2017, 7:45:01 AM5/3/17
to Neo4j
I am facing problem while deploying the neosemantics plugin in Windows 10.

I am following the instructions to use the stored procedure which can take the OWL file and convert into a Neo4j ontology. I have built using maven and copied the neosemantics-[…].jar file to the plugin directory. The neo4j.conf file in my case was located in this “C:\Users\Nafiz\AppData\Roaming\Neo4j Community Edition” folder.  Added the line as you instructed at “
https://github.com/jbarrasa/neosemantics”. However, after I try to close and kill the neo4j-ce.exe and run again, I receive errors: ” Starting Neo4j failed: Component ‘org.neo4j.server.database.LifecycleManagingDatabase@7e45466d’ was successfully initialized, but failed to start. Please see attached cause exception.”

I have tried the zip release of the same version and tried using console application, updated the conf file. Still I see the error. Any help is much appreciated.

C:\Users\Nafiz\Downloads\software\neo4j-community-3.1.3-windows\neo4j-community-3.1.3>bin\neo4j console
2017-05-02 16:27:29.889+0000 INFO  ======== Neo4j 3.1.3 ========
2017-05-02 16:27:30.075+0000 INFO  Starting...
2017-05-02 16:27:30.563+0000 INFO  Bolt enabled on localhost:7687.
2017-05-02 16:27:32.994+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@18d469b' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@18d469b' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@18d469b' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:230)
        at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:91)
        at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:68)
        at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@18d469b' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:443)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:202)
        ... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, C:\Users\Nafiz\Downloads\software\neo4j-community-3.1.3-windows\neo4j-community-3.1.3\data\databases\graph.db
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:199)
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:130)
        at org.neo4j.server.CommunityNeoServer.lambda$static$0(CommunityNeoServer.java:57)
        at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
        ... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'apoc.ApocKernelExtensionFactory$1@1f2ef95' was successfully initialized, but failed to start. Please see attached cause exception.
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:443)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
        at org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:86)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
        at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
        at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:195)
        ... 9 more
Caused by: java.lang.NoClassDefFoundError: org/neo4j/kernel/api/proc/Mode
        at apoc.schema.AssertSchemaProcedure.signature(AssertSchemaProcedure.java:152)
        at org.neo4j.kernel.impl.proc.ProcedureRegistry.register(ProcedureRegistry.java:53)
        at org.neo4j.kernel.impl.proc.Procedures.register(Procedures.java:103)
        at org.neo4j.kernel.impl.proc.Procedures.register(Procedures.java:76)
        at apoc.ApocKernelExtensionFactory$1.start(ApocKernelExtensionFactory.java:49)
        at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
        ... 14 more
Caused by: java.lang.ClassNotFoundException: org.neo4j.kernel.api.proc.Mode
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 20 more




Thanks with regards,
Nafiz

Michael Hunger

unread,
May 3, 2017, 8:39:28 PM5/3/17
to ne...@googlegroups.com, Jesus Barrasa
Sounds like a version issue, pleaese check the apoc docs for the right version to deploy to 3.1.3

Same for neosemantics


Michael


--
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 neo4j+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages