Share via

在centos上运行文本转语音的程序时,报"Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.cognitiveservices.speech.SpeechConfig"错误,本地IDEA运行是好的

qz 0 Reputation points
2023-08-04T05:20:48.0766667+00:00

User's image

cUser's image

Azure Speech in Foundry Tools

1 answer

Sort by: Most helpful
  1. Rohit Mungi 49,131 Reputation points Microsoft Employee Moderator
    2023-08-04T10:22:30.8166667+00:00

    @qz Have you installed all the packages that are required for setup on a Linux machine? Please see this page for setup instructions.

    Also, there have been previous instances of a similar error reported on the SDK repo.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.