加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

可以在Windows上使用activator -jvm-debug和Java 8调试Play 2.3

发布时间:2020-12-14 03:54:21 所属栏目:Windows 来源:网络整理
导读:我正在尝试 debug play framework 2.3,使用activator -jvm-debug 9999运行命令,但我面临以下错误: E:workspaceCustomerClubactivator -jvm-debug 9999 run[info] Loading project definition from E:workspaceCustomerClubproject[info] Set current p
我正在尝试 debug play framework 2.3,使用activator -jvm-debug 9999运行命令,但我面临以下错误:

E:workspaceCustomerClub>activator -jvm-debug 9999 run
[info] Loading project definition from E:workspaceCustomerClubproject
[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]          ^

我正在使用Java 8更新5

解决方法

我在Mac上遇到了同样的问题.一旦我将激活器从1.2.3升级到1.2.12,它就开始工作了.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读