grails - 无法在 Grails 3.1.1 中安装 HTML5 拖放多文件上传插件

标签 grails file-upload grails-plugin grails-3.1

有没有人成功安装HTML5 drag and drop multi-file upload plugin在 Grails 3 应用程序中。

我已经映射了

compile "org.grails.plugins:uploadr:1.2.11"

在 build.grade 文件中,但随后也得到了这个

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

谁能帮我把我弄出来。 任何帮助将不胜感激。

最佳答案

您需要 Grails 3 版本。请参阅此处的文档:http://grails.org/plugins.html#plugin/grails3-uploadr并尝试

dependencies {
  compile 'com.nayidisha.grails.uploadr:grails3-uploadr:3.0'
}

而不是上面的 Grails 2.x 依赖项。

关于grails - 无法在 Grails 3.1.1 中安装 HTML5 拖放多文件上传插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37337776/

相关文章:

ruby-on-rails - Ruby on Rails 或 Grails 的开发人员生产力更高吗?

unit-testing - Grails 2.4.3 单元测试数量不正确

grails - Grails 3.0可搜索插件

jquery插件通过IE上传多个文件

grails - 是否通过拦截器或应用程序Yaml捕获所有URL或某些URL限制成员登录?

grails - 使用 POST 请求重定向

javascript - 将对象从 JavaScript 传递到 Web API 时出现问题

php - php 不接受所有图像扩展名?

spring - grails spring bean 定义

Grails 检测是否安装了插件