带有wschat / Web Socket Chat插件的grails 3.0

时间:2015-10-26 12:22:20

标签: grails grails-3.0

我正在尝试从此page安装网络套接字聊天3.0.3,我看到这个page ...

因为我使用grails 3.0.5然后我把compile "org.grails.plugins:wschat:3.0.3"放在我的build.grade ..但我不知道为什么我不能安装该插件... 我收到此错误

如何安装网络套接字插件?

    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

1 个答案:

答案 0 :(得分:0)

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

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

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

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