title: Getting error from comand line in android java.lang.NoClassDefFoundError: javax/annotation/Generated
body: <p>While build android app from command line i am getting error Execution failed for task ':app:compileDebugJavaWithJavac'.
   java.lang.NoClassDefFoundError: javax/annotation/Generated</p>
  
  <p>I am enable dataBinding in android application</p>
  
  <p>symbol:   class DataBindingComponent
    location: class ActivityMainBinding
  /home/chetan/project/newGradle/app/build/generated/source/dataBinding/baseClasses/debug/com/sko/gradledemo/databinding/ActivityMainBinding.java:49: error: cannot find symbol
        @Nullable DataBindingComponent component) {</p>
  
  <p>symbol:   class DataBindingComponent
    location: class ActivityMainBinding
  /home/chetan/project/newGradle/app/build/generated/source/dataBinding/baseClasses/debug/com/sko/gradledemo/databinding/ActivityMainBinding.java:60: error: cannot find symbol
        @Nullable DataBindingComponent component) {</p>
  
  <p>symbol:   class DataBindingComponent
    location: class ActivityMainBinding
  5 errors</p>
  
  <p>FAILURE: Build failed with an exception.
   What went wrong:
  Execution failed for task ':app:compileDebugJavaWithJavac'. java.lang.NoClassDefFoundError: javax/annotation/Generated</p>