0
Java APIを使用してorientDB(2.1.15)に問題があります。 私は私のプロジェクトライブラリに次のjarのを追加しました:OrientDB java api SQLコマンドCREATE EDGE
blueprints-core-2.6.0.jar
concurrentlinkedhashmap-lru-1.4.1.jar
jna-4.0.0.jar
na-platform-4.0.0.jar
orientdb-client-2.1.15.jar
orientdb-core-2.1.15.jar
orientdb-enterprise-2.1.15.jar
orientdb-graphdb-2.1.15.jar
pipes-2.6.0.jar
私は、次のコマンドを実行します:
CREATE EDGE MetaInf2kmer FROM (select from MetaInfNode where accNo ='X17276.1') TO (select from GenomeGraphNode where seq=141) SET taxid=9646
を経由:
db.command(new OCommandSQL("CREATE EDGE MetaInf2kmer FROM (select from MetaInfNode where accNo ='X17276.1') TO (select from GenomeGraphNode where seq=141) SET taxid=9646")).execute();
私はEclipseの火星とexportetを使用しています実行可能な瓶としての私のプロジェクト。 私は次の例外を取得:
Exception in thread "main" com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.CREATE EDGE MetaInf2kmer FROM (select from MetaInfNode where accNo ='X17276.1') TO (select from GenomeGraphNode where seq=141) SET taxid=9646
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:72)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.parse(OCommandExecutorSQLDelegate.java:42)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1400)
at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:67)
at com.tinkerpop.blueprints.impls.orient.OrientGraphCommand.execute(OrientGraphCommand.java:49)
at odbMetaInforamtion.OdbAcc2tax.addTaxInfToMetaNode(OdbAcc2tax.java:112)
at odbMetaInforamtion.OdbAcc2tax.<init>(OdbAcc2tax.java:40)
at odbGraph.Testmain.main(Testmain.java:35)
を私はすでに、インターネットを検索しましたが、私はちょうど1つのMavenの解決策を見つけました。 https://github.com/orientechnologies/orientdb/issues/5105 eclipseのアイデアはありますか?おそらく
に
を追加、修正プログラムがたくさんある –
私はjarファイルを追加したが、それでも同じ例外 –
このhttp://orientdb.com/docs/last/Tutorial-Installation.html(ページの一番下を参照してください - OrientDBを使用して単一の実行可能なjarを構築する) –