大家好,我是 GraalVM 的新手,正在尝试按照指南启动一个 spring 本机项目https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#getting-started-buildpacks。
当我添加plugins { id 'org.springframework.experimental.aot' version '0.11.0' }到 build.gradle 文件后尝试同步时,它失败并出现错误:
Plugin [id: 'io.spring.dependency-management', version: '1.0.11.RELEASE'] was not found in any of the following sources:
* Try:
Run with --scan to get full insights.
* Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'io.spring.dependency-management', version: '1.0.11.RELEASE'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'io.spring.dependency-management:io.spring.dependency-management.gradle.plugin:1.0.11.RELEASE')
Searched in …Run Code Online (Sandbox Code Playgroud)