【发布时间】:2016-01-19 11:30:11
【问题描述】:
我正在使用 OrientDB 2.1.9 并创建了名为“TimespentEvents”的本地图形数据库。
当尝试在同一台机器上使用 JDBC 驱动程序通过 URL 'jdbc:orient:remote:localhost/TimespentEvents' 和用户/密码 admin/admin 从 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:TimespentEvents' 时,错误变为:
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
任何帮助将不胜感激。
感谢和问候,
塞提亚
【问题讨论】:
-
你能发布你的代码吗?
标签: orientdb