[英]JRebel-JVMTI error when running spring server
I get this error when running Spring source code. 运行Spring源代码时出现此错误。
JRebel-JVMTI [FATAL] Couldn't write to C:\\Users\\ ȯ.jrebel\\bootcache. JRebel-JVMTI [FATAL]无法写入C:\\ Users \\ ȯ.jrebel\\ bootcache。 Please make sure that this location exists and is writable, or specify another location by changing the 'rebel.base' system property.
请确保该位置存在并且可写,或者通过更改“ rebel.base”系统属性来指定其他位置。
JRebel tries to create a directory for license, properties, logs and boot cache and by default it places it under %USERPROFILE%/.jrebel
however in your case the path contains some unicode characters. JRebel尝试为许可证,属性,日志和启动缓存创建目录,并且默认情况下将其放置在
%USERPROFILE%/.jrebel
但是在您的情况下,该路径包含一些Unicode字符。
This is not properly supported so you will need to define a non-unicode path for the base folder via the VM argument -Drebel.base=[path]
or the environment variable REBEL_BASE=[path]
. 不正确地支持此功能,因此您需要通过VM参数
-Drebel.base=[path]
或环境变量REBEL_BASE=[path]
为基本文件夹定义一个非Unicode路径。
For example: 例如:
java -agentpath:C:/path/to/jrebel/lib/jrebel64.dll -Drebel.base=C:/some/path foo.Main
This folder will be created if it does not exist. 如果该文件夹不存在,则将创建它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.