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

GitHub | abdielou | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    GitHub | 8 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