plugin request for plugin already on the classpath must not include a version

后端 未结 2 2067
有刺的猬
有刺的猬 2021-01-23 06:05

I\'ve done web search for \"plugin request for plugin already on the classpath must not include a version site:stackoverflow.com\" and found nothing that particular. Search for

2条回答
  •  天命终不由人
    2021-01-23 06:24

    I was facing same problem, I was using spring boot with plugins as follows

    plugins {
        id 'org.springframework.boot' version '2.2.0.RELEASE'
        id 'io.spring.dependency-management' version '1.0.8.RELEASE'
        id 'java'
        id 'war'
    }
    

    Since this plugin was present in one dependency gradle was complaining about it. I simply removed those dependencies and it worked:

    plugins {
        id 'java'
        id 'war'
    }
    

提交回复
热议问题