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

后端 未结 4 1894
眼角桃花
眼角桃花 2021-02-03 17:54

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

相关标签:
4条回答
  • 2021-02-03 18:34

    I deleted the .idea folder and that worked for me.

    0 讨论(0)
  • 2021-02-03 18:39

    File > Invalidate Caches / Restart... nor did git clean -dfx. Here is what I had to do:

    1. Close IntelliJ
    2. IMPORTANT: Make sure you have everything commited you care about (you're about to clean your working copy)
    3. Run git clean -dfx to clean your working copy
    4. Run IntelliJ
    5. Select Import Project
    6. Navigate to the directory containing your project
    7. The select Import project from external model and select Gradle
    8. Press Next
    9. Make sure the settings on the next page look ok then press Finish
    10. The build should now hopefully work
    0 讨论(0)
  • 2021-02-03 18:49

    File > Invalidate Caches / Restart... option didn't work for me, but

    sudo git clean -dfx worked fine

    0 讨论(0)
  • 2021-02-03 18:54

    Try

    File > Invalidate Caches / Restart...

    0 讨论(0)
提交回复
热议问题