亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

添加 spring-cloud-starter-dataflow-server-local

添加 spring-cloud-starter-dataflow-server-local

開心每一天1111 2023-05-24 16:05:09
我正在編寫簡單的應用程序以熟悉 spring batch。我想學習 spring batch admin,但發現它已被棄用,所以我不得不改用 spring cloud data flow。我有關于 spring 云數據的教程并做了第一步:添加依賴項:編譯(“org.springframework.cloud:spring-cloud-starter-dataflow-server-local:1.7.4.RELEASE”)并用 additioanl annotaion 標記我的 spring boot 應用程序類:@EnableDataFlowServer現在我正在嘗試使用 idea 運行它,但它會打印:19:14   Error running 'MyApplication': Command line is too long. Shorten command line for MyApplication or also for Spring Boot default configuration.在那一刻,我認為這是 IDEA 錯誤,并嘗試使用 gradle(通過 idea 插件)使用引導運行來運行應用程序,但它也已啟動:19:15:21: Executing task 'bootRun'...Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.:compileJava:processResources UP-TO-DATE:classes:bootRun FAILEDFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':bootRun'.> A problem occurred starting process 'command 'C:\Program Files\Java\jdk1.8.0_111\bin\java.exe''* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 4s3 actionable tasks: 2 executed, 1 up-to-dateCreateProcess error=206, The filename or extension is too long19:15:26: Task execution finished 'bootRun'.我該如何解決?
查看完整描述

1 回答

?
小怪獸愛吃肉

TA貢獻1852條經驗 獲得超1個贊

使用其中一個選項來縮短命令行:

http://img1.sycdn.imooc.com//646dc5580001c7a506600633.jpg


查看完整回答
反對 回復 2023-05-24
  • 1 回答
  • 0 關注
  • 142 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號