nosuchme公司thoderror:java.lang.nosuchmethoderror:com.orientechnologies.orient.core.db.document.odatabasedocumenttx.begin

unhi4e5o  于 2021-07-03  发布在  Java
关注(0)|答案(1)|浏览(320)

在将orient db core升级到3.1.4时出现以下错误

com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.begin(Lcom/orientechnologies/orient/core/tx/OTransaction$TXTYPE;)Lcom/orientechnologies/orient/core/db/document/ODatabaseDocumentTx;
java.lang.NoSuchMethodError: com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.begin(Lcom/orientechnologies/orient/core/tx/OTransaction$TXTYPE;)Lcom/orientechnologies/orient/core/db/document/ODatabaseDocumentTx;

是不是因为odatabasedocumenttx.begin()在3.1.4中被删除了

pwuypxnk

pwuypxnk1#

我的建议是使用新的3.x多模式api
http://orientdb.com/docs/3.1.x/java/java-multimodel-api.html
3.xJavaAPI比2.1.x更干净

相关问题