簡體   English   中英

Neo4j 3.0.4企業版試用版無法在Windows中啟動

[英]Neo4j 3.0.4 Enterprise trial version failed to start in Windows

Neo4j 3.0.4企業版,在嘗試安裝服務或啟動其顯示時出現以下錯誤。 已嘗試過不同的機器,如何解決這個問題?

E:\Neo4j\neo4j-enterprise-3.0.4\bin>neo4j.bat install-service -verbose
VERBOSE: Neo4j Root is 'E:\Neo4j\neo4j-enterprise-3.0.4'
VERBOSE: Neo4j Server Type is 'Enterprise'
VERBOSE: Neo4j Version is '3.0.4'
VERBOSE: Neo4j Database Mode is ''
VERBOSE: Install command specified
VERBOSE: Neo4j Windows Service Name is neo4j
VERBOSE: Java detected at 'C:\Program Files\Java\jdk1.8.0_92\jre\bin\java.exe'
VERBOSE: Executing C:\Program Files\Java\jdk1.8.0_92\jre\bin\java.exe -version
VERBOSE: Java version response: java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
VERBOSE: Java Version detected as 1.8.0_92
VERBOSE: Neo4j Windows Service Name is neo4j
VERBOSE: Reading JVM settings from neo4j-wrapper.conf
Invoke-Neo4j : Method invocation failed because [System.Object[]] doesn't contain a method named 'contains'.
At line:1 char:221
+ try { Unblock-File -Path 'E:\Neo4j\neo4j-enterprise-3.0.4\bin\Neo4j-Management\*.*' -ErrorAction 'SilentlyContinue' } catch {};Import-Module 'E:\Neo4j\neo4j-enterprise-3.0.4\bin\Neo4j-Management.psd1'; Exit (Invoke-Neo4j <<<<  install-service -verbose)
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4j

bin / Neo4j-Management文件夾中的Merge-Neo4jJavaSettings.ps1文件在第68行中有語法錯誤:

If (-not $Source.contains($thisSetting)) {

應該

If (-not $Source -contains $thisSetting) {

對於記錄,這對我來說是社區版本,所以它似乎是兩個版本的問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM