无法导入 grails 插件 standalone:9.0.0.M4
Can't import the grails plugin standalone:9.0.0.M4
我正在努力为我的 build.gradle
添加依赖项
这是grails的独立依赖,你可以找到它here
所以我在 build.gradle
文件的 dependencies
中添加了行 compile "org.grails.plugins:standalone:9.0.0.M4"
。
当项目试图解决所有依赖项时,出现此错误:
Could not find org.grails.plugins:standalone:9.0.0.M4.
Searched in the following locations:
- file:/C:/Users/ledev/.m2/repository/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.pom
- file:/C:/Users/ledev/.m2/repository/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.jar
- https://repo.grails.org/grails/core/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.pom
- https://repo.grails.org/grails/core/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.jar
- https://build.shibboleth.net/nexus/content/repositories/releases/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.pom
- https://build.shibboleth.net/nexus/content/repositories/releases/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.jar
我尝试了这些主题,但没有成功:
Grails Standalone Plugin Not Found
Create standalone application with grails
谢谢
既然你有 build.gradle,你应该使用 grails 3 或 4,但你尝试使用 grails 2 插件。这些插件不兼容。
Grails 3 内置了对独立 JAR 的支持。
https://docs.grails.org/3.3.10/guide/single.html#deploymentStandalone
我正在努力为我的 build.gradle
这是grails的独立依赖,你可以找到它here
所以我在 build.gradle
文件的 dependencies
中添加了行 compile "org.grails.plugins:standalone:9.0.0.M4"
。
当项目试图解决所有依赖项时,出现此错误:
Could not find org.grails.plugins:standalone:9.0.0.M4.
Searched in the following locations:
- file:/C:/Users/ledev/.m2/repository/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.pom
- file:/C:/Users/ledev/.m2/repository/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.jar
- https://repo.grails.org/grails/core/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.pom
- https://repo.grails.org/grails/core/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.jar
- https://build.shibboleth.net/nexus/content/repositories/releases/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.pom
- https://build.shibboleth.net/nexus/content/repositories/releases/org/grails/plugins/standalone/9.0.0.M4/standalone-9.0.0.M4.jar
我尝试了这些主题,但没有成功:
Grails Standalone Plugin Not Found
Create standalone application with grails
谢谢
既然你有 build.gradle,你应该使用 grails 3 或 4,但你尝试使用 grails 2 插件。这些插件不兼容。
Grails 3 内置了对独立 JAR 的支持。
https://docs.grails.org/3.3.10/guide/single.html#deploymentStandalone