java.lang.NoSuchMethodError: com.ibm.watson.developer_cloud.service.WatsonService.<init>(Ljava/lang/String;)V

GitHub | abdielou | 10 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

    [tone-analyzer] ToneAnalyzer.init(String) NoSuchMethodError

    GitHub | 10 months ago | abdielou
    java.lang.NoSuchMethodError: com.ibm.watson.developer_cloud.service.WatsonService.<init>(Ljava/lang/String;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.ibm.watson.developer_cloud.service.WatsonService.<init>(Ljava/lang/String;)V

      at com.ibm.watson.developer_cloud.tone_analyzer.v3.ToneAnalyzer.<init>()
    2. com.ibm.watson
      ToneAnalyzer.<init>
      1. com.ibm.watson.developer_cloud.tone_analyzer.v3.ToneAnalyzer.<init>(ToneAnalyzer.java:61)
      1 frame
    3. Unknown
      ToneAnalyzerExample.main
      1. ToneAnalyzerExample.main(ToneAnalyzerExample.java:22)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame