airbnb / epoxy

Epoxy is an Android library for building complex screens in a RecyclerView
https://goo.gl/eIK82p
Apache License 2.0
8.52k stars 728 forks source link

Build failed from version 2.0.0 to 2.2.0 #236

Closed rorschach closed 7 years ago

rorschach commented 7 years ago

throw below excepotion:

Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'. java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;

and it's looks like occurs on Model with EpoxyModelClass annotation, such as

@EpoxyModelClass(layout = R.layout.footer_divider)
public abstract class BaseFooterDividerModel extends EpoxyModel<View> {
}

my dependences:

epoxyVersion = '2.2.0'

def libs = [
    epoxy   : "com.airbnb.android:epoxy:${epoxyVersion}",
    epoxyprocessor  : "com.airbnb.android:epoxy-processor:${epoxyVersion}",
]

appDependencies = [
    [configuration: "compile", dependency: libs.epoxy],
    [configuration: "annotationProcessor", dependency: libs.epoxyprocessor],
]

thanks for your help

rorschach commented 7 years ago

version 2.1.0 has same issue

elihart commented 7 years ago

We had a similar issue at first, for us it was because one of our other dependencies (Dagger2) had an older version of JavaPoet and gradle wasn't resolving the correct version.

reflectionName was added in a very recent JavaPoet version so some libraries don't have it, but dependency resolution should pick up the latest version. I'm guessing this is your problem

elihart commented 7 years ago

We had to do this

   // Dagger Compiler depends on Guava 21, but it requires Java 8. That's usually
   // fine since it's just a APT dependency, but on places where we also depend on
  // Guava as a compile dependency, it ends up using v21 which fails to DEX.
  // This is an workaround for that. More info: https://github.com/uber/okbuck/issues/443
     guava: dependencies.create("com.google.guava:guava:$guavaVersion") {
            force = true
     },

Also, make sure all your other dependencies are up to date.

rorschach commented 7 years ago

@elihart Thanks for you analysis and you are right, I did use Dagger, and I think that's the reason. But it still build failed with dependencies below:

configurations.all {
  resolutionStrategy {
    force 'com.google.code.findbugs:jsr305:3.0.1'
    force 'com.google.guava:guava:22.0'
  }
}

dependencies {
  compile fileTree(dir: 'libs', include: ['*.jar'])
  androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
  })
  compile 'com.android.support:appcompat-v7:25.3.1'
  compile 'com.android.support.constraint:constraint-layout:1.0.2'
  testCompile 'junit:junit:4.12'

  compile 'com.google.dagger:dagger:2.11'
  annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
  compile 'com.google.dagger:dagger-android:2.11'
  compile 'com.google.dagger:dagger-android-support:2.11'
  annotationProcessor 'com.google.dagger:dagger-android-processor:2.11'

  compile 'com.airbnb.android:epoxy:2.2.0'
  annotationProcessor 'com.airbnb.android:epoxy-processor:2.2.0'
}

And it throw same exception when build, can you post your dependencies files to enlighten me? Thank you very much.

elihart commented 7 years ago

You can try ./gradlew app:dependencyInsight --configuration annotationProcessor --dependency javapoet

We have a very large app with complicated dependencies. I'm not sure how helpful sharing all of that would be.

In properties.gradle we define

ext {
   daggerVersion = '2.11-rc2'
   guavaVersion = '22.0-android'
   ...
     deps = [
     ...
     dagger: "com.google.dagger:dagger:$daggerVersion",
      daggerCompiler: "com.google.dagger:dagger-compiler:$daggerVersion",
      // Dagger Compiler depends on Guava 21, but it requires Java 8. That's usually
      // fine since it's just a APT dependency, but on places where we also depend on
      // Guava as a compile dependency, it ends up using v21 which fails to DEX.
      // This is an workaround for that. More info: https://github.com/uber/okbuck/issues/443
      guava: dependencies.create("com.google.guava:guava:$guavaVersion") {
        force = true
      }

I don't think there is really anything else we had to do for this.

rorschach commented 7 years ago

After try ./gradlew app:dependencyInsight --configuration annotationProcessor --dependency javapoet, I get such message:

com.squareup:javapoet:1.8.0 (conflict resolution)
+--- com.airbnb.android:epoxy-processor:2.2.0
|    \--- annotationProcessor
\--- com.jakewharton:butterknife-compiler:8.5.1
     \--- annotationProcessor

com.squareup:javapoet:1.7.0 -> 1.8.0
+--- com.google.dagger:dagger-compiler:2.11
|    \--- annotationProcessor
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    \--- annotationProcessor
\--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
     \--- annotationProcessor

And I edit my dependencies.gradle file, it defines:

javapoetVersion = '1.8.0'
guavaVersion = '22.0-android'
daggerVersion = "2.11"
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
butterKnifeVersion = '8.5.1'
autoValueVersion = '1.3'
autoValueGsonVersion = '0.4.5'
autoValueParcelVersion = '0.2.5'
epoxyVersion = '2.2.0'

//...

javapoet               : dependencies.create("com.squareup:javapoet:${javapoetVersion}") {
  force = true
},
guava                  : dependencies.create("com.google.guava:guava:${guavaVersion}") {
  force = true
},
dagger                 : "com.google.dagger:dagger:${daggerVersion}",
daggercompiler         : "com.google.dagger:dagger-compiler:${daggerVersion}",
butterknife            : "com.jakewharton:butterknife:${butterKnifeVersion}",
butterknifecompiler    : "com.jakewharton:butterknife-compiler:${butterKnifeVersion}",
gson                   : "com.google.code.gson:gson:${gsonVersion}",
auto_value_annotation  : "com.jakewharton.auto.value:auto-value-annotations:${autoValueVersion}",
auto_value             : "com.google.auto.value:auto-value:${autoValueVersion}",
auto_value_gson        : "com.ryanharter.auto.value:auto-value-gson:${autoValueGsonVersion}",
auto_value_parcel      : "com.ryanharter.auto.value:auto-value-parcel:${autoValueParcelVersion}",
epoxy                  : "com.airbnb.android:epoxy:${epoxyVersion}",
epoxyprocessor         : "com.airbnb.android:epoxy-processor:${epoxyVersion}",

//...

[configuration: "compile", dependency: libs.guava],
[configuration: "testCompile", dependency: libs.guava],
[configuration: "compile", dependency: libs.javapoet],
[configuration: "compile", dependency: libs.dagger],
[configuration: "annotationProcessor", dependency: libs.daggercompiler],
[configuration: "compile", dependency: libs.butterknife],
[configuration: "annotationProcessor", dependency: libs.butterknifecompiler],
[configuration: "provided", dependency: libs.auto_value_annotation],
[configuration: "annotationProcessor", dependency: libs.auto_value],
[configuration: "annotationProcessor", dependency: libs.auto_value_gson],
[configuration: "provided", dependency: libs.auto_value_gson],
[configuration: "annotationProcessor", dependency: libs.auto_value_parcel],
[configuration: "compile", dependency: libs.epoxy],
[configuration: "annotationProcessor", dependency: libs.epoxyprocessor],

But when I build, the throws same exception on all class extends EpoxyModel and annotated by EpoxyModelClass:

Error:(7, 55) error: cannot find symbol class UnitModel_ and Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'. Compilation failed; see the compiler error output for details.

Even I add code below in app/build.gradle, it also build failed.

configurations.all {
  resolutionStrategy {
    force 'com.squareup:javapoet:1.8.0'
    force 'com.google.guava:guava:22.0-android'
  }
}

And I get below message after try ./gradlew -q app:dependencies:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.google.dagger:dagger-compiler:2.11
|    +--- com.google.dagger:dagger:2.11
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.11
|    |    +--- com.google.dagger:dagger:2.11 (*)
|    |    +--- com.google.code.findbugs:jsr305:3.0.1
|    |    +--- com.google.guava:guava:21.0
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.code.findbugs:jsr305:3.0.1
|    +--- com.google.googlejavaformat:google-java-format:1.3
|    |    +--- com.google.guava:guava:19.0 -> 21.0
|    |    \--- com.google.errorprone:javac:9-dev-r3297-1-shaded
|    +--- com.google.guava:guava:21.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    \--- javax.inject:javax.inject:1
+--- com.jakewharton:butterknife-compiler:8.5.1
|    +--- com.jakewharton:butterknife-annotations:8.5.1
|    |    \--- com.android.support:support-annotations:25.1.0 -> 25.3.1
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.6
|    |    |    \--- com.google.guava:guava:18.0 -> 21.0
|    |    \--- com.google.guava:guava:18.0 -> 21.0
|    +--- com.google.auto:auto-common:0.6 (*)
|    \--- com.squareup:javapoet:1.8.0
+--- com.google.auto.value:auto-value:1.3
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    +--- com.google.code.gson:gson:2.8.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    \--- com.google.auto:auto-common:0.6 (*)
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 (*)
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.8.0
\--- com.airbnb.android:epoxy-processor:2.2.0
     +--- com.squareup:javapoet:1.8.0
     \--- com.airbnb.android:epoxy-annotations:2.2.0
          \--- com.android.support:support-annotations:25.3.1

I don't know why they are not working, how can I solve this problem? Thank for your help :)

rorschach commented 7 years ago

I don't apply apt plugins like https://plugins.gradle.org/plugin/net.ltgt.apt or com.neenbedankt.gradle.plugins:android-apt, whether it will be the reason?

root/build.gradle

 dependencies {
    classpath 'com.android.tools.build:gradle:2.3.3'
    classpath 'com.squareup.sqldelight:gradle-plugin:0.6.1'
  }

app/build.gradle

 appPlugins = [
      'com.android.application',
      'com.squareup.sqldelight',
  ]

other libs need annotation processor

autoValueVersion = '1.3'
autoValueGsonVersion = '0.4.5'
autoValueParcelVersion = '0.2.5'

auto_value_annotation  : "com.jakewharton.auto.value:auto-value-annotations:${autoValueVersion}",
auto_value             : "com.google.auto.value:auto-value:${autoValueVersion}",
auto_value_gson        : "com.ryanharter.auto.value:auto-value-gson:${autoValueGsonVersion}",
auto_value_parcel      : "com.ryanharter.auto.value:auto-value-parcel:${autoValueParcelVersion}",

[configuration: "provided", dependency: libs.auto_value_annotation],
[configuration: "annotationProcessor", dependency: libs.auto_value],
[configuration: "annotationProcessor", dependency: libs.auto_value_gson],
[configuration: "annotationProcessor", dependency: libs.auto_value_parcel],
elihart commented 7 years ago

The Error:(7, 55) error: cannot find symbol class UnitModel_ error is a different error, so it seems that you fixed your dependency issue and this just uncovered something else.

Are you using kotlin? if so you need to follow https://github.com/airbnb/epoxy/wiki/Epoxy-Controller#usage-with-kotlin

rorschach commented 7 years ago

I never use kotlin in my project.And sorry I did not provide all build information, there were two kinds of exception: error: cannot find symbol class UnitModel_,and error: cannot find symbol class DaggerApiComponent. I thought the second one caused by the first one, so I did not provide it to you.

And I find the only way to build success is change dependencies below:

daggerVersion = "2.7"
javaxAnnotationVersion = '1.0'
javaxInjectVersion = '1'
butterKnifeVersion = '8.5.1'
autoValueVersion = '1.3'
autoValueGsonVersion = '0.4.5'
autoValueParcelVersion = '0.2.5'
epoxyVersion = '2.2.0'

//...

dagger                 : "com.google.dagger:dagger:${daggerVersion}",
daggercompiler         : "com.google.dagger:dagger-compiler:${daggerVersion}",
butterknife            : "com.jakewharton:butterknife:${butterKnifeVersion}",
butterknifecompiler    : "com.jakewharton:butterknife-compiler:${butterKnifeVersion}",
auto_value_annotation  : "com.jakewharton.auto.value:auto-value-annotations:${autoValueVersion}",
auto_value             : "com.google.auto.value:auto-value:${autoValueVersion}",
auto_value_gson        : "com.ryanharter.auto.value:auto-value-gson:${autoValueGsonVersion}",
auto_value_parcel      : "com.ryanharter.auto.value:auto-value-parcel:${autoValueParcelVersion}",
epoxy                  : "com.airbnb.android:epoxy:${epoxyVersion}",
epoxyprocessor         : "com.airbnb.android:epoxy-processor:${epoxyVersion}",

//...

[configuration: "compile", dependency: libs.dagger],
[configuration: "annotationProcessor", dependency: libs.daggercompiler],
[configuration: "compile", dependency: libs.butterknife],
[configuration: "annotationProcessor", dependency: libs.butterknifecompiler],
[configuration: "provided", dependency: libs.auto_value_annotation],
[configuration: "annotationProcessor", dependency: libs.auto_value],
[configuration: "annotationProcessor", dependency: libs.auto_value_gson],
[configuration: "provided", dependency: libs.auto_value_gson],
[configuration: "annotationProcessor", dependency: libs.auto_value_parcel],
[configuration: "compile", dependency: libs.epoxy],
[configuration: "annotationProcessor", dependency: libs.epoxyprocessor],

And the result after execute ./gradlew -q app:dependencies is:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.google.dagger:dagger-compiler:2.7
|    +--- com.google.dagger:dagger:2.7
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.7
|    |    +--- com.google.dagger:dagger:2.7 (*)
|    |    \--- com.google.guava:guava:19.0
|    \--- com.google.guava:guava:19.0
+--- com.jakewharton:butterknife-compiler:8.5.1
|    +--- com.jakewharton:butterknife-annotations:8.5.1
|    |    \--- com.android.support:support-annotations:25.1.0 -> 25.3.0
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.6
|    |    |    \--- com.google.guava:guava:18.0 -> 19.0
|    |    \--- com.google.guava:guava:18.0 -> 19.0
|    +--- com.google.auto:auto-common:0.6 (*)
|    \--- com.squareup:javapoet:1.8.0
+--- com.google.auto.value:auto-value:1.3
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    +--- com.google.code.gson:gson:2.8.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    \--- com.google.auto:auto-common:0.6 (*)
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 (*)
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.8.0
\--- com.airbnb.android:epoxy-processor:2.0.0
     +--- com.squareup:javapoet:1.8.0
     \--- com.airbnb.android:epoxy-annotations:2.0.0
          \--- com.android.support:support-annotations:25.3.0
elihart commented 7 years ago

I'm a bit confused, are you still getting

Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'. java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;

or did that stop when you made the dependency change to force the right versions?

error: cannot find symbol class UnitModel_,
and 
error: cannot find symbol class DaggerApiComponent

sound like separate issues from the dependency problem and sound like you may have an issue with the code that is making the processors fail.

It's a bit weird that everything works correctly with dagger 2.7 though.

Do you have multiple models and only UnitModel is having problems? Do you think you have a problem with how the annotation is being used?

if you remove all your epoxy code does dagger 2.11 work fine?

I need a bit more information to work with. If you want to post your full model code I could make sure it looks right.

rorschach commented 7 years ago

I didn't get java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String; after made the dependency change to force the right versions.

And all class annotated by EpoxyModelClass have problems, not only UnitModel. I think maybe some class annotated by EpoxyModelClass has field annotated by @EpoxyAttribute and other annotation cause the compile problem, but I not sure.

elihart commented 7 years ago

I'm thinking that there is some other issue in your build that is causing it to fail. If that is the case then the generated files won't get built and you would see issues like cannot find symbol class UnitModel_ because the annotation processor never ran since there was another issue (same with dagger since that is generated).

Does using version 2.1.0 work?

The only breaking change in 2.2.0 is that a long click listener being set to null now needs to be cast, that might apply to you. Details are in the release notes

Can you post your full error output?

rorschach commented 7 years ago

when I change epoxy version to 2.1.0 and execute ./gradlew --stacktrace :app:assembleDevDebug , it throws :

//...

:app:compileDevDebugJavaWithJavac
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.data.DaggerApprovalDataRepositoryComponent;
                                              ^
  symbol:   class DaggerApprovalDataRepositoryComponent
  location: package com.plusmoney.managerplus.approval.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:17: error: cannot find symbol
import com.plusmoney.managerplus.contact.data.DaggerContactDataRepositoryComponent;
                                             ^
  symbol:   class DaggerContactDataRepositoryComponent
  location: package com.plusmoney.managerplus.contact.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:19: error: cannot find symbol
import com.plusmoney.managerplus.crm.data.DaggerCrmDataRepositoryComponent;
                                         ^
  symbol:   class DaggerCrmDataRepositoryComponent
  location: package com.plusmoney.managerplus.crm.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:22: error: cannot find symbol
import com.plusmoney.managerplus.di.component.DaggerApiComponent;
                                             ^
  symbol:   class DaggerApiComponent
  location: package com.plusmoney.managerplus.di.component
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:23: error: cannot find symbol
import com.plusmoney.managerplus.di.component.DaggerAppComponent;
                                             ^
  symbol:   class DaggerAppComponent
  location: package com.plusmoney.managerplus.di.component
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:27: error: cannot find symbol
import com.plusmoney.managerplus.kpi.data.DaggerKpiDataRepositoryComponent;
                                         ^
  symbol:   class DaggerKpiDataRepositoryComponent
  location: package com.plusmoney.managerplus.kpi.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:30: error: cannot find symbol
import com.plusmoney.managerplus.task.data.DaggerTasksDataRepositoryComponent;
                                          ^
  symbol:   class DaggerTasksDataRepositoryComponent
  location: package com.plusmoney.managerplus.task.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:32: error: cannot find symbol
import com.plusmoney.managerplus.user.data.DaggerUserRepositoryComponent;
                                          ^
  symbol:   class DaggerUserRepositoryComponent
  location: package com.plusmoney.managerplus.user.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/edit/relateinfo/RelateController.java:5: error: cannot find symbol
import com.plusmoney.managerplus.base.BaseFooterDividerModel_;
                                     ^
  symbol:   class BaseFooterDividerModel_
  location: package com.plusmoney.managerplus.base
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:6: error: cannot find symbol
import com.plusmoney.managerplus.base.BaseFooterDividerModel_;
                                     ^
  symbol:   class BaseFooterDividerModel_
  location: package com.plusmoney.managerplus.base
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:9: error: cannot find symbol
import com.plusmoney.managerplus.common.viewmodel.LoadMoreModel_;
                                                 ^
  symbol:   class LoadMoreModel_
  location: package com.plusmoney.managerplus.common.viewmodel
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ApprovalItemModel_;
                                                     ^
  symbol:   class ApprovalItemModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:15: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.LoadMoresModel_;
                                                     ^
  symbol:   class LoadMoresModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ModuleEntryModel_;
                                                     ^
  symbol:   class ModuleEntryModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.HeaderModel_;
                                                        ^
  symbol:   class HeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.MTextModel_;
                                                        ^
  symbol:   class MTextModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.ParticipantModel_;
                                                        ^
  symbol:   class ParticipantModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaApprovalModel_;
                                                        ^
  symbol:   class RelaApprovalModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaCustomerModel_;
                                                        ^
  symbol:   class RelaCustomerModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaHeaderModel_;
                                                        ^
  symbol:   class RelaHeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaTaskHeaderModel_;
                                                        ^
  symbol:   class RelaTaskHeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:25: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaTaskModel_;
                                                        ^
  symbol:   class RelaTaskModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.SiteModel_;
                                                        ^
  symbol:   class SiteModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:28: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.TextModel_;
                                                        ^
  symbol:   class TextModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/edit/relateinfo/RelateController.java:25: error: cannot find symbol
    private RelateModel_ getRelateModel(IRelate iRelate) {
            ^
  symbol:   class RelateModel_
  location: class RelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:50: error: cannot find symbol
    private CustomerModel_ toCustomerModel(Data data) {
            ^
  symbol:   class CustomerModel_
  location: class RelateInfoController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:60: error: cannot find symbol
    private ApprovalModel_ toApprovalModel_(RelateApproval data) {
            ^
  symbol:   class ApprovalModel_
  location: class RelateInfoController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/contact/leave_employee/LeaveEmployeesFragment.java:29: error: cannot find symbol
import com.plusmoney.managerplus.contact.contract_infor.DaggerContactInformationComponent;
                                                       ^
  symbol:   class DaggerContactInformationComponent
  location: package com.plusmoney.managerplus.contact.contract_infor
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:23: error: cannot find symbol
    @AutoModel LoadMoreModel_ mLoader;
               ^
  symbol:   class LoadMoreModel_
  location: class TaskSelectionController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:65: error: cannot find symbol
    private TaskSelectionModel_ getTaskSelectionModel(Task task) {
            ^
  symbol:   class TaskSelectionModel_
  location: class TaskSelectionController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ClientSearchHeaderModel_;
                                                         ^
  symbol:   class ClientSearchHeaderModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ClientSearchModel_;
                                                         ^
  symbol:   class ClientSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ContactSearchHeaderModel_;
                                                         ^
  symbol:   class ContactSearchHeaderModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ContactSearchModel_;
                                                         ^
  symbol:   class ContactSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.CrmSearchEmptyModel_;
                                                         ^
  symbol:   class CrmSearchEmptyModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:25: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ViewMoreModel_;
                                                         ^
  symbol:   class ViewMoreModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:26: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.ActivityRecordHeaderModel_;
                                                                         ^
  symbol:   class ActivityRecordHeaderModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.ChattingRecordModel_;
                                                                         ^
  symbol:   class ChattingRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:28: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.CommentModel_;
                                                                         ^
  symbol:   class CommentModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:29: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.PhoneRecordModel_;
                                                                         ^
  symbol:   class PhoneRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:30: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.VisitRecordModel_;
                                                                         ^
  symbol:   class VisitRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ClientSearchModel_;
                                                         ^
  symbol:   class ClientSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ContactSearchModel_;
                                                         ^
  symbol:   class ContactSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.ChattingRecordModel_;
                                                                         ^
  symbol:   class ChattingRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.CommentModel_;
                                                                         ^
  symbol:   class CommentModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.PhoneRecordModel_;
                                                                         ^
  symbol:   class PhoneRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:24: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.VisitRecordModel_;
                                                                         ^
  symbol:   class VisitRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:56: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mMyTreatModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:57: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mMyApplyModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:58: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mMyParticipateModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:59: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mCopy2MeModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:60: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mSubordinateApprovalModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:61: error: cannot find symbol
    @AutoModel LoadMoresModel_ mLoadMoresModel;
               ^
  symbol:   class LoadMoresModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/selected/relate/SelectedRelaController.java:6: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SelectEmptyModel_;
                                                             ^
  symbol:   class SelectEmptyModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/selected/relate/SelectedRelaController.java:7: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SelectRelateApprovalModel_;
                                                             ^
  symbol:   class SelectRelateApprovalModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:10: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.ApprovalLoadMoreModel_;
                                                             ^
  symbol:   class ApprovalLoadMoreModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:11: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.RelaLoadEndModel_;
                                                             ^
  symbol:   class RelaLoadEndModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SearchEmptyModel_;
                                                             ^
  symbol:   class SearchEmptyModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SelectRelateApprovalModel_;
                                                             ^
  symbol:   class SelectRelateApprovalModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/notclock_in/NotClockInSettingFragment.java:32: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:7: error: cannot find symbol
import com.plusmoney.managerplus.attendance.record.RecordEmptyModel_;
                                                  ^
  symbol:   class RecordEmptyModel_
  location: package com.plusmoney.managerplus.attendance.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:8: error: cannot find symbol
import com.plusmoney.managerplus.attendance.record.RecordModel_;
                                                  ^
  symbol:   class RecordModel_
  location: package com.plusmoney.managerplus.attendance.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:10: error: cannot find symbol
import com.plusmoney.managerplus.attendance.scheme.SchemeModel_;
                                                  ^
  symbol:   class SchemeModel_
  location: package com.plusmoney.managerplus.attendance.scheme
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:11: error: cannot find symbol
import com.plusmoney.managerplus.attendance.scheme.SchemeNotEnableModel_;
                                                  ^
  symbol:   class SchemeNotEnableModel_
  location: package com.plusmoney.managerplus.attendance.scheme
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.attendance.scheme.SchemeNotSetModel_;
                                                  ^
  symbol:   class SchemeNotSetModel_
  location: package com.plusmoney.managerplus.attendance.scheme
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:75: error: cannot find symbol
    @AutoModel HeaderModel_ headerModel;
               ^
  symbol:   class HeaderModel_
  location: class ApprovalDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:76: error: cannot find symbol
    @AutoModel RelaHeaderModel_ relaHeaderModel;
               ^
  symbol:   class RelaHeaderModel_
  location: class ApprovalDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:77: error: cannot find symbol
    @AutoModel RelaTaskHeaderModel_ relaTaskHeaderModel;
               ^
  symbol:   class RelaTaskHeaderModel_
  location: class ApprovalDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:78: error: cannot find symbol
    @AutoModel ClientSearchHeaderModel_ clientHeaderModel;
               ^
  symbol:   class ClientSearchHeaderModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:79: error: cannot find symbol
    @AutoModel ContactSearchHeaderModel_ contactHeaderModel;
               ^
  symbol:   class ContactSearchHeaderModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:80: error: cannot find symbol
    @AutoModel ActivityRecordHeaderModel_ activityRecordHeaderModel;
               ^
  symbol:   class ActivityRecordHeaderModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:81: error: cannot find symbol
    @AutoModel ViewMoreModel_ clientViewMoreModel;
               ^
  symbol:   class ViewMoreModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:82: error: cannot find symbol
    @AutoModel ViewMoreModel_ contactViewMoreModel;
               ^
  symbol:   class ViewMoreModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:83: error: cannot find symbol
    @AutoModel ViewMoreModel_ activityRecordViewMoreModel;
               ^
  symbol:   class ViewMoreModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:84: error: cannot find symbol
    @AutoModel CrmSearchEmptyModel_ emptyModel;
               ^
  symbol:   class CrmSearchEmptyModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:50: error: cannot find symbol
    @AutoModel CrmLoadMoreModel_ loadMoreModel;
               ^
  symbol:   class CrmLoadMoreModel_
  location: class MoreResultController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/selected/relate/SelectedRelaController.java:22: error: cannot find symbol
    @AutoModel SelectEmptyModel_ selectEmptyModel;
               ^
  symbol:   class SelectEmptyModel_
  location: class SelectedRelaController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:24: error: cannot find symbol
    @AutoModel SearchEmptyModel_ searchEmptyModel;
               ^
  symbol:   class SearchEmptyModel_
  location: class SearchRelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:25: error: cannot find symbol
    @AutoModel ApprovalLoadMoreModel_ loadMoreModel;
               ^
  symbol:   class ApprovalLoadMoreModel_
  location: class SearchRelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:26: error: cannot find symbol
    @AutoModel RelaLoadEndModel_ loadEndModel;
               ^
  symbol:   class RelaLoadEndModel_
  location: class SearchRelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/approval/list/home/untreated/UntreatedApprovalFragment.java:43: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.old.DaggerApprovalComponent;
                                                  ^
  symbol:   class DaggerApprovalComponent
  location: package com.plusmoney.managerplus.approval.home.old
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/models/annex/AnnexDetailModelGroup.java:11: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.annex.AnnexModel_;
                                                                    ^
  symbol:   class AnnexModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models.annex
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/purchase_template/PurchaseTemplateSettingFragment.java:33: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/SetApprovalNameFragment.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.template.DaggerSelectTemplateComponent;
                                                                   ^
  symbol:   class DaggerSelectTemplateComponent
  location: package com.plusmoney.managerplus.approval.managment.select.template
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/custom/flow/CustomProcessFragment.java:31: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.custom.flow.select.contact.DaggerDepartmentCopyComponent;
                                                                                          ^
  symbol:   class DaggerDepartmentCopyComponent
  location: package com.plusmoney.managerplus.approval.managment.select.flow.custom.flow.select.contact
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models.AddConditionModel_;
                                                                                     ^
  symbol:   class AddConditionModel_
  location: package com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models.ConditionRangeModel_;
                                                                                     ^
  symbol:   class ConditionRangeModel_
  location: package com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models.ConditionTypeModel_;
                                                                                     ^
  symbol:   class ConditionTypeModel_
  location: package com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:41: error: cannot find symbol
    @AutoModel ConditionTypeModel_ conditionTypeModel;
               ^
  symbol:   class ConditionTypeModel_
  location: class ConditionFlowController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:42: error: cannot find symbol
    @AutoModel AddConditionModel_ addConditionModel;
               ^
  symbol:   class AddConditionModel_
  location: class ConditionFlowController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/range/ConditionRangeController.java:30: error: cannot find symbol
    @AutoModel RangeModel_ rangeModel;
               ^
  symbol:   class RangeModel_
  location: class ConditionRangeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/range/ConditionRangeController.java:31: error: cannot find symbol
    @AutoModel SetApprovalFlowModel_ approvalFlowModel;
               ^
  symbol:   class SetApprovalFlowModel_
  location: class ConditionRangeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/reimburse_template/ReimburseTemplateSettingFragment.java:34: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/leave_template/LeaveTemplateSettingFragment.java:35: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/biztrip_template/BiztripTemplateSettingFragment.java:32: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/newapproval/NewApprovalFragment.java:17: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.old.DaggerApprovalComponent;
                                                  ^
  symbol:   class DaggerApprovalComponent
  location: package com.plusmoney.managerplus.approval.home.old
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.AttendanceSchemeModel_;
                                                              ^
  symbol:   class AttendanceSchemeModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.BatchDisplayModel_;
                                                              ^
  symbol:   class BatchDisplayModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.DateModel_;
                                                              ^
  symbol:   class DateModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
warning: File for type 'com.plusmoney.managerplus.approval.details.ApprovalDetailController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.ConditionFlowController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.range.ConditionRangeController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.approval.home.ApprovalHomeController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.approval.rela_approval.search.SearchRelateController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.approval.rela_approval.selected.relate.SelectedRelaController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.approval.edit.approval.EditApprovalController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.crm.global.search.moreresult.MoreResultController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.crm.global.search.GlobalSearchController_EpoxyHelper' created in the last round will not be subject to annotation processing.
warning: File for type 'com.plusmoney.managerplus.task.select.multiple.TaskSelectionController_EpoxyHelper' created in the last round will not be subject to annotation processing.
rorschach commented 7 years ago

When I Clean Project and execute ./gradlew --stacktrace :app:assembleDevDebug, I can see class generated in app/build/source/apt/dev/debug/package/XXX, includes generated by Dagger, AutoValue, ButterKnife and Epoxy. But it still throws cannot find symbol. And I find all Controller in warning containers models annotated by @AutoModel, likes:

public class TaskSelectionController extends EpoxyController {

    @AutoModel LoadMoreModel_ mLoader;

    private Callback mCallback;
    private boolean mIsSingleSelection;
    private boolean mShowOwner;

    private List<Task> mTasks;
    private boolean mHasMore;

    @Override protected void buildModels() {
        if (mTasks != null) {
            for (Task task : mTasks) {
                getTaskSelectionModel(task).addTo(this);
            }
            mLoader.showIndicator(mHasMore).addTo(this);
        }
    }

    public void setTasks(@Nullable List<Task> tasks, boolean hasMore) {
        mTasks = tasks;
        mHasMore = hasMore;
        requestModelBuild();
    }
}
rorschach commented 7 years ago

Now my dependency is:

javapoetVersion = '1.8.0'
guavaVersion = '22.0-android'

daggerVersion = "2.11"

butterKnifeVersion = '8.5.1'

autoValueVersion = '1.3'
autoValueGsonVersion = '0.4.5'
autoValueParcelVersion = '0.2.5'

epoxyVersion = '2.1.0'

javapoet               : dependencies.create("com.squareup:javapoet:${javapoetVersion}") {
  force = true
},

guava                  : dependencies.create("com.google.guava:guava:${guavaVersion}") {
  force = true
},

dagger                 : "com.google.dagger:dagger:${daggerVersion}",
daggercompiler         : "com.google.dagger:dagger-compiler:${daggerVersion}",

butterknife            : "com.jakewharton:butterknife:${butterKnifeVersion}",
butterknifecompiler    : "com.jakewharton:butterknife-compiler:${butterKnifeVersion}",

gson                   : "com.google.code.gson:gson:${gsonVersion}",

auto_value_annotation  : "com.jakewharton.auto.value:auto-value-annotations:${autoValueVersion}",
auto_value             : "com.google.auto.value:auto-value:${autoValueVersion}",
auto_value_gson        : "com.ryanharter.auto.value:auto-value-gson:${autoValueGsonVersion}",
auto_value_parcel      : "com.ryanharter.auto.value:auto-value-parcel:${autoValueParcelVersion}",

epoxy                  : "com.airbnb.android:epoxy:${epoxyVersion}",
epoxyprocessor         : "com.airbnb.android:epoxy-processor:${epoxyVersion}",

[configuration: "compile", dependency: libs.guava],
[configuration: "testCompile", dependency: libs.guava],

[configuration: "compile", dependency: libs.javapoet],

[configuration: "compile", dependency: libs.dagger],
[configuration: "annotationProcessor", dependency: libs.daggercompiler],

[configuration: "compile", dependency: libs.butterknife],
[configuration: "annotationProcessor", dependency: libs.butterknifecompiler],

[configuration: "provided", dependency: libs.auto_value_annotation],
[configuration: "annotationProcessor", dependency: libs.auto_value],
[configuration: "annotationProcessor", dependency: libs.auto_value_gson],
[configuration: "provided", dependency: libs.auto_value_gson],
[configuration: "annotationProcessor", dependency: libs.auto_value_parcel],

[configuration: "compile", dependency: libs.epoxy],
[configuration: "annotationProcessor", dependency: libs.epoxyprocessor],

And the result after execute ./gradlew -q app:dependencies is:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.google.dagger:dagger-compiler:2.11
|    +--- com.google.dagger:dagger:2.11
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.11
|    |    +--- com.google.dagger:dagger:2.11 (*)
|    |    +--- com.google.code.findbugs:jsr305:3.0.1
|    |    +--- com.google.guava:guava:21.0
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.code.findbugs:jsr305:3.0.1
|    +--- com.google.googlejavaformat:google-java-format:1.3
|    |    +--- com.google.guava:guava:19.0 -> 21.0
|    |    \--- com.google.errorprone:javac:9-dev-r3297-1-shaded
|    +--- com.google.guava:guava:21.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    \--- javax.inject:javax.inject:1
+--- com.jakewharton:butterknife-compiler:8.5.1
|    +--- com.jakewharton:butterknife-annotations:8.5.1
|    |    \--- com.android.support:support-annotations:25.1.0 -> 25.3.1
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.6
|    |    |    \--- com.google.guava:guava:18.0 -> 21.0
|    |    \--- com.google.guava:guava:18.0 -> 21.0
|    +--- com.google.auto:auto-common:0.6 (*)
|    \--- com.squareup:javapoet:1.8.0
+--- com.google.auto.value:auto-value:1.3
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    +--- com.google.code.gson:gson:2.8.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    \--- com.google.auto:auto-common:0.6 (*)
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 (*)
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.8.0
\--- com.airbnb.android:epoxy-processor:2.1.0
     +--- com.squareup:javapoet:1.8.0
     \--- com.airbnb.android:epoxy-annotations:2.1.0
          \--- com.android.support:support-annotations:25.3.1
elihart commented 7 years ago

Thanks for the information.

I'm am fairly sure the javapoet dependency issue is a completely separate issue, so let's ignore that for now.

Let's try to get 2.1.0 working first. When all of the models can't be found like that it generally means there is some other error that prevents the annotation processor from completing. Is there any more error output above what you posted? There may be the actual error mixed among the missing model errors.

To avoid the errors about the missing models and to identify the real issue, try these steps:

  1. Go back to version 2.0.0 and do a clean build. Make sure everything works fine with that.
  2. Bump the epoxy version to 2.1.0 and do a build without cleaning. This should keep the generated models so you don't get errors about them missing.
  3. See if the build fails with a different issue.

Are you using databinding or litho? The 2.1.0 update mainly included changes for those, but there were also general changes in the annotation processor and something may have broken.

Thanks for working with me on this and sorry for the trouble.

rorschach commented 7 years ago

When I keep my dependency below, it works well:

  daggerVersion = "2.7"
  butterKnifeVersion = '8.5.1'
  autoValueVersion = '1.3'
  autoValueGsonVersion = '0.4.5'
  autoValueParcelVersion = '0.2.5'
  epoxyVersion = '2.1.0'

And then I change epoxy version to 2.1.0, and execute ./gradlew --stacktrace :app:assembleDevDebug , the result is:

/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.data.DaggerApprovalDataRepositoryComponent;
                                              ^
  symbol:   class DaggerApprovalDataRepositoryComponent
  location: package com.plusmoney.managerplus.approval.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:17: error: cannot find symbol
import com.plusmoney.managerplus.contact.data.DaggerContactDataRepositoryComponent;
                                             ^
  symbol:   class DaggerContactDataRepositoryComponent
  location: package com.plusmoney.managerplus.contact.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:19: error: cannot find symbol
import com.plusmoney.managerplus.crm.data.DaggerCrmDataRepositoryComponent;
                                         ^
  symbol:   class DaggerCrmDataRepositoryComponent
  location: package com.plusmoney.managerplus.crm.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:22: error: cannot find symbol
import com.plusmoney.managerplus.di.component.DaggerApiComponent;
                                             ^
  symbol:   class DaggerApiComponent
  location: package com.plusmoney.managerplus.di.component
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:23: error: cannot find symbol
import com.plusmoney.managerplus.di.component.DaggerAppComponent;
                                             ^
  symbol:   class DaggerAppComponent
  location: package com.plusmoney.managerplus.di.component
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:27: error: cannot find symbol
import com.plusmoney.managerplus.kpi.data.DaggerKpiDataRepositoryComponent;
                                         ^
  symbol:   class DaggerKpiDataRepositoryComponent
  location: package com.plusmoney.managerplus.kpi.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:30: error: cannot find symbol
import com.plusmoney.managerplus.task.data.DaggerTasksDataRepositoryComponent;
                                          ^
  symbol:   class DaggerTasksDataRepositoryComponent
  location: package com.plusmoney.managerplus.task.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/App.java:32: error: cannot find symbol
import com.plusmoney.managerplus.user.data.DaggerUserRepositoryComponent;
                                          ^
  symbol:   class DaggerUserRepositoryComponent
  location: package com.plusmoney.managerplus.user.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/edit/relateinfo/RelateController.java:5: error: cannot find symbol
import com.plusmoney.managerplus.base.BaseFooterDividerModel_;
                                     ^
  symbol:   class BaseFooterDividerModel_
  location: package com.plusmoney.managerplus.base
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:6: error: cannot find symbol
import com.plusmoney.managerplus.base.BaseFooterDividerModel_;
                                     ^
  symbol:   class BaseFooterDividerModel_
  location: package com.plusmoney.managerplus.base
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:9: error: cannot find symbol
import com.plusmoney.managerplus.common.viewmodel.LoadMoreModel_;
                                                 ^
  symbol:   class LoadMoreModel_
  location: package com.plusmoney.managerplus.common.viewmodel
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ApprovalItemModel_;
                                                     ^
  symbol:   class ApprovalItemModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:15: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.LoadMoresModel_;
                                                     ^
  symbol:   class LoadMoresModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ModuleEntryModel_;
                                                     ^
  symbol:   class ModuleEntryModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.HeaderModel_;
                                                        ^
  symbol:   class HeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.MTextModel_;
                                                        ^
  symbol:   class MTextModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.ParticipantModel_;
                                                        ^
  symbol:   class ParticipantModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaApprovalModel_;
                                                        ^
  symbol:   class RelaApprovalModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaCustomerModel_;
                                                        ^
  symbol:   class RelaCustomerModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaHeaderModel_;
                                                        ^
  symbol:   class RelaHeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaTaskHeaderModel_;
                                                        ^
  symbol:   class RelaTaskHeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:25: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaTaskModel_;
                                                        ^
  symbol:   class RelaTaskModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.SiteModel_;
                                                        ^
  symbol:   class SiteModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:28: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.TextModel_;
                                                        ^
  symbol:   class TextModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/edit/relateinfo/RelateController.java:25: error: cannot find symbol
    private RelateModel_ getRelateModel(IRelate iRelate) {
            ^
  symbol:   class RelateModel_
  location: class RelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:50: error: cannot find symbol
    private CustomerModel_ toCustomerModel(Data data) {
            ^
  symbol:   class CustomerModel_
  location: class RelateInfoController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:60: error: cannot find symbol
    private ApprovalModel_ toApprovalModel_(RelateApproval data) {
            ^
  symbol:   class ApprovalModel_
  location: class RelateInfoController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/contact/leave_employee/LeaveEmployeesFragment.java:29: error: cannot find symbol
import com.plusmoney.managerplus.contact.contract_infor.DaggerContactInformationComponent;
                                                       ^
  symbol:   class DaggerContactInformationComponent
  location: package com.plusmoney.managerplus.contact.contract_infor
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:23: error: cannot find symbol
    @AutoModel LoadMoreModel_ mLoader;
               ^
  symbol:   class LoadMoreModel_
  location: class TaskSelectionController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:65: error: cannot find symbol
    private TaskSelectionModel_ getTaskSelectionModel(Task task) {
            ^
  symbol:   class TaskSelectionModel_
  location: class TaskSelectionController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ClientSearchHeaderModel_;
                                                         ^
  symbol:   class ClientSearchHeaderModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ClientSearchModel_;
                                                         ^
  symbol:   class ClientSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ContactSearchHeaderModel_;
                                                         ^
  symbol:   class ContactSearchHeaderModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ContactSearchModel_;
                                                         ^
  symbol:   class ContactSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.CrmSearchEmptyModel_;
                                                         ^
  symbol:   class CrmSearchEmptyModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:25: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ViewMoreModel_;
                                                         ^
  symbol:   class ViewMoreModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:26: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.ActivityRecordHeaderModel_;
                                                                         ^
  symbol:   class ActivityRecordHeaderModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.ChattingRecordModel_;
                                                                         ^
  symbol:   class ChattingRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:28: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.CommentModel_;
                                                                         ^
  symbol:   class CommentModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:29: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.PhoneRecordModel_;
                                                                         ^
  symbol:   class PhoneRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:30: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.VisitRecordModel_;
                                                                         ^
  symbol:   class VisitRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ClientSearchModel_;
                                                         ^
  symbol:   class ClientSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.ContactSearchModel_;
                                                         ^
  symbol:   class ContactSearchModel_
  location: package com.plusmoney.managerplus.crm.global.search.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.ChattingRecordModel_;
                                                                         ^
  symbol:   class ChattingRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.CommentModel_;
                                                                         ^
  symbol:   class CommentModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.PhoneRecordModel_;
                                                                         ^
  symbol:   class PhoneRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:24: error: cannot find symbol
import com.plusmoney.managerplus.crm.global.search.models.activity.record.VisitRecordModel_;
                                                                         ^
  symbol:   class VisitRecordModel_
  location: package com.plusmoney.managerplus.crm.global.search.models.activity.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:56: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mMyTreatModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:57: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mMyApplyModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:58: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mMyParticipateModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:59: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mCopy2MeModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:60: error: cannot find symbol
    @AutoModel ModuleEntryModel_ mSubordinateApprovalModule;
               ^
  symbol:   class ModuleEntryModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:61: error: cannot find symbol
    @AutoModel LoadMoresModel_ mLoadMoresModel;
               ^
  symbol:   class LoadMoresModel_
  location: class ApprovalHomeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/selected/relate/SelectedRelaController.java:6: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SelectEmptyModel_;
                                                             ^
  symbol:   class SelectEmptyModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/selected/relate/SelectedRelaController.java:7: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SelectRelateApprovalModel_;
                                                             ^
  symbol:   class SelectRelateApprovalModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:10: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.ApprovalLoadMoreModel_;
                                                             ^
  symbol:   class ApprovalLoadMoreModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:11: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.RelaLoadEndModel_;
                                                             ^
  symbol:   class RelaLoadEndModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SearchEmptyModel_;
                                                             ^
  symbol:   class SearchEmptyModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.rela_approval.model.SelectRelateApprovalModel_;
                                                             ^
  symbol:   class SelectRelateApprovalModel_
  location: package com.plusmoney.managerplus.approval.rela_approval.model
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/notclock_in/NotClockInSettingFragment.java:32: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:7: error: cannot find symbol
import com.plusmoney.managerplus.attendance.record.RecordEmptyModel_;
                                                  ^
  symbol:   class RecordEmptyModel_
  location: package com.plusmoney.managerplus.attendance.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:8: error: cannot find symbol
import com.plusmoney.managerplus.attendance.record.RecordModel_;
                                                  ^
  symbol:   class RecordModel_
  location: package com.plusmoney.managerplus.attendance.record
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:10: error: cannot find symbol
import com.plusmoney.managerplus.attendance.scheme.SchemeModel_;
                                                  ^
  symbol:   class SchemeModel_
  location: package com.plusmoney.managerplus.attendance.scheme
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:11: error: cannot find symbol
import com.plusmoney.managerplus.attendance.scheme.SchemeNotEnableModel_;
                                                  ^
  symbol:   class SchemeNotEnableModel_
  location: package com.plusmoney.managerplus.attendance.scheme
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/attendance/SchemeRecordController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.attendance.scheme.SchemeNotSetModel_;
                                                  ^
  symbol:   class SchemeNotSetModel_
  location: package com.plusmoney.managerplus.attendance.scheme
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:75: error: cannot find symbol
    @AutoModel HeaderModel_ headerModel;
               ^
  symbol:   class HeaderModel_
  location: class ApprovalDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:76: error: cannot find symbol
    @AutoModel RelaHeaderModel_ relaHeaderModel;
               ^
  symbol:   class RelaHeaderModel_
  location: class ApprovalDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:77: error: cannot find symbol
    @AutoModel RelaTaskHeaderModel_ relaTaskHeaderModel;
               ^
  symbol:   class RelaTaskHeaderModel_
  location: class ApprovalDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:78: error: cannot find symbol
    @AutoModel ClientSearchHeaderModel_ clientHeaderModel;
               ^
  symbol:   class ClientSearchHeaderModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:79: error: cannot find symbol
    @AutoModel ContactSearchHeaderModel_ contactHeaderModel;
               ^
  symbol:   class ContactSearchHeaderModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:80: error: cannot find symbol
    @AutoModel ActivityRecordHeaderModel_ activityRecordHeaderModel;
               ^
  symbol:   class ActivityRecordHeaderModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:81: error: cannot find symbol
    @AutoModel ViewMoreModel_ clientViewMoreModel;
               ^
  symbol:   class ViewMoreModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:82: error: cannot find symbol
    @AutoModel ViewMoreModel_ contactViewMoreModel;
               ^
  symbol:   class ViewMoreModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:83: error: cannot find symbol
    @AutoModel ViewMoreModel_ activityRecordViewMoreModel;
               ^
  symbol:   class ViewMoreModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/GlobalSearchController.java:84: error: cannot find symbol
    @AutoModel CrmSearchEmptyModel_ emptyModel;
               ^
  symbol:   class CrmSearchEmptyModel_
  location: class GlobalSearchController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/global/search/moreresult/MoreResultController.java:50: error: cannot find symbol
    @AutoModel CrmLoadMoreModel_ loadMoreModel;
               ^
  symbol:   class CrmLoadMoreModel_
  location: class MoreResultController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/selected/relate/SelectedRelaController.java:22: error: cannot find symbol
    @AutoModel SelectEmptyModel_ selectEmptyModel;
               ^
  symbol:   class SelectEmptyModel_
  location: class SelectedRelaController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:24: error: cannot find symbol
    @AutoModel SearchEmptyModel_ searchEmptyModel;
               ^
  symbol:   class SearchEmptyModel_
  location: class SearchRelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:25: error: cannot find symbol
    @AutoModel ApprovalLoadMoreModel_ loadMoreModel;
               ^
  symbol:   class ApprovalLoadMoreModel_
  location: class SearchRelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/rela_approval/search/SearchRelateController.java:26: error: cannot find symbol
    @AutoModel RelaLoadEndModel_ loadEndModel;
               ^
  symbol:   class RelaLoadEndModel_
  location: class SearchRelateController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/approval/list/home/untreated/UntreatedApprovalFragment.java:43: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.old.DaggerApprovalComponent;
                                                  ^
  symbol:   class DaggerApprovalComponent
  location: package com.plusmoney.managerplus.approval.home.old
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/models/annex/AnnexDetailModelGroup.java:11: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.annex.AnnexModel_;
                                                                    ^
  symbol:   class AnnexModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models.annex
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/purchase_template/PurchaseTemplateSettingFragment.java:33: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/SetApprovalNameFragment.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.template.DaggerSelectTemplateComponent;
                                                                   ^
  symbol:   class DaggerSelectTemplateComponent
  location: package com.plusmoney.managerplus.approval.managment.select.template
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/custom/flow/CustomProcessFragment.java:31: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.custom.flow.select.contact.DaggerDepartmentCopyComponent;
                                                                                          ^
  symbol:   class DaggerDepartmentCopyComponent
  location: package com.plusmoney.managerplus.approval.managment.select.flow.custom.flow.select.contact
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models.AddConditionModel_;
                                                                                     ^
  symbol:   class AddConditionModel_
  location: package com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models.ConditionRangeModel_;
                                                                                     ^
  symbol:   class ConditionRangeModel_
  location: package com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models.ConditionTypeModel_;
                                                                                     ^
  symbol:   class ConditionTypeModel_
  location: package com.plusmoney.managerplus.approval.managment.select.flow.condition.flow.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:41: error: cannot find symbol
    @AutoModel ConditionTypeModel_ conditionTypeModel;
               ^
  symbol:   class ConditionTypeModel_
  location: class ConditionFlowController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/ConditionFlowController.java:42: error: cannot find symbol
    @AutoModel AddConditionModel_ addConditionModel;
               ^
  symbol:   class AddConditionModel_
  location: class ConditionFlowController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/range/ConditionRangeController.java:30: error: cannot find symbol
    @AutoModel RangeModel_ rangeModel;
               ^
  symbol:   class RangeModel_
  location: class ConditionRangeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/select/flow/condition/flow/range/ConditionRangeController.java:31: error: cannot find symbol
    @AutoModel SetApprovalFlowModel_ approvalFlowModel;
               ^
  symbol:   class SetApprovalFlowModel_
  location: class ConditionRangeController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/reimburse_template/ReimburseTemplateSettingFragment.java:34: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/leave_template/LeaveTemplateSettingFragment.java:35: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/managment/biztrip_template/BiztripTemplateSettingFragment.java:32: error: cannot find symbol
import com.plusmoney.managerplus.approval.managment.template_setting.DaggerTemplateSettingComponent;
                                                                    ^
  symbol:   class DaggerTemplateSettingComponent
  location: package com.plusmoney.managerplus.approval.managment.template_setting
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/newapproval/NewApprovalFragment.java:17: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.old.DaggerApprovalComponent;
                                                  ^
  symbol:   class DaggerApprovalComponent
  location: package com.plusmoney.managerplus.approval.home.old
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.AttendanceSchemeModel_;
                                                              ^
  symbol:   class AttendanceSchemeModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.BatchDisplayModel_;
                                                              ^
  symbol:   class BatchDisplayModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.DateModel_;
                                                              ^
  symbol:   class DateModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
Note: Generating a MembersInjector for com.plusmoney.managerplus.base.BaseUserService. Prefer to run the dagger processor over that class instead.
Note: Generating a MembersInjector for com.plusmoney.managerplus.base.BaseUserActivity. Prefer to run the dagger processor over that class instead.
:app:compileDevDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDevDebugJavaWithJavac'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
        at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;
        at com.sun.tools.javac.main.Main.compile(Main.java:553)
        at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:46)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:206)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:187)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:130)
        at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
        ... 20 more
Caused by: java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;
        at com.airbnb.epoxy.EpoxyProcessor.getSupportedAnnotationTypes(EpoxyProcessor.java:117)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:505)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:597)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:690)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
        at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        ... 39 more
rorschach commented 7 years ago

And the result after execute ./gradlew app:dependencyInsight --configuration annotationProcessor --dependency javapoet is:

:app:dependencyInsight
com.squareup:javapoet:1.8.0 (conflict resolution)
+--- com.airbnb.android:epoxy-processor:2.1.0
|    \--- annotationProcessor
\--- com.jakewharton:butterknife-compiler:8.5.1
     \--- annotationProcessor

com.squareup:javapoet:1.7.0 -> 1.8.0
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    \--- annotationProcessor
\--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
     \--- annotationProcessor

The result after execute ./gradlew -q :app:dependencies is:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.google.dagger:dagger-compiler:2.7
|    +--- com.google.dagger:dagger:2.7
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.7
|    |    +--- com.google.dagger:dagger:2.7 (*)
|    |    \--- com.google.guava:guava:19.0
|    \--- com.google.guava:guava:19.0
+--- com.jakewharton:butterknife-compiler:8.5.1
|    +--- com.jakewharton:butterknife-annotations:8.5.1
|    |    \--- com.android.support:support-annotations:25.1.0 -> 25.3.1
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.6
|    |    |    \--- com.google.guava:guava:18.0 -> 19.0
|    |    \--- com.google.guava:guava:18.0 -> 19.0
|    +--- com.google.auto:auto-common:0.6 (*)
|    \--- com.squareup:javapoet:1.8.0
+--- com.google.auto.value:auto-value:1.3
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    +--- com.google.code.gson:gson:2.8.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    \--- com.google.auto:auto-common:0.6 (*)
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 (*)
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.8.0
\--- com.airbnb.android:epoxy-processor:2.1.0
     +--- com.squareup:javapoet:1.8.0
     \--- com.airbnb.android:epoxy-annotations:2.1.0
          \--- com.android.support:support-annotations:25.3.1

And I found that guava version in dagger 2.7 not equals the version I specified in dependences file

elihart commented 7 years ago

I guess 2.1.0 does have the dependency issue.

I didn't get java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String; after made the dependency change to force the right versions.

Can you try this:

  1. Go back to epoxy version 2.0.0 and do a clean build.
  2. Make the dependency change to force the correct version. Build and make sure it works with 2.0.0
  3. Bump epoxy to 2.1.0 and build without cleaning.
  4. See what the error message is.
rorschach commented 7 years ago

According to your suggestion, I got such information:

error: cannot find symbol class XXX

//...

warning: Generating a MembersInjector for com.plusmoney.managerplus.base.BaseUserService. Prefer to run the dagger processor over that class instead.
warning: Generating a MembersInjector for com.plusmoney.managerplus.base.BaseUserActivity. Prefer to run the dagger processor over that class instead.
:app:compileDevDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDevDebugJavaWithJavac'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
        at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
        at org.gradle.execution.taskgraph.ParallelTaskPlanExecutor.process(ParallelTaskPlanExecutor.java:50)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
        at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:196)
        at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:193)
        at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:193)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
        at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
        at org.gradle.util.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:50)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;
        at com.sun.tools.javac.main.Main.compile(Main.java:553)
        at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
        at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:46)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:206)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:187)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:130)
        at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
        ... 70 more
Caused by: java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;
        at com.airbnb.epoxy.EpoxyProcessor.getSupportedAnnotationTypes(EpoxyProcessor.java:117)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:505)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:597)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:690)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
        at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        ... 89 more
rorschach commented 7 years ago

And the result after execute ./gradlew app:dependencyInsight --configuration annotationProcessor --dependency javapoet is:

:app:dependencyInsight
com.squareup:javapoet:1.8.0 (conflict resolution)
+--- com.airbnb.android:epoxy-processor:2.1.0
|    \--- annotationProcessor
\--- com.jakewharton:butterknife-compiler:8.5.1
     \--- annotationProcessor

com.squareup:javapoet:1.7.0 -> 1.8.0
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    \--- annotationProcessor
\--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
     \--- annotationProcessor

The result after execute ./gradlew -q :app:dependencies is:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.google.dagger:dagger-compiler:2.7
|    +--- com.google.dagger:dagger:2.7
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.7
|    |    +--- com.google.dagger:dagger:2.7 (*)
|    |    \--- com.google.guava:guava:19.0
|    \--- com.google.guava:guava:19.0
+--- com.jakewharton:butterknife-compiler:8.5.1
|    +--- com.jakewharton:butterknife-annotations:8.5.1
|    |    \--- com.android.support:support-annotations:25.1.0 -> 25.3.1
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.6
|    |    |    \--- com.google.guava:guava:18.0 -> 19.0
|    |    \--- com.google.guava:guava:18.0 -> 19.0
|    +--- com.google.auto:auto-common:0.6 (*)
|    \--- com.squareup:javapoet:1.8.0
+--- com.google.auto.value:auto-value:1.3
+--- com.ryanharter.auto.value:auto-value-gson:0.4.5
|    +--- com.google.code.gson:gson:2.8.0
|    +--- com.squareup:javapoet:1.7.0 -> 1.8.0
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    \--- com.google.auto:auto-common:0.6 (*)
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 (*)
|    +--- com.google.auto.value:auto-value:1.3
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.8.0
\--- com.airbnb.android:epoxy-processor:2.1.0
     +--- com.squareup:javapoet:1.8.0
     \--- com.airbnb.android:epoxy-annotations:2.1.0
          \--- com.android.support:support-annotations:25.3.1
provided - Classpath for only compiling the main sources.
+--- com.jakewharton.auto.value:auto-value-annotations:1.3
\--- com.ryanharter.auto.value:auto-value-gson:0.4.5
     +--- com.google.code.gson:gson:2.8.0
     +--- com.squareup:javapoet:1.7.0
     +--- com.google.auto.value:auto-value:1.3
     +--- com.google.auto.service:auto-service:1.0-rc2
     |    +--- com.google.auto:auto-common:0.3 -> 0.6
     |    |    \--- com.google.guava:guava:18.0
     |    \--- com.google.guava:guava:18.0
     \--- com.google.auto:auto-common:0.6 (*)
elihart commented 7 years ago

Looks like auto-value-gson is resolving to 1.7.0 for javapoet.

They seem to have a new version that has an updated javapoet version, can you try that? https://github.com/rharter/auto-value-gson/releases/tag/0.5.0

elihart commented 7 years ago

have you seen https://github.com/rharter/auto-value-gson/issues/43 and https://github.com/rharter/auto-value-parcel/issues/64?

It seems like you can try add annotationProcessor 'com.squareup:javapoet:1.8.0' before your dagger line

rorschach commented 7 years ago

I try to update auto-value-gson to veriosn 0.0.5, but it doesn't work. And I already add annotationProcessor 'com.squareup:javapoet:1.8.0' before dagger:

      [configuration: "compile", dependency: libs.guava],
      [configuration: "testCompile", dependency: libs.guava],

      [configuration: "annotationProcessor", dependency: libs.javapoet],

      [configuration: "compile", dependency: libs.dagger],
      [configuration: "annotationProcessor", dependency: libs.daggercompiler],

      [configuration: "compile", dependency: libs.butterknife],
      [configuration: "annotationProcessor", dependency: libs.butterknifecompiler],

      [configuration: "annotationProcessor", dependency: libs.auto_value],
      [configuration: "provided", dependency: libs.auto_value_annotation],
      [configuration: "annotationProcessor", dependency: libs.auto_value_gson],
      [configuration: "provided", dependency: libs.auto_value_gson],
      [configuration: "annotationProcessor", dependency: libs.auto_value_parcel],

      [configuration: "compile", dependency: libs.epoxy],
      [configuration: "annotationProcessor", dependency: libs.epoxyprocessor],

And the result of ./gradlew -q app:dependencies --configuration annotationProcessor is:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.squareup:javapoet:1.8.0
+--- com.google.dagger:dagger-compiler:2.7
|    +--- com.google.dagger:dagger:2.7
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.7
|    |    +--- com.google.dagger:dagger:2.7 (*)
|    |    \--- com.google.guava:guava:19.0
|    \--- com.google.guava:guava:19.0
+--- com.jakewharton:butterknife-compiler:8.5.1
|    +--- com.jakewharton:butterknife-annotations:8.5.1
|    |    \--- com.android.support:support-annotations:25.1.0 -> 25.3.1
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.8
|    |    |    \--- com.google.guava:guava:19.0
|    |    \--- com.google.guava:guava:18.0 -> 19.0
|    +--- com.google.auto:auto-common:0.6 -> 0.8 (*)
|    \--- com.squareup:javapoet:1.8.0
+--- com.google.auto.value:auto-value:1.4 -> 1.4.1
+--- com.ryanharter.auto.value:auto-value-gson:0.5.0
|    +--- com.google.code.gson:gson:2.8.1
|    +--- com.google.auto.value:auto-value:1.4.1
|    +--- com.google.auto:auto-common:0.8 (*)
|    \--- com.squareup:javapoet:1.9.0 -> 1.8.0
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 -> 0.8 (*)
|    +--- com.google.auto.value:auto-value:1.3 -> 1.4.1
|    +--- com.google.auto.service:auto-service:1.0-rc2 (*)
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.8.0
\--- com.airbnb.android:epoxy-processor:2.1.0
     +--- com.squareup:javapoet:1.8.0
     \--- com.airbnb.android:epoxy-annotations:2.1.0
          \--- com.android.support:support-annotations:25.3.1

But I still got:

Execution failed for task ':app:compileDevDebugJavaWithJavac'.
 java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;

And I think the reason is dagger share dependencies from version 2.10 https://github.com/google/dagger/pull/350

elihart commented 7 years ago

Hm, I'm not sure then :(

I found https://stackoverflow.com/questions/39139385/butterknife8-3-0-and-dagger2-are-used-together-complains-but-butterknife7-is-o

You might try using provided, and also

packagingOptions {
     exclude 'META-INF/services/javax.annotation.processing.Processor'
}

I noticed that we do that exclude ^ in our own build.gradle

jeanbaptistemorin commented 7 years ago

Hello, I am falling into the exact same issue with Dagger 2.9 and Epoxy 2.2.0.

FYI, the fix with adding the ugly apt 'com.squareup:javapoet:1.8.0' at the top of the dependencies is working with apt (com.neenbedankt.gradle.plugins:android-apt) but not with annotationProcessor. Moving to apt is my current workaround. Need more investigation to figure out why.

elihart commented 7 years ago

@jeanbaptistemorin thanks for the workaround tip! I was wondering if apt vs annotationProcessor made a difference... @rorschach maybe that will work for you?

rorschach commented 7 years ago

And I got such message when I edit my dependency like below: error

warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it

dependency

  javapoetVersion = '1.8.0'
  guavaVersion = '22.0-android'
  daggerVersion = "2.9"
  epoxyVersion = '2.2.0'
  butterKnifeVersion = '8.7.0'
  autoValueVersion = '1.3'
  autoValueGsonVersion = '0.4.5'
  autoValueParcelVersion = '0.2.5'

[configuration: "apt", dependency: libs.javapoet],

[configuration: "compile", dependency: libs.guava],
[configuration: "testCompile", dependency: libs.guava],

[configuration: "compile", dependency: libs.dagger],
[configuration: "annotationProcessor", dependency: libs.daggercompiler],

[configuration: "compile", dependency: libs.butterknife],
[configuration: "annotationProcessor", dependency: libs.butterknifecompiler],

[configuration: "provided", dependency: libs.auto_value_annotation],
[configuration: "annotationProcessor", dependency: libs.auto_value],
[configuration: "annotationProcessor", dependency: libs.auto_value_gson],
[configuration: "provided", dependency: libs.auto_value_gson],
[configuration: "annotationProcessor", dependency: libs.auto_value_parcel],

[configuration: "compile", dependency: libs.epoxy],
[configuration: "annotationProcessor", dependency: libs.epoxyprocessor],

Even if I build with autoValueVersion = '1.4' and autoValueGsonVersion = '0.5.0', it also got same message.

And the result of ./gradlew -q app:dependencies --configuration annotationProcessor is:

annotationProcessor - Classpath for the annotation processor for 'main'.
+--- com.google.dagger:dagger-compiler:2.9
|    +--- com.google.dagger:dagger:2.9
|    |    \--- javax.inject:javax.inject:1
|    +--- com.google.dagger:dagger-producers:2.9
|    |    +--- com.google.dagger:dagger:2.9 (*)
|    |    \--- com.google.guava:guava:20.0-rc1
|    \--- com.google.guava:guava:20.0-rc1
+--- com.jakewharton:butterknife-compiler:8.7.0
|    +--- com.jakewharton:butterknife-annotations:8.7.0
|    |    \--- com.android.support:support-annotations:25.3.0 -> 25.3.1
|    +--- com.google.auto:auto-common:0.8
|    |    \--- com.google.guava:guava:19.0 -> 20.0-rc1
|    \--- com.squareup:javapoet:1.9.0
+--- com.google.auto.value:auto-value:1.4 -> 1.4.1
+--- com.ryanharter.auto.value:auto-value-gson:0.5.0
|    +--- com.google.code.gson:gson:2.8.1
|    +--- com.google.auto.value:auto-value:1.4.1
|    +--- com.google.auto:auto-common:0.8 (*)
|    \--- com.squareup:javapoet:1.9.0
+--- com.ryanharter.auto.value:auto-value-parcel:0.2.5
|    +--- com.ryanharter.auto.value:auto-value-parcel-adapter:0.2.5
|    +--- com.google.auto:auto-common:0.6 -> 0.8 (*)
|    +--- com.google.auto.value:auto-value:1.3 -> 1.4.1
|    +--- com.google.auto.service:auto-service:1.0-rc2
|    |    +--- com.google.auto:auto-common:0.3 -> 0.8 (*)
|    |    \--- com.google.guava:guava:18.0 -> 20.0-rc1
|    +--- org.apache.commons:commons-lang3:3.4
|    \--- com.squareup:javapoet:1.7.0 -> 1.9.0
\--- com.airbnb.android:epoxy-processor:2.2.0
     +--- com.squareup:javapoet:1.8.0 -> 1.9.0
     \--- com.airbnb.android:epoxy-annotations:2.2.0
          \--- com.android.support:support-annotations:25.3.1

@jeanbaptistemorin Do you use AutoValue in you project?

elihart commented 7 years ago

warning: Abstract method is neither a property getter nor a Builder converter seems like an AutoValue warning, is it actually an error preventing you from building? are there any other errors? Can your address that warning and see if it works?

rorschach commented 7 years ago

It makes me build failed, and I still got error: cannot find symbol class XXX. I got such message after update auto-value and auto-value-gson, and I can't address the warning. In this state, dagger 2.7 and epoxy 2.0.0 also got same error.

rorschach commented 7 years ago

The complete message:

error: cannot find symbol class XXX
...
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
warning: Abstract method is neither a property getter nor a Builder converter, and no extension consumed it
100 errors
12 warnings
:app:compileDevDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDevDebugJavaWithJavac'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
        at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
        at org.gradle.execution.taskgraph.ParallelTaskPlanExecutor.process(ParallelTaskPlanExecutor.java:50)
        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
        at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:196)
        at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:193)
        at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:193)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
        at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
        at org.gradle.util.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:50)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:48)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:206)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:187)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:130)
        at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
        at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
        ... 70 more

Even if I revert auto-value & auto-value-gson , I still got same message.

  javapoetVersion = '1.8.0'
  guavaVersion = '22.0-android'

  daggerVersion = "2.9"

  epoxyVersion = '2.2.0'

  butterKnifeVersion = '8.5.1'

  autoValueVersion = '1.3'
  autoValueGsonVersion = '0.4.5'
  autoValueParcelVersion = '0.2.5'

      [configuration: "apt", dependency: libs.javapoet],

      [configuration: "compile", dependency: libs.guava],
      [configuration: "testCompile", dependency: libs.guava],

      [configuration: "compile", dependency: libs.dagger],
      [configuration: "annotationProcessor", dependency: libs.daggercompiler],

      [configuration: "compile", dependency: libs.butterknife],
      [configuration: "annotationProcessor", dependency: libs.butterknifecompiler],

      [configuration: "provided", dependency: libs.auto_value_annotation],
      [configuration: "annotationProcessor", dependency: libs.auto_value],
      [configuration: "annotationProcessor", dependency: libs.auto_value_gson],
      [configuration: "provided", dependency: libs.auto_value_gson],
      [configuration: "annotationProcessor", dependency: libs.auto_value_parcel],

      [configuration: "compile", dependency: libs.epoxy],
      [configuration: "annotationProcessor", dependency: libs.epoxyprocessor],
elihart commented 7 years ago

@rorschach sorry you're still having problems, and that I can't be more help.

It's possible that you are hitting a legitimate bug in the epoxy annotation processor. Unfortunately annotation processor crashes provide terrible stack traces :( so it's very hard to know what it going on.

There are a few ways I can maybe help debug.

  1. If you can provide a sample project with the issue
  2. If you can remove epoxy models/controllers one by one until you find where removing one makes it work.
  3. if you can give me more information about how you're using epoxy (which classes, which annotations, patterns, etc)
elihart commented 7 years ago

@rorschach can you try the latest 2.3.0 version? I added some new logging that might help catch the underlying issue.

rorschach commented 7 years ago

I still get same message below after update epoxy to 2.3.0 with such dependency:

javapoetVersion = '1.9.0'
guavaVersion = '23.0-android'

daggerVersion = "2.11"
epoxyVersion = '2.3.0'

butterKnifeVersion = '8.7.0'
autoValueVersion = '1.5'
autoValueGsonVersion = '0.5.0'
autoValueParcelVersion = '0.2.5'

javapoet               : dependencies.create("com.squareup:javapoet:${javapoetVersion}") {
  force = true
},

guava                  : dependencies.create("com.google.guava:guava:${guavaVersion}") {
  force = true
},

dagger                 : "com.google.dagger:dagger:${daggerVersion}",
daggercompiler         : "com.google.dagger:dagger-compiler:${daggerVersion}",

butterknife            : "com.jakewharton:butterknife:${butterKnifeVersion}",
butterknifecompiler    : "com.jakewharton:butterknife-compiler:${butterKnifeVersion}",

gson                   : "com.google.code.gson:gson:${gsonVersion}",

auto_value_annotation  : "com.jakewharton.auto.value:auto-value-annotations:${autoValueVersion}",
auto_value             : "com.google.auto.value:auto-value:${autoValueVersion}",
auto_value_gson        : "com.ryanharter.auto.value:auto-value-gson:${autoValueGsonVersion}",
auto_value_parcel      : "com.ryanharter.auto.value:auto-value-parcel:${autoValueParcelVersion}",

epoxy                  : "com.airbnb.android:epoxy:${epoxyVersion}",
epoxyprocessor         : "com.airbnb.android:epoxy-processor:${epoxyVersion}",\

[configuration: "annotationProcessor", dependency: libs.javapoet],

[configuration: "compile", dependency: libs.guava],
[configuration: "testCompile", dependency: libs.guava],

[configuration: "compile", dependency: libs.dagger],
[configuration: "annotationProcessor", dependency: libs.daggercompiler],

[configuration: "compile", dependency: libs.butterknife],
[configuration: "annotationProcessor", dependency: libs.butterknifecompiler],

[configuration: "annotationProcessor", dependency: libs.auto_value],
[configuration: "provided", dependency: libs.auto_value_annotation],

[configuration: "annotationProcessor", dependency: libs.auto_value_gson],
[configuration: "provided", dependency: libs.auto_value_gson],

[configuration: "annotationProcessor", dependency: libs.auto_value_parcel],

[configuration: "compile", dependency: libs.epoxy],
[configuration: "annotationProcessor", dependency: libs.epoxyprocessor],
import com.plusmoney.managerplus.analysis.data.DaggerAnalysisRepositoryComponent;
                                              ^
  symbol:   class DaggerAnalysisRepositoryComponent
  location: package com.plusmoney.managerplus.analysis.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:8: error: cannot find symbol
import com.plusmoney.managerplus.approval.data.DaggerApprovalDataRepositoryComponent;
                                              ^
  symbol:   class DaggerApprovalDataRepositoryComponent
  location: package com.plusmoney.managerplus.approval.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:11: error: cannot find symbol
import com.plusmoney.managerplus.architecture.data.DaggerContactDataRepositoryComponent;
                                                  ^
  symbol:   class DaggerContactDataRepositoryComponent
  location: package com.plusmoney.managerplus.architecture.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:13: error: cannot find symbol
import com.plusmoney.managerplus.crm.data.DaggerCrmDataRepositoryComponent;
                                         ^
  symbol:   class DaggerCrmDataRepositoryComponent
  location: package com.plusmoney.managerplus.crm.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:16: error: cannot find symbol
import com.plusmoney.managerplus.di.component.DaggerApiComponent;
                                             ^
  symbol:   class DaggerApiComponent
  location: package com.plusmoney.managerplus.di.component
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:17: error: cannot find symbol
import com.plusmoney.managerplus.di.component.DaggerAppComponent;
                                             ^
  symbol:   class DaggerAppComponent
  location: package com.plusmoney.managerplus.di.component
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:21: error: cannot find symbol
import com.plusmoney.managerplus.kpi.data.DaggerKpiDataRepositoryComponent;
                                         ^
  symbol:   class DaggerKpiDataRepositoryComponent
  location: package com.plusmoney.managerplus.kpi.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:24: error: cannot find symbol
import com.plusmoney.managerplus.task.data.DaggerTasksDataRepositoryComponent;
                                          ^
  symbol:   class DaggerTasksDataRepositoryComponent
  location: package com.plusmoney.managerplus.task.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/global/DIWrapper.java:26: error: cannot find symbol
import com.plusmoney.managerplus.user.data.DaggerUserRepositoryComponent;
                                          ^
  symbol:   class DaggerUserRepositoryComponent
  location: package com.plusmoney.managerplus.user.data
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:7: error: cannot find symbol
import com.plusmoney.managerplus.base.viewmodel.BaseFooterDividerModel_;
                                               ^
  symbol:   class BaseFooterDividerModel_
  location: package com.plusmoney.managerplus.base.viewmodel
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.LoadMoresModel_;
                                                     ^
  symbol:   class LoadMoresModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.common.models.comment.CommentTextModel_;
                                                          ^
  symbol:   class CommentTextModel_
  location: package com.plusmoney.managerplus.crm.common.models.comment
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:28: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.detail.models.PaymentBaseInfoModel_;
                                                          ^
  symbol:   class PaymentBaseInfoModel_
  location: package com.plusmoney.managerplus.crm.payment.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:29: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.detail.models.PaymentFlowModel_;
                                                          ^
  symbol:   class PaymentFlowModel_
  location: package com.plusmoney.managerplus.crm.payment.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.AttendanceSchemeModel_;
                                                              ^
  symbol:   class AttendanceSchemeModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.BatchDisplayModel_;
                                                              ^
  symbol:   class BatchDisplayModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.DateModel_;
                                                              ^
  symbol:   class DateModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.DigitalTextModel_;
                                                              ^
  symbol:   class DigitalTextModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.MTextModel_;
                                                              ^
  symbol:   class MTextModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.RelaModel_;
                                                              ^
  symbol:   class RelaModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:24: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.SelectPersonModel_;
                                                              ^
  symbol:   class SelectPersonModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:26: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.SiteModel_;
                                                              ^
  symbol:   class SiteModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.TextModel_;
                                                              ^
  symbol:   class TextModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:29: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.TimeSpanModel_;
                                                              ^
  symbol:   class TimeSpanModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:30: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.TipsModel_;
                                                              ^
  symbol:   class TipsModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:32: error: cannot find symbol
import com.plusmoney.managerplus.approval.edit.approval.models.UnitermingModel_;
                                                              ^
  symbol:   class UnitermingModel_
  location: package com.plusmoney.managerplus.approval.edit.approval.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/select/SelectOrderController.java:8: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/select/SelectOrderController.java:9: error: cannot find symbol
import com.plusmoney.managerplus.crm.common.models.EmptyModel_;
                                                  ^
  symbol:   class EmptyModel_
  location: package com.plusmoney.managerplus.crm.common.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/select/SelectOrderController.java:12: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.select.models.SelectOrderModel_;
                                                          ^
  symbol:   class SelectOrderModel_
  location: package com.plusmoney.managerplus.crm.payment.select.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/edit/EditPaymentController.java:11: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.edit.models.PaymentInfoModel_;
                                                        ^
  symbol:   class PaymentInfoModel_
  location: package com.plusmoney.managerplus.crm.payment.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/edit/EditPaymentController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.edit.models.PaymentRelateOrderModel_;
                                                        ^
  symbol:   class PaymentRelateOrderModel_
  location: package com.plusmoney.managerplus.crm.payment.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/edit/EditPaymentController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.edit.models.PaymentRemarksModel_;
                                                        ^
  symbol:   class PaymentRemarksModel_
  location: package com.plusmoney.managerplus.crm.payment.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/modulelist/ModuleListController.java:8: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/modulelist/ModuleListController.java:10: error: cannot find symbol
import com.plusmoney.managerplus.crm.common.models.ItemDividerModel_;
                                                  ^
  symbol:   class ItemDividerModel_
  location: package com.plusmoney.managerplus.crm.common.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/modulelist/ModuleListController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderContractModel_;
                                                        ^
  symbol:   class OrderContractModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/modulelist/ModuleListController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderProductModel_;
                                                        ^
  symbol:   class OrderProductModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/modulelist/ModuleListController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.crm.payment.home.models.PaymentItemModel_;
                                                        ^
  symbol:   class PaymentItemModel_
  location: package com.plusmoney.managerplus.crm.payment.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.LoadMoresModel_;
                                                     ^
  symbol:   class LoadMoresModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.common.models.comment.CommentTextModel_;
                                                          ^
  symbol:   class CommentTextModel_
  location: package com.plusmoney.managerplus.crm.common.models.comment
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:29: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderContactModel_;
                                                        ^
  symbol:   class OrderContactModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:31: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderContractHeadModel_;
                                                        ^
  symbol:   class OrderContractHeadModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:32: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderContractModel_;
                                                        ^
  symbol:   class OrderContractModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:33: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderFlowModel_;
                                                        ^
  symbol:   class OrderFlowModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:34: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderHeadModel_;
                                                        ^
  symbol:   class OrderHeadModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:35: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderInfoModel_;
                                                        ^
  symbol:   class OrderInfoModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:37: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderModuleModel_;
                                                        ^
  symbol:   class OrderModuleModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:38: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.detail.models.OrderProductModel_;
                                                        ^
  symbol:   class OrderProductModel_
  location: package com.plusmoney.managerplus.crm.order.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/login/selectcompany/SelectCompanyController.java:5: error: cannot find symbol
import com.plusmoney.managerplus.base.viewmodel.BaseEmptyHolder_;
                                               ^
  symbol:   class BaseEmptyHolder_
  location: package com.plusmoney.managerplus.base.viewmodel
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/contacts/list/ContactsListController.java:10: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/contacts/list/ContactsListController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.crm.contacts.list.moduls.ContactCardModel_;
                                                         ^
  symbol:   class ContactCardModel_
  location: package com.plusmoney.managerplus.crm.contacts.list.moduls
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/contacts/list/ContactsListController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.crm.contacts.list.moduls.ContactEmptyModel_;
                                                         ^
  symbol:   class ContactEmptyModel_
  location: package com.plusmoney.managerplus.crm.contacts.list.moduls
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/InfoAddListController.java:7: error: cannot find symbol
import com.plusmoney.managerplus.crm.common.models.EmptyModel_;
                                                  ^
  symbol:   class EmptyModel_
  location: package com.plusmoney.managerplus.crm.common.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/InfoAddListController.java:9: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.SelectContactModel_;
                                                      ^
  symbol:   class SelectContactModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/approval/list/ApprovalListController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ApprovalItemModel_;
                                                     ^
  symbol:   class ApprovalItemModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/approval/list/ApprovalListController.java:15: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/approval/list/ApprovalListController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.LoadMoresModel_;
                                                     ^
  symbol:   class LoadMoresModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/approval/list/ApprovalListController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.crm.common.models.EmptyModel_;
                                                  ^
  symbol:   class EmptyModel_
  location: package com.plusmoney.managerplus.crm.common.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/select/multiple/TaskSelectionController.java:9: error: cannot find symbol
import com.plusmoney.managerplus.common.viewmodel.LoadMoreModel_;
                                                 ^
  symbol:   class LoadMoreModel_
  location: package com.plusmoney.managerplus.common.viewmodel
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:11: error: cannot find symbol
import com.plusmoney.managerplus.crm.contract.edit.models.OrderContractAfterModel_;
                                                         ^
  symbol:   class OrderContractAfterModel_
  location: package com.plusmoney.managerplus.crm.contract.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:13: error: cannot find symbol
import com.plusmoney.managerplus.crm.contract.edit.models.OrderContractPreModel_;
                                                         ^
  symbol:   class OrderContractPreModel_
  location: package com.plusmoney.managerplus.crm.contract.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:17: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.AddOrderContractModel_;
                                                      ^
  symbol:   class AddOrderContractModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.DiscountModel_;
                                                      ^
  symbol:   class DiscountModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.OrderBasicInfoModel_;
                                                      ^
  symbol:   class OrderBasicInfoModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.OrderRemarksModel_;
                                                      ^
  symbol:   class OrderRemarksModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.OrderToggleModel_;
                                                      ^
  symbol:   class OrderToggleModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:24: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.product.AddProductModel_;
                                                              ^
  symbol:   class AddProductModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models.product
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:26: error: cannot find symbol
import com.plusmoney.managerplus.crm.order.edit.models.product.ProductNameModel_;
                                                              ^
  symbol:   class ProductNameModel_
  location: package com.plusmoney.managerplus.crm.order.edit.models.product
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/edit/EditOrderController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.crm.product.detail.models.ProductDefaultModel_;
                                                          ^
  symbol:   class ProductDefaultModel_
  location: package com.plusmoney.managerplus.crm.product.detail.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:14: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ApprovalItemModel_;
                                                     ^
  symbol:   class ApprovalItemModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:15: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ItemDividerGreyModel_;
                                                     ^
  symbol:   class ItemDividerGreyModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:16: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.LoadMoresModel_;
                                                     ^
  symbol:   class LoadMoresModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/home/ApprovalHomeController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.home.models.ModuleEntryModel_;
                                                     ^
  symbol:   class ModuleEntryModel_
  location: package com.plusmoney.managerplus.approval.home.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:18: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.ApplicantModel_;
                                                        ^
  symbol:   class ApplicantModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:19: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.HeaderModel_;
                                                        ^
  symbol:   class HeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:20: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.MTextModel_;
                                                        ^
  symbol:   class MTextModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:21: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.ParticipantModel_;
                                                        ^
  symbol:   class ParticipantModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:22: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaApprovalModel_;
                                                        ^
  symbol:   class RelaApprovalModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:23: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaCustomerModel_;
                                                        ^
  symbol:   class RelaCustomerModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:24: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaHeaderModel_;
                                                        ^
  symbol:   class RelaHeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:25: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaTaskHeaderModel_;
                                                        ^
  symbol:   class RelaTaskHeaderModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:27: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.RelaTaskModel_;
                                                        ^
  symbol:   class RelaTaskModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:29: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.SiteModel_;
                                                        ^
  symbol:   class SiteModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/details/ApprovalDetailController.java:30: error: cannot find symbol
import com.plusmoney.managerplus.approval.details.models.TextModel_;
                                                        ^
  symbol:   class TextModel_
  location: package com.plusmoney.managerplus.approval.details.models
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/architecture/company/former_employee/LeaveEmployeesFragment.java:29: error: cannot find symbol
import com.plusmoney.managerplus.architecture.contact.detail.DaggerContactInformationComponent;
                                                            ^
  symbol:   class DaggerContactInformationComponent
  location: package com.plusmoney.managerplus.architecture.contact.detail
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/architecture/contact/edit/EditContactFragment.java:41: error: cannot find symbol
import com.plusmoney.managerplus.architecture.contact.detail.DaggerContactInformationComponent;
                                                            ^
  symbol:   class DaggerContactInformationComponent
  location: package com.plusmoney.managerplus.architecture.contact.detail
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/edit/common/relateinfo/RelateController.java:5: error: cannot find symbol
import com.plusmoney.managerplus.base.viewmodel.BaseFooterDividerModel_;
                                               ^
  symbol:   class BaseFooterDividerModel_
  location: package com.plusmoney.managerplus.base.viewmodel
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:51: error: cannot find symbol
    private CustomerModel_ toCustomerModel(Data data) {
            ^
  symbol:   class CustomerModel_
  location: class RelateInfoController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/task/detail/relate/RelateInfoController.java:61: error: cannot find symbol
    private ApprovalModel_ toApprovalModel_(RelateApproval data) {
            ^
  symbol:   class ApprovalModel_
  location: class RelateInfoController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:51: error: cannot find symbol
    @AutoModel LoadMoresModel_ loadMoresModel;
               ^
  symbol:   class LoadMoresModel_
  location: class PaymentDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:52: error: cannot find symbol
    @AutoModel ItemDividerGreyModel_ itemDividerGreyModel;
               ^
  symbol:   class ItemDividerGreyModel_
  location: class PaymentDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:53: error: cannot find symbol
    @AutoModel ItemDividerGreyModel_ dividerGreyModel;
               ^
  symbol:   class ItemDividerGreyModel_
  location: class PaymentDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/detail/PaymentDetailController.java:54: error: cannot find symbol
    @AutoModel PaymentBaseInfoModel_ baseInfoModel;
               ^
  symbol:   class PaymentBaseInfoModel_
  location: class PaymentDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/approval/edit/approval/EditApprovalController.java:101: error: cannot find symbol
    @AutoModel TipsModel_ tipsModel;
               ^
  symbol:   class TipsModel_
  location: class EditApprovalController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/edit/EditPaymentController.java:52: error: cannot find symbol
    @AutoModel PaymentRelateOrderModel_ orderModel;
               ^
  symbol:   class PaymentRelateOrderModel_
  location: class EditPaymentController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/edit/EditPaymentController.java:53: error: cannot find symbol
    @AutoModel PaymentInfoModel_ infoModel;
               ^
  symbol:   class PaymentInfoModel_
  location: class EditPaymentController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/payment/edit/EditPaymentController.java:54: error: cannot find symbol
    @AutoModel PaymentRemarksModel_ remarksModel;
               ^
  symbol:   class PaymentRemarksModel_
  location: class EditPaymentController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:67: error: cannot find symbol
    @AutoModel OrderHeadModel_ orderHeadModel;
               ^
  symbol:   class OrderHeadModel_
  location: class OrderDetailController
/home/lei/job/mp_android/app/src/main/java/com/plusmoney/managerplus/crm/order/detail/OrderDetailController.java:68: error: cannot find symbol
    @AutoModel OrderContactModel_ clueModel;
               ^
  symbol:   class OrderContactModel_
  location: class OrderDetailController
100 errors

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDevDebugJavaWithJavac'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
    at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
    at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
    at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
    at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
    at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:48)
    at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:104)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:53)
    at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
    at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)
    at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
    at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:206)
    at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:187)
    at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:130)
    at com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
    at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163)
    at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
    at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76)
    ... 23 more
elihart commented 7 years ago

ugh sorry :(

If you can give me a whole project I can debug the annotation processor, otherwise this is hard to figure out.

Do you use epoxy's data binding support? are you using epoxy controllers? If you can tell me exactly which pieces of epoxy you use I can try to narrow down the possibilities.

rorschach commented 7 years ago

Sorry I can't provide whole project. And I do not use epoxy's data binding support, but I'm using epoxy controllers, and I also use epoxy adapters.

elihart commented 7 years ago

Thanks for the info.

Just to be clear, when you are bumping the dependency you are only changing the epoxy version? You aren't changing any other dependencies at the same time such as dagger?

The bottom of the stacktrace isn't shown, it says there are 23 more lines, is it possible to get the rest of the trace?

Also, if you run it with the --debug option do you get any more information? If you can post that log somehow I will help look through it.

Sorry you're still having this problem, I'd really like to help get it figured out.

rorschach commented 7 years ago

Sorry for not replying for so long. After update auto_value/auto_value_gson/auto_value_parcel/butterknife, this issue doesn't occurs again, and I can update epoxy without build error. But after update dagger from 2.7 to higher, it still build failed, so I think this is error for dagger, but I'm not sure. And I report this issue in dagger, maybe it can help.

elihart commented 7 years ago

Good to hear you have a bit of resolution! It makes sense that this is an issue with Dagger as we have seen that before.

Finally closing this now :P thanks for reporting back!

rorschach commented 7 years ago

Finally solved this problem, thanks for your patient solution :)

Neoklosch commented 6 years ago

Hi @rorschach, please can you provide your solution? I'm struggling with the same problem.