2013-11-01 78 views
1

我得到這個消息,我試圖導入的Neo4j數據庫Gephi:Gephi無法導入Neo4j的數據

org.neo4j.kernel.impl.storemigration.UpgradeNotAllowedByConfigurationException:無法以較舊的數據存儲開始的Neo4j版。要啓用自動升級,請在org.neo4j.kernel.impl.storemigration.StoreUpgrader的org.neo4j.kernel.impl.storemigration.ConfigMapUpgradeConfiguration.checkConfigurationAllowsAutomaticUpgrade(ConfigMapUpgradeConfiguration.java:41) 中設置配置參數「allow_store_upgrade = true」 。 attemptUpgrade(StoreUpgrader.java:50) at org.neo4j.kernel.impl.nioneo.store.NeoStore.tryToUpgradeStores(NeoStore.java:170) at org.neo4j.kernel.impl.nioneo.store.NeoStore.checkVersion( NeoStore.java:137) at org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore。(CommonAbstractStore.java:104) at org.neo4j.kernel.impl.nioneo.store.AbstractStore。(AbstractStore.java: 120) at org.neo4j.kernel.impl.nioneo.store.NeoStore。(NeoStore.java:78) at org。 neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource。(NeoStoreXaDataSource.java:165) 在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本機方法) 在sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 在(java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceManager。)。參考資料您可以參閱本文在developerWorks全球站點上的英文原文。 java:77) at org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:152) 引起:org.neo4j.graphdb.TransactionFailureException:無法創建數據源[nioneodb],請參閱嵌套異常錯誤原因 處org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java:158) at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:105) at org.neo4j.kernel.EmbeddedGraphDbImpl。(EmbeddedGraphDbImpl (EmbeddedGraphDatabase.java:64) at org.gephi.desktop.neo4j.ui(.java:190) .util.Neo4jUtils.localDatabase(Neo4jUtils.java:43) 在org.gephi.desktop.neo4j.Neo4jMenuAction $ FullImportMenuAction.actionPerformed(Neo4jMenuAction.java:218) 在javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018 ) at javax.swing.AbstractButton $ Handler.actionPerformed(AbstractButton.java:2341) 在javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) 在javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) 在javax.swing.AbstractButton.doClick(AbstractButton.java:376) 在javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI $ Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent( Component.java:6505) 在javax.swing.JComponent.processMouseEvent(JComponent.java:3320) 在java.awt.Component.processEvent(Component.java:6270) 在java.awt.Container.processEvent(容器。 java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container。(Component.java:java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java: (EventQueue.java:735) at java.awt.EventQueue.access $ 200(EventQueue.java:103) at java.awt.EventQueue $ 3.run(EventQueue.java: 694) 在java.awt.EventQueue中的$ 3.run(EventQueue.java:692) 在java.security.AccessController.doPrivileged(本機方法) 在java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:76) 在java.security.ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue $ 4.run(EventQueue.java:708) at java.awt.EventQueue $ 4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security .ProtectionDomain $ 1.doIntersectionPrivilege(ProtectionDomain.java:76) 在java.awt.EventQueue.dispatchEvent(EventQueue.java:705) 在org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158) [抓]在java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) 在java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) 在java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) 在java的.awt.EventDispatchThread.pumpEvents(EventDispatchThr ead.java:146) 在java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) 在java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

奇怪的是,配置參數「allow_store_upgrade = true「已被設置爲true。 我使用的Neo4j社區-2.0.0-M06和Java版本是:

Java版本 「1.7.0_45」 的Java(TM)SE運行時環境(建立1.7.0_45-B18) 的Java HotSpot(TM)64位服務器虛擬機(內置24.45-b08,混合模式)

我該怎麼辦? Java版本是最新的,所以Neo4j ...

回答

0

Wes給了我一個線索,因爲我已經將Neo4j升級到2.0版本,我無法在Gephi中打開任何東西。

+0

gephi插件還沒有升級到Neo4j 2.0,也許你可以ping @gephi的人呢? –

+0

有沒有人知道Gephi何時會支持Neo4j 2.0? – joe