'Java servlet TextToSpeechSettings textToSpeechSettings
I am trying to use:
TextToSpeechSettings textToSpeechSettings=TextToSpeechSettings
.newBuilder()
.setCredentialsProvider(credentialsProvider)
.build();
textToSpeechClient = TextToSpeechClient.create(textToSpeechSettings);
But eclipse is giving Type mismatch: cannot convert from ClientSettings to TextToSpeechSettings.
When I am casting it, the class not found exception is thrown.
I am trying to create it in a java servlet but using version java 8.
Can you help? I am stuck on it .
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
