无法使用jdbc连接到localhost orientdb

无法使用jdbc连接到localhost orientdb,orientdb,Orientdb,我正在使用OrientDB 2.1.9,并创建了名为“TimePentEvents”的局部图形数据库 当尝试在URL为“JDBC:orient:remote:localhost/TimespentEvents”和用户/密码admin/admin的同一台计算机上使用JDBC驱动程序从Java进行连接时,我遇到以下异常: Caused by: com.orientechnologies.orient.core.exception.OConfigurationException: Error on o

我正在使用OrientDB 2.1.9,并创建了名为“TimePentEvents”的局部图形数据库

当尝试在URL为“JDBC:orient:remote:localhost/TimespentEvents”和用户/密码admin/admin的同一台计算机上使用JDBC驱动程序从Java进行连接时,我遇到以下异常:

Caused by: com.orientechnologies.orient.core.exception.OConfigurationException: Error on opening database: the engine 'remote' was not found. URL was: remote:localhost/TimespentEvents. Registered engines are: [plocal, memory]
将URL更改为“jdbc:orient:plocal:TimePentEvents”时,错误变为:

Caused by: com.orientechnologies.orient.core.exception.OStorageException: Cannot open the storage 'TimespentEvents' because it does not exist in path: localhost/TimespentEvents
下面是我在类路径中包含的jdbc驱动程序JAR:

  • orientdb-jdbc-2.1.9.jar
  • orientdb-core-2.1.9.jar
任何帮助都将不胜感激

谢谢和问候


Setya

结果是我必须包括两个额外的罐子:

  • orientdb-enterprise-2.1.9.jar
  • orientdb-client-2.1.9.jar
谢谢和问候


Setya

你能发布你的代码吗?包括orientdb客户端-*.jar对我来说就足够了。