admin管理员组文章数量:1636973
I have a very annoying and unexplainable behaviour in IntelliJ 2016.1:
If using Gradle copy task in a build file IntelliJ adds upon any edit in this file this import on top:
com.sun.apache.xalan.internal.xsltcpiler.Copy
which is of course not necessary since this task is built-in Gradle. Upon execution this leads to this error:
Cannot create task of type 'Copy' as it does not implement the Task interface.
把文件最上面的导包语句去掉就可以了.......
版权声明:本文标题:(踩坑之路)一个错误:Cannot create task of type 'Copy' as it does not implement the Task interface. 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1729233732a1191752.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论