我要评分
获取效率
正确性
完整性
易理解

gradle-enterprise-conventions Error Reported When Compiling Spring-framework

Symptom

A gradle-enterprise-conventions error is reported during the Spring-framework compilation. The message "Error resolving plugin [id: 'io.spring.gradle-enterprise-conventions', version: '0.0.2']" is displayed.

Key Process and Cause Analysis

The plug-in fails to be parsed.

Conclusion and Solution

  1. Open the build.gradle file.
    vim build.gradle
  2. Comment out line 6.
    //id 'io.spring.gradle-enterprise-conventions' version '0.0.2'

  3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Recompile Spring-framework.