Amazon web services 将aws java sdk依赖项添加到Grails项目失败,创建过程:错误=206
我想尝试在Grails中引入Amazon web services 将aws java sdk依赖项添加到Grails项目失败,创建过程:错误=206,amazon-web-services,grails,Amazon Web Services,Grails,我想尝试在Grails中引入aws java sdk依赖项来满足我的需要。当我在build.gradle文件中写入aws java sdk依赖项信息时,error=206出现。我试图引入其他依赖项,但没有给出错误。我确信这是aws java sdk的问题 dependencies { compile "org.springframework.boot:spring-boot-starter-logging" compile "org.springframework.boot:s
aws java sdk
依赖项来满足我的需要。当我在build.gradle
文件中写入aws java sdk
依赖项信息时,error=206
出现。我试图引入其他依赖项,但没有给出错误。我确信这是aws java sdk的问题
dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-web-boot"
compile "org.grails:grails-logging"
compile "org.grails:grails-plugin-rest"
compile "org.grails:grails-plugin-databinding"
compile "org.grails:grails-plugin-i18n"
compile "org.grails:grails-plugin-services"
compile "org.grails:grails-plugin-url-mappings"
compile "org.grails:grails-plugin-interceptors"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:async"
compile "org.grails.plugins:scaffolding"
compile "org.grails.plugins:events"
compile "org.grails.plugins:hibernate5"
compile "org.hibernate:hibernate-core:5.1.16.Final"
compile "org.grails.plugins:gsp"
compile 'org.grails.plugins:spring-security-core:3.2.3'
compile 'org.grails.plugins:spring-security-ui:4.0.0.M1'
//lombok begin
provided 'org.projectlombok:lombok:1.18.6'
//google json begin
compile 'com.google.code.gson:gson:2.8.5'
//jsoup begin
compile 'org.jsoup:jsoup:1.11.3'
//aws begin
compile 'com.amazonaws:aws-java-sdk:1.11.0'
compile 'com.amazonaws:aws-lambda-java-core:1.1.0'
//springa actuator && data-jpa
compile 'org.springframework.boot:spring-boot-starter-actuator:2.1.1.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-data-jpa:2.1.3.RELEASE'
console "org.grails:grails-console"
profile "org.grails.profiles:web"
runtime "org.glassfish.web:el-impl:2.1.2-b03"
runtime 'mysql:mysql-connector-java:5.1.29'
runtime "org.apache.tomcat:tomcat-jdbc"
runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.15.1"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.grails.plugins:geb"
testCompile "org.grails:grails-web-testing-support"
testRuntime "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntime "net.sourceforge.htmlunit:htmlunit:2.18"
}
您可以看到'com.amazonaws:aws java sdk:1.11.0'
任务bootRun
的错误是:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootRun'.
> A problem occurred starting process 'command 'E:\40-jdk\bin\java.exe''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 12.627 secs
CreateProcess error=206, File name or extension is too long。
我不知道发生了什么事,我对Grails是新手,可能的重复