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
.
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?
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.
Try
File > Invalidate Caches / Restart...
File > Invalidate Caches / Restart...
nor did git clean -dfx
. Here is what I had to do:
git clean -dfx
to clean your working copyImport Project
Import project from external model
and select GradleI deleted the .idea
folder and that worked for me.
File > Invalidate Caches / Restart...
option didn't work for me, but
sudo git clean -dfx
worked fine
remove .idea and invalidating caches worked for me.
rm -r .idea/
in command lineIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With