Gradle Could not create service of type InitScriptHandler using BuildScopeServices.createInitScriptHandler()

后端 未结 22 1892
囚心锁ツ
囚心锁ツ 2020-12-05 03:39

I used gradle build command in Centos 7 terminal and I got output:

FAILURE: Build failed with an exception.

* What we         


        
22条回答
  •  攒了一身酷
    2020-12-05 04:30

    I got this error when running code in IntelliJ Idea, and

    gradle --stop

    really not helped, as it said that "No Gradle daemons are running."

    But simple kill of all gradle processes helped:

    ps aux | grep gradle
    kill -9 $PID
    

提交回复
热议问题