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

    Why is my watson translate service method not working?

    Stack Overflow | 8 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