java.lang.NoClassDefFoundError:org / apache / tools / ant / util / ReaderInputStream vaadin + gradle + intelliJ
我一直在使用 Vaadin + Gradle + IntelliJ
正常工作,直到昨天晚上我将SLF4J(logback)日志记录引入我的应用程序。从那时起,由于 classDefFoundError
org / apache / tools / ant / util / ReaderInputStream
,我无法再制作项目了>。
I have been working fine with Vaadin + Gradle + IntelliJ
until yesterday night when I introduced SLF4J(logback) logging to my application. Since then I can't make my project anymore due to classDefFoundError
of org/apache/tools/ant/util/ReaderInputStream
.
我无法将其与应用程序中任何包含的jar的任何传递依赖关联,但即使我删除 SLF4J
库我仍然无法使用我的应用程序,所以我想知道改变了什么?
I can't link it with any transitive dependency of any contained jar in application, but even if I remove SLF4J
libraries I still can't make my application, so I am wondering what changed?
我正在使用 vaadin gradle插件0.9.5
和 gradle 2.2.1
。有没有人遇到过这个问题?我正在阅读另一篇文章,其中有人有同样的问题,但他提出的解决方案对我的申请无效。他建议对我的应用程序没有的 vaadin.gradle
中的一些行进行评论。
I am using vaadin gradle plugin 0.9.5
and gradle 2.2.1
. Has anyone ever encountered this problem? I was reading another post where someone had the same issue, but the solution he proposed is not valid to my application. He proposed to comment some of the lines in vaadin.gradle
, which my application doesn't have.
尝试
文件>无效缓存/重启......
File > Invalidate Caches / Restart...