我尝试按照Nexmo指南创建语音应用,但 我遇到了一些错误。
首先,我尝试安装该库并出现错误,然后初始化该库
// We're creating a Java Application:
apply plugin: 'application'
apply plugin: 'java'
// Download dependencies from Maven Central:
repositories {
mavenCentral()
}
// Install the Nexmo Client library:
dependencies {
compile 'com.nexmo:client:2.0.1'
compile 'com.nexmo:client:4.+'
}
// We'll create this class to contain our code:
mainClassName = "getstarted.SendSMS"
出了什么问题
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.