title: No Class Def Found Error org/gradle/cli/CommandLineConverter
body: <p>When I'm trying to build my gradle project, it gives me this error. <br>Following is the stack trace of error:</p>
  
  <blockquote>
    <p>java.lang.NoClassDefFoundError: org/gradle/cli/CommandLineConverter
    Process 'Gradle Test Executor 2' finished with non-zero exit value 1
    org.gradle.process.internal.ExecException: Process 'Gradle Test
    Executor 2' finished with non-zero exit value 1.</p>
  </blockquote>
  
  <p>FYI, Gradle verson is 4.1</p>
  
  <p>Does anyone have an idea what's wrong or what I'm missing?</p>