【问题标题】:grails 3.0 with wschat / Web Socket Chat plugingrails 3.0 与 wschat / Web Socket 聊天插件
【发布时间】:2015-10-28 00:27:18
【问题描述】:

我正在尝试从 page 安装 web socket chat 3.0.3,我看到了 page...

因为我使用的是 grails 3.0.5,所以我将 compile "org.grails.plugins:wschat:3.0.3" 放入了我的 build.grade .. 但我不知道为什么我无法安装该插件... 我得到这个错误

如何安装 web socket 插件?

    BUILD SUCCESSFUL            

    Total time: 1.868 secs      
    | Error Could not resolve all dependencies for configuration ':testRuntime'. Type 'gradle dependencies' for more information

    C:\Users\User\Documents\ChatV3>

我收到这个错误

:dependencies

------------------------------------------------------------
Root project
------------------------------------------------------------

testRuntime - Runtime classpath for source set 'test'.

+--- org.grails.plugins:wschat:3.0.3 FAILED  ==> HERE THE PROBLEM

完整日志..见link, log.txt

this my problem

【问题讨论】:

    标签: grails grails-3.0


    【解决方案1】:

    这应该进入你的 build.gradle 而不是 application.yml...

    https://github.com/vahidhedayati/testwschat3/blob/master/build.gradle#L75 附近添加:

    compile "org.grails.plugins:wschat:3.0.3"
    

    在这种情况下,它是我的示例项目中的本地插件

    【讨论】:

    猜你喜欢
    • 2013-01-28
    • 2016-02-22
    • 1970-01-01
    • 2011-06-02
    • 2021-12-04
    • 2014-12-21
    • 2016-10-05
    • 2019-01-11
    • 2019-12-08
    相关资源
    最近更新 更多