java.lang.Error: Unresolved compilation problem: The method translate(String, String, String) in the type LanguageTranslation is not applicable for the arguments (String, Language, Language)

Stack Overflow | gonz | 9 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

    Why is my watson translate service method not working?

    Stack Overflow | 9 months ago | gonz
    java.lang.Error: Unresolved compilation problem: The method translate(String, String, String) in the type LanguageTranslation is not applicable for the arguments (String, Language, Language)

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problem: The method translate(String, String, String) in the type LanguageTranslation is not applicable for the arguments (String, Language, Language)

      at ibm.Cognitive.Translate()
    2. ibm
      Cognitive.Translate
      1. ibm.Cognitive.Translate(Cognitive.java:20)
      1 frame
    3. Teste
      Watson.main
      1. Teste.Watson.main(Watson.java:16)
      1 frame