Gremlin-Groovy

48 views
Skip to first unread message

tud

unread,
Jun 21, 2015, 2:22:33 PM6/21/15
to aureliu...@googlegroups.com
Hello everyone,
i'm trying to run this examples https://github.com/dkuppitz/GremlinGroovyJava ,but came an exception
 Exception in thread "main" java.lang.NoSuchMethodError: groovy.lang.MetaClassImpl.retrieveConstructor([Ljava/lang/Object;)Lgroovy/lang/MetaMethod
at line Gremlin.load()
Anyone can explain, why it came ?

Thanks
tud

Daniel Kuppitz

unread,
Jun 22, 2015, 8:51:16 AM6/22/15
to aureliu...@googlegroups.com
I updated some dependencies, though I don't think that this has been your problem. Anyway, try again. Here's what you should see:

daniel@cube /tmp $ git clone https://github.com/dkuppitz/GremlinGroovyJava.git
Cloning into 'GremlinGroovyJava'...
remote: Counting objects: 70, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 70 (delta 0), reused 0 (delta 0), pack-reused 54
Unpacking objects: 100% (70/70), done.
Checking connectivity... done.

daniel@cube /tmp $ cd GremlinGroovyJava/
daniel@cube /tmp/GremlinGroovyJava (master) $ mvn clean install exec:java -Dexec.mainClass="com.kuppitz.gremlingroovyjava.App"
...
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ GremlinGroovyJava ---

GROOVY: {v[3]=4, v[2]=1, v[4]=1, v[5]=2} (371ms for 1000 loops)
JAVA:   {v[2]=1, v[3]=4, v[4]=1, v[5]=2} (35ms for 1000 loops)
EXT:    [v[3]:4, v[2]:1, v[4]:1, v[5]:2] (174ms for 1000 loops)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.979s
[INFO] Finished at: Mon Jun 22 14:46:16 CEST 2015
[INFO] Final Memory: 28M/276M
[INFO] ------------------------------------------------------------------------


Cheers,
Daniel


--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/ae21e4d8-1044-4b3b-9e3c-2005cda6f93d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stephen Mallette

unread,
Jun 22, 2015, 9:19:12 AM6/22/15
to aureliu...@googlegroups.com

Daniel Kuppitz

unread,
Jun 22, 2015, 9:27:06 AM6/22/15
to aureliu...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages