What's java target use on here ? Vào 18:31:10 UTC+7 Thứ sáu, ngày 17 tháng một năm 2014, Lvc@ đã viết: > > In the deployment the antlr jar was missed. Have you tried OrientDB 1.6.4? > or just get the antlr.jar file and put it under lib directory of 1.6.3. > > Lvc@ > > On Tuesday, 14 January 2014 18:19:04 UTC+1, SHak wrote: >> >> Running 1.6.3 on linux under root. Java Version 1.7 (removed 1.6 and >> installed 1.7). >> >> when I try to run ./gremlin.sh, I get *java.lang.NoClassDefFoundError: >> antlr/TokenStreamException*. I see that it was reported earlier and the >> fix was by upgrading to Java 1.7 and another required a code fix, all were >> fixed earlier. Either way, I'm on the latest with both. I am including >> the stacktrace as well as an echo of the command. Not sure if it's related >> in anyway but when I run ./console.sh, it always says: >> >> >./console.sh >> OrientDB console v.1.6.3 (build UNKNOWN@r; 2013-12-27 19:58:08+0100) >> www.orientechnologies.com >> Type 'help' to display all the commands supported. >> *Installing extensions for GREMLIN language v.2.5.0-SNAPSHOT* >> >> Is it related? How can I get Gremlin working? >> >> ======================================================================================================= >> *command:* >> java -Xms32m -Xmx512m -cp >> ./../lib/activation-1.1.jar:./../lib/asm-3.2.jar:./../lib/asm-analysis-3.2.jar:./../lib/asm-commons-3.2.jar:./../lib/asm-tree-3.2.jar:./../lib/asm-util-3.2.jar:./../lib/blueprints-core-2.5.0-20131216.163836-23.jar:./../lib/blueprints-orient-graph-2.5.0-20131216.164251-22.jar:./../lib/colt-1.2.0.jar:./../lib/commons-beanutils-1.7.0.jar:./../lib/commons-beanutils-core-1.8.0.jar:./../lib/commons-collections-3.2.1.jar:./../lib/commons-configuration-1.6.jar:./../lib/commons-digester-1.8.jar:./../lib/commons-lang-2.4.jar:./../lib/commons-logging-1.0.4.jar:./../lib/concurrent-1.3.4.jar:./../lib/gremlin-groovy-2.5.0-20131204.001107-6.jar:./../lib/gremlin-java-2.5.0-20131204.001019-6.jar:./../lib/groovy-1.8.9.jar:./../lib/hazelcast-3.1.jar:./../lib/hibernate-jpa-2.0-api-1.0.0.Final.jar:./../lib/jackson-annotations-2.2.2.jar:./../lib/jackson-core-2.2.2.jar:./../lib/jackson-databind-2.2.2.jar:./../lib/jackson-datatype-json-org-2.2.3.jar:./../lib/jansi-1.5.jar:./../lib/javassist-3.16.1-GA.jar:./../lib/jettison-1.3.3.jar:./../lib/jline-0.9.94.jar:./../lib/jna-4.0.0.jar:./../lib/jna-platform-4.0.0.jar:./../lib/json-20090211.jar:./../lib/mail-1.4.jar:./../lib/orient-commons-1.6.3.jar:./../lib/orientdb-client-1.6.3.jar:./../lib/orientdb-core-1.6.3.jar:./../lib/orientdb-distributed-1.6.3.jar:./../lib/orientdb-enterprise-1.6.3.jar:./../lib/orientdb-graphdb-1.6.3.jar:./../lib/orientdb-nativeos-1.6.3.jar:./../lib/orientdb-object-1.6.3.jar:./../lib/orientdb-server-1.6.3.jar:./../lib/orientdb-tools-1.6.3.jar:./../lib/pipes-2.5.0-20131024.235509-5.jar:./../lib/snappy-0.3.jar:./../lib/stax-api-1.0.1.jar:.: >> >> com.tinkerpop.gremlin.groovy.console.Console >> >> *stacktrace:* >> \,,,/ >> (o o) >> -----oOOo-(_)-oOOo----- >> Exception in thread "main" java.lang.NoClassDefFoundError: >> antlr/TokenStreamException >> at >> org.codehaus.groovy.antlr.AntlrParserPluginFactory.createParserPlugin(AntlrParserPluginFactory.java:27) >> at >> org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:234) >> at >> org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:161) >> at >> org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:846) >> at >> org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:550) >> at >> org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:526) >> at >> org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:503) >> at >> groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:302) >> at >> groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281) >> at >> groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:267) >> at >> groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:214) >> at >> groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:224) >> at groovy.lang.GroovyClassLoader$parseClass.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.commands.ImportCommand.execute(ImportCommand.groovy:61) >> at org.codehaus.groovy.tools.shell.Command$execute.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.Shell.execute(Shell.groovy:101) >> at >> org.codehaus.groovy.tools.shell.Groovysh.super$2$execute(Groovysh.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:606) >> 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.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:606) >> 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:141) >> at >> org.codehaus.groovy.tools.shell.Groovysh.execute(Groovysh.groovy:121) >> at >> com.tinkerpop.gremlin.groovy.console.Console.<init>(Console.java:39) >> at >> com.tinkerpop.gremlin.groovy.console.Console.main(Console.java:102) >> Caused by: java.lang.ClassNotFoundException: antlr.TokenStreamException >> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >> ... 44 more >> >> >>
-- --- 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.
