我试图使用调试播放框架2.3命令进行activator -jvm-debug 9999 run,但面临以下错误:
E:\workspace\CustomerClub>activator -jvm-debug 9999 run
[info] Loading project definition from E:\workspace\CustomerClub\project
[info] Set current project to CustomerClub (in build file:/E:/workspace/CustomerClub/)
[warn] The `-` command is deprecated in favor of `onFailure` and will be removed in 0.14.0
[error] Expected letter
[error] Expected symbol
[error] Expected '!'
[error] Expected '+'
[error] Expected '++'
[error] Expected 'debug'
[error] Expected 'info'
[error] Expected 'warn'
[error] Expected 'error'
[error] Expected ';'
[error] Expected end of input.
[error] Expected '--'
[error] Expected 'show'
[error] Expected 'all'
[error] Expected '*'
[error] Expected '{'
[error] Expected project ID
[error] Expected configuration
[error] Expected key
[error] Expected '-'
[error] 9999
[error] ^
[error] Not a valid command: jvm-debug
[error] Not a valid project ID: jvm-debug
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: jvm-debug
[error] jvm-debug
[error] ^我正在使用Java8更新5
发布于 2014-12-15 12:02:32
我在Mac电脑上也有同样的问题。一旦我将激活器从1.2.3升级到1.2.12,它就开始工作了。
发布于 2014-05-17 10:40:44
这可能是Windows上的Activator错误(请参阅我的评论)。同时,您可以通过设置JAVA_OPTS来手动向VM提供调试选项。
例如,试试这个:
> set JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999"
> activatorhttps://stackoverflow.com/questions/23708032
复制相似问题