If I now want to create a restful server, I would run ./bin/gremlin-server.sh ./conf/gremlin-server-rest-modern.yaml but this gives me an error:
[ERROR] GremlinServer - Gremlin Server Error
groovy.lang.MissingMethodException: No signature of method: static org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory.generateClassic() is applicable for argument types: (com.complexible.stardog.gremlin.structure.StardogGraph) values: [stardoggraph[http://ekol.jnj.com/IMI1]] Possible solutions: generateClassic(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph), createClassic()
at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1495)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1481)
at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:50)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
at Script1$_run_closure1.doCall(Script1.groovy:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
at groovy.lang.Closure.call(Closure.java:423)
at org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.java:50)
at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:103)
at com.sun.proxy.$Proxy10.onStartUp(Unknown Source)
at org.apache.tinkerpop.gremlin.server.GremlinServer.lambda$start$2(GremlinServer.java:136)
at java.util.ArrayList.forEach(Unknown Source)
at org.apache.tinkerpop.gremlin.server.GremlinServer.start(GremlinServer.java:133)
at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:302)
[ERROR] GremlinServer - Gremlin Server was unable to start and will now begin shutdown: No signature of method: static org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory.generateClassic() is applicable for argument types: (com.complexible.stardog.gremlin.structure.StardogGraph) values: [stardoggraph[http://ekol.jnj.com/IMI1]] Possible solutions: generateClassic(org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph), createClassic()
Any idea as to why this happens?
Kind regards,
Bart Praats
Op donderdag 23 juni 2016 11:45:11 UTC+2 schreef
bart....@gmail.com: