我在项目中为OrientDB 1.7.8配置了以下pom.xml依赖项:
<properties>
<orientdb.version>1.7.8</orientdb.version>
</properties>
<!-- OrientDB bundles -->
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orient-commons</artifactId>
<version>${orientdb.version}</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-core</artifactId>
<version>${orientdb.version}</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-object</artifactId>
<version>${orientdb.version}</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-client</artifactId>
<version>${orientdb.version}</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-graphdb</artifactId>
<version>${orientdb.version}</version>
</dependency>
OrientGraph类的一切正常,但我有OGraphDatabase的ClassNotFoundException。 如何通过OrientDB Maven依赖项添加此类?
答案 0 :(得分:1)
OGraphDatabase很久以前就已被弃用。留在OrientGraph。