Reputation: 5
I tried to install Structr- Neo4j and after I used these commands: C:\Users\IEUser>cd structr-ui-2.0-SNAPSHOT-201603301445.5616c C:\Users\IEUser\structr-ui-2.0-SNAPSHOT-201603301445.5616c>jar xvf structr-ui-2.0-SNAPSHOT-201603301445.5616c.jar structr java -cp lib/*;structr-ui-2.0-SNAPSHOT-201603301445.5616c.jar org.structr.Server
and I've got this error : INFO: Running in asynchronous mode java.lang.NoClassDefFoundError: Could not initialize class org.structr.schema.compiler.NodeExtender at org.structr.rest.service.StructrHttpServiceConfig.loadClass(StructrHttpServiceConfig.java:152) at org.structr.rest.service.StructrHttpServiceConfig.initializeFromProperties(StructrHttpServiceConfig.java:87) at org.structr.rest.service.HttpService.collectServlets(HttpService.java:608) at org.structr.rest.service.HttpService.initialize(HttpService.java:400) at org.structr.core.Services.createService(Services.java:552) at org.structr.core.Services.initialize(Services.java:327) at org.structr.core.Services.initialize(Services.java:299) at org.structr.core.Services.getInstance(Services.java:147) at org.structr.Server.main(Server.java:36) Feb 14, 2017 4:25:52 PM org.structr.core.Services createService SEVERE: Vital service HttpService failed to start: Could not initialize class org.structr.schema.compiler.NodeExtender. Aborting
Could someone help me? Thanks.
Upvotes: 0
Views: 148
Reputation: 113
It looks like you are running Structr using JRE instead of JDK. Structr needs JDK to dynamically compile classes.
Please refer to the documentation for further details on setting up JDK for Structr.
Upvotes: 1