I am unable to comprehend. If the implementation in Gremlin wld be missing then would not have happened for Neo4j also. The other library of MonogClient doesnt have exmaples, so it seems like a long night of trials :|
Regards On Monday, February 17, 2014 5:49:49 PM UTC+5:30, Andrey Lomakin wrote: > > Hi > I think implementation of gremlin for mongodb is absent. > Your error is > > : unable to resolve class com.gmongo.Gmongo > > I think you can find it here https://github.com/poiati/gmongo > > > > > On Mon, Feb 17, 2014 at 1:37 PM, Shishya <[email protected] > <javascript:>>wrote: > >> ALso results are same in orientdb-community-1.7-rc1 >> >> >> On Monday, February 17, 2014 5:06:26 PM UTC+5:30, Shishya wrote: >>> >>> >>> I am using ODB 1.6.4 >>> Error code is following >>> gremlin> import com.gmongo.Gmongo >>> Invalid import definition: 'import com.gmongo.Gmongo'; reason: >>> script13926368813001785007200.groovy: 1: unable to resolve class >>> com.gmongo.Gmongo >>> @ line 1, column 1. >>> import com.gmongo.Gmongo >>> ^ >>> >>> 1 error >>> Display stack trace? [yN] y >>> org.codehaus.groovy.tools.shell.CommandException: Invalid import >>> definition: 'import com.gmongo.Gmongo'; reason: startup failed: >>> script13926368813001785007200.groovy: 1: unable to resolve class >>> com.gmongo.Gmongo >>> @ line 1, column 1. >>> import com.gmongo.Gmongo >>> ^ >>> >>> 1 error >>> >>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) >>> at sun.reflect.NativeConstructorAccessorImpl.newInstance( >>> NativeConstructorAccessorImpl.java:57) >>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( >>> DelegatingConstructorAccessorImpl.java:45) >>> at java.lang.reflect.Constructor.newInstance(Constructor.java:525) >>> at org.codehaus.groovy.reflection.CachedConstructor. >>> invoke(CachedConstructor.java:77) >>> at org.codehaus.groovy.runtime.callsite.ConstructorSite$ >>> ConstructorSiteNoUnwrapNoCoerce.callConstructor( >>> ConstructorSite.java:102) >>> at org.codehaus.groovy.runtime.callsite.CallSiteArray. >>> defaultCallConstructor(CallSiteArray.java:54) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callConstructor(AbstractCallSite.java:182) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callConstructor(AbstractCallSite.java:194) >>> at org.codehaus.groovy.tools.shell.CommandSupport.fail( >>> CommandSupport.groovy:139) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke( >>> NativeMethodAccessorImpl.java:57) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >>> DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$ >>> PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:252) >>> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent( >>> PogoMetaMethodSite.java:52) >>> at org.codehaus.groovy.runtime.callsite.CallSiteArray. >>> defaultCallCurrent(CallSiteArray.java:46) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callCurrent(AbstractCallSite.java:133) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callCurrent(AbstractCallSite.java:141) >>> at org.codehaus.groovy.tools.shell.commands.ImportCommand. >>> execute(ImportCommand.groovy:77) >>> at org.codehaus.groovy.tools.shell.Command$execute.call(Unknown Source) >>> at org.codehaus.groovy.tools.shell.Shell.execute(Shell.groovy:101) >>> at org.codehaus.groovy.tools.shell.Groovysh.super$2$ >>> execute(Groovysh.groovy) >>> at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >>> DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at org.codehaus.groovy.reflection.CachedMethod. >>> invoke(CachedMethod.java:90) >>> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) >>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) >>> at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. >>> invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128) >>> at org.codehaus.groovy.tools.shell.Groovysh.executeCommand( >>> Groovysh.groovy:173) >>> at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >>> DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$ >>> PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272) >>> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent( >>> PogoMetaMethodSite.java:52) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callCurrent(AbstractCallSite.java:141) >>> at org.codehaus.groovy.tools.shell.Groovysh.execute( >>> Groovysh.groovy:121) >>> at org.codehaus.groovy.tools.shell.Shell.leftShift(Shell.groovy:114) >>> at org.codehaus.groovy.tools.shell.Shell$leftShift$0.call(Unknown >>> Source) >>> at org.codehaus.groovy.runtime.callsite.CallSiteArray. >>> defaultCall(CallSiteArray.java:42) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> call(AbstractCallSite.java:108) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> call(AbstractCallSite.java:116) >>> at org.codehaus.groovy.tools.shell.ShellRunner.work( >>> ShellRunner.groovy:88) >>> at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$work( >>> InteractiveShellRunner.groovy) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke( >>> NativeMethodAccessorImpl.java:57) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >>> DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at org.codehaus.groovy.reflection.CachedMethod. >>> invoke(CachedMethod.java:90) >>> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) >>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) >>> at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. >>> invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128) >>> at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. >>> invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148) >>> at org.codehaus.groovy.tools.shell.InteractiveShellRunner. >>> work(InteractiveShellRunner.groovy:100) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke( >>> NativeMethodAccessorImpl.java:57) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >>> DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$ >>> PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272) >>> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent( >>> PogoMetaMethodSite.java:52) >>> at org.codehaus.groovy.runtime.callsite.CallSiteArray. >>> defaultCallCurrent(CallSiteArray.java:46) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callCurrent(AbstractCallSite.java:133) >>> at org.codehaus.groovy.runtime.callsite.AbstractCallSite. >>> callCurrent(AbstractCallSite.java:137) >>> at org.codehaus.groovy.tools.shell.ShellRunner.run( >>> ShellRunner.groovy:57) >>> at org.codehaus.groovy.tools.shell.InteractiveShellRunner.super$2$run( >>> InteractiveShellRunner.groovy) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at sun.reflect.NativeMethodAccessorImpl.invoke( >>> NativeMethodAccessorImpl.java:57) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke( >>> DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at org.codehaus.groovy.reflection.CachedMethod. >>> invoke(CachedMethod.java:90) >>> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) >>> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) >>> at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. >>> invokeMethodOnSuperN(ScriptBytecodeAdapter.java:128) >>> at org.codehaus.groovy.runtime.ScriptBytecodeAdapter. >>> invokeMethodOnSuper0(ScriptBytecodeAdapter.java:148) >>> at org.codehaus.groovy.tools.shell.InteractiveShellRunner. >>> run(InteractiveShellRunner.groovy:66) >>> at com.tinkerpop.gremlin.groovy.console.Console.<init>(Console.java:59) >>> at com.tinkerpop.gremlin.groovy.console.Console.main(Console.java:101) >>> >>> >>> >>> >>> On Monday, February 17, 2014 5:03:10 PM UTC+5:30, Andrey Lomakin wrote: >>>> >>>> Hi, >>>> What is error what version of release do you use ? >>>> >>>> >>>> On Mon, Feb 17, 2014 at 1:30 PM, Shishya <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I found and tried this Neo4j example for importing data from mongodb >>>>> using Gremlin. But it doesnt work and generates error. Any ideas here >>>>> please? >>>>> http://stackoverflow.com/questions/15477934/integrating-mongodb-with- >>>>> neo4j-is-there-any-api-that-will-link-them >>>>> >>>>> Thanks >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OrientDB" 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. >>>>> >>>> >>>> >>>> >>>> -- >>>> Best regards, >>>> Andrey Lomakin. >>>> >>>> Orient Technologies >>>> the Company behind OrientDB >>>> >>>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Best regards, > Andrey Lomakin. > > Orient Technologies > the Company behind OrientDB > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" 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.
