1
我試圖在Windows 10安裝OrientDB 2.1.11 Java版本詳情如下:錯誤OrientDB安裝在Windows 10
Java版本 「1.8.0_73」 的Java(TM)SE運行時環境(build 1.8.0_73-b02) Java HotSpot™64位服務器虛擬機(版本25.73-b02,混合模式)
安裝了最新版本的JDK。 運行server.bat時出現以下錯誤:
2016-03-02 00:53:31:482 INFO OrientDB auto-config DISKCACHE=1,539MB (heap=455MB os=4,043MB disk=107,180MB) [orientechnologies]
2016-03-02 00:53:31:603 INFO Loading configuration from: C:/OrientDB/orientdb-community-2.1.11/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2016-03-02 00:53:31:835 INFO OrientDB Server v2.1.11 (build [email protected]; 2016-02-15 10:45:12+0000) is starting up... [OServer]
2016-03-02 00:53:31:850 INFO Databases directory: C:\OrientDB\orientdb-community-2.1.11\databases [OServer]
2016-03-02 00:53:31:888 INFO Listening binary connections on 0.0.0.0:2424 (protocol v.32, socket=default) [OServerNetworkListener]
2016-03-02 00:53:31:904 INFO Listening http connections on 0.0.0.0:2480 (protocol v.10, socket=default) [OServerNetworkListener]Exception in thread "main" java.lang.NoClassDefFoundError: com/tinkerpop/blueprints/IndexableGraph
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.orientechnologies.orient.server.network.OServerNetworkListener.createCommand(OServerNetworkListener.java:126)
at com.orientechnologies.orient.server.network.OServerNetworkListener.<init>(OServerNetworkListener.java:91)
at com.orientechnologies.orient.server.OServer.activate(OServer.java:324)
at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
Caused by: java.lang.ClassNotFoundException: com.tinkerpop.blueprints.IndexableGraph
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 30 more
有什麼建議嗎?
嗨@Michelle你是否創建了環境變量? –
嗨@MichelaBonizzi ....是的,我創建了環境變量ORIENTDB_HOME。提取數據庫二進制文件的文件夾是C:\ OrientDB \ orientdb-community-2.1.11。爲環境變量設置相同的值。我閱讀了多篇文章,並觀看了一些關於安裝的視頻。它沒有提到設置環境變量。 –