java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)

GitHub | fritzfs | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 880#228551755

    GitHub | 8 months ago | fritzfs
    java.lang.RuntimeException: java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
  2. 0

    Make start not running Properly (JDK is setup properly)

    GitHub | 3 years ago | comet52
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':makeStart'.

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NoSuchMethodError: com.squareup.javapoet.CodeBlock.of(Ljava/lang/String;[Ljava/lang/Object;)Lcom/squareup/javapoet/CodeBlock; 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.main.Main.compile(Main.java:553) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45) 17:50:15.318 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)

      at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors()
    2. org.gradle.api
      JavaCompile.compile
      1. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)
      2. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
      3. org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
      4. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
      5. org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
      6. org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
      7. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
      8. org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
      8 frames
    3. com.android.build
      AndroidJavaCompile.compile
      1. com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)
      1 frame
    4. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    5. Gradle Core
      AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
      1 frame