java.lang.NoClassDefFoundError:org / apache / tools / ant / util / ReaderInputStream vaadin + gradle + intelliJ [英] java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream vaadin+gradle+intelliJ

查看:477
本文介绍了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...

这篇关于java.lang.NoClassDefFoundError:org / apache / tools / ant / util / ReaderInputStream vaadin + gradle + intelliJ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆