Hi Matthew, Why are you using BP 2.4.0 with OrientDB 1.7-rc2? I suggest you to use OrientDB 1.7-SNAPSHOT, that has BP 2.5.0 bundled.
Lvc@ Lvc@ On 12 May 2014 19:21, Matthew Hailstone <[email protected]> wrote: > I'm still getting errors coming back to following the simple example on > the tutorial page: > > https://github.com/orientechnologies/orientdb/wiki/Graph-Database-Tinkerpop > > OrientGraphFactory factory = new > OrientGraphFactory("plocal:test");OrientGraph graph = factory.getTx(); > > Exception in thread "main" > com.orientechnologies.orient.core.exception.OQueryParsingException: Error > on parsing query at position #6: Error on parsing query > Query: OUser where name = 'admin' limit 1 > -----------^ > at > com.orientechnologies.orient.core.sql.filter.OSQLTarget.<init>(OSQLTarget.java:70) > at > com.orientechnologies.orient.core.sql.OSQLEngine.parseTarget(OSQLEngine.java:292) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.parse(OCommandExecutorSQLSelect.java:129) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.parse(OCommandExecutorSQLSelect.java:1) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:49) > at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:1) > at > com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:86) > at > com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:69) > at > com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(OSQLSynchQuery.java:82) > at > com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:29) > at > com.orientechnologies.orient.core.metadata.security.OSecurityShared.getUser(OSecurityShared.java:181) > at > com.orientechnologies.orient.core.metadata.security.OSecurityShared.authenticate(OSecurityShared.java:148) > at > com.orientechnologies.orient.core.metadata.security.OSecurityProxy.authenticate(OSecurityProxy.java:83) > at > com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:128) > at > com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:49) > at > com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getDatabase(OrientGraphFactory.java:67) > at > com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.getTx(OrientGraphFactory.java:47) > at Test.test(Test.java:49) > at Test.main(Test.java:75) > Caused by: > com.orientechnologies.orient.core.exception.OCommandExecutionException: > Class 'OUSER' was not found in current database > at > com.orientechnologies.orient.core.sql.filter.OSQLTarget.extractTargets(OSQLTarget.java:161) > at > com.orientechnologies.orient.core.sql.filter.OSQLTarget.<init>(OSQLTarget.java:61) > ... 18 more > > Configured libraries: > com.tinkerpop.blueprints:blueprints-orient-graph:2.4.0 > com.tinkerpop.gremlin:gremlin-groovy:2.4.0 > com.tinkerpop.gremlin:gremlin-java:2.4.0 > com.tinkerpop:pipes:2.4.0 > Orient DB 1.7rc2 (orientdb-community-1.7-rc2/lib) > > I created and can access the "test" database through the HTML studio > client view: http://localhost:2480/studio/index.html#/ > > Thoughts? > > Thanks, > Matthew > > > > On Mon, May 5, 2014 at 1:34 PM, Matthew <[email protected]>wrote: > >> Thank you for pointing out the obvious of which I was somehow blind. My >> maven repository search in Intellij only found up to 1.6.5. >> I created a library to the lib path of my orientdb install root directory >> and it ran great. >> Help much appreciated! >> >> Matthew >> >> >> On Monday, May 5, 2014 12:13:41 PM UTC-6, Marc Tigges wrote: >>> >>> Could you please try it again with 1.7 version? >>> >>> http://mvnrepository.com/artifact/com.orientechnologies/orientdb- >>> graphdb/1.7-rc2 >>> >>> >>> >>> Am Montag, 5. Mai 2014 19:19:11 UTC+2 schrieb Matthew: >>>> >>>> com.orientechnologies:orientdb-client:1.6.5 >>>> com.orientechnologies:orientdb-enterprise:1.6.5 >>>> com.tinkerpop.blueprints:blueprints-orient-graph:2.4.0 >>>> com.tinkerpop.gremlin:gremlin-groovy:2.4.0 >>>> com.tinkerpop.gremlin:gremlin-java:2.4.0 >>>> com.tinkerpop.:pipes:2.4.0 >>>> >>>> -- >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "OrientDB" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/orient-database/ELXrIuwd6u4/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > <iframe src=" > http://media.ldscdn.org/book-of-mormon-app/jesus-in-america/jesus-christ-300x250.html" > width="300" height="250"></iframe> > > -- > > --- > 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/d/optout. > -- --- 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/d/optout.
