java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream 错误

Error:gradle-resources-test:ddshow-hadoop-gradle:java.lang.NoClassDefFoundError:org/apache/tools/ant/util/ReaderInputStream

http://stackoverflow.com/questions/26989932/intellij-cant-run-gradle-project-due-to-missing-class

修复:

IencounteredthesameerrorinaJavaprojectwithmultiplesubprojectsinIntelliJ14.

Updatingto15.0.1,refreshingtheGradleprojectsviaViews→ToolWindows→GradleinIntelliJandrestartingfixedtheissue.

Views→ToolWindows→Gradle刷新后重启idea即可

相关推荐