Crate版本:2.1.5 操作系统:Windows
启动whith crate.bat时出错:
PS D:\Dev\Crate\crate-2.1.5\bin> .\crate.bat
starts CrateDB
Option Description
-C <KeyValuePair> Configure a setting
-V, --version Prints CrateDB version information and exits
-d, --daemonize Starts CrateDB in the background
-h, --help show help
-p, --pidfile <Path> Creates a pid file in the specified path on start
-q, --quiet Turns off standard ouput/error streams logging in console
-s, --silent show minimal output
-v, --verbose show verbose output
**ERROR: E is not a recognized option**
Java路径是:“C:\ Program Files \ Java \ jdk1.8.0_131 \ bin \ java”-Xms256m -Xmx1g -Xss256k -XX:+ UseParNewGC -XX:+ UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction = 75 -XX:+ UseCMSInitiatingOccupancyOnly -XX:+ DisableExplicitGC -Djna.nosys = true -Dfile.encoding = UTF-8 -Dlog4j.shutdownHookEnabled = false -Dlog4j2.disable.jmx = true -Dlog4j.skipJansi = true -Dio.netty.noUnsafe = true -Dio.netty.noKeySetOptimization = true -Dio.netty.recycler.maxCapacityPerThread = 0 -cp“D:\ Dev \ Crate \箱-2.1.5 / LIB / ; d:\开发\木板条\箱-2.1.5 / LIB /企业/ ; d:\开发\木板条\箱-2.1.5 / LIB / SIGAR / *” “io.crate.bootstrap.CrateDB”-Epath.home =“D:\ Dev \ Crate \ crate-2.1.5”-V
你有同样的问题吗?
了解错误可能来自哪里?
由于
答案 0 :(得分:1)
这将在即将发布的2.1版本中修复 - 谢谢。 https://github.com/crate/crate/issues/6129
答案 1 :(得分:0)
在此期间解决:
在crate.bat中,替换
set CRATE_PARAMS=-Epath.home="%CRATE_HOME%"
通过
set CRATE_PARAMS=-Cpath.home="%CRATE_HOME%"
并删除:
) else if "!param:~0,2!" equ "-C" (
set param=!param:-C=-E!