gpt4 book ai didi

grails - 使用 Grails 3.3.1 列出配置文件会引发 org.eclipse.aether.transfer.ArtifactNotFoundException

转载 作者:行者123 更新时间:2023-12-02 14:39:42 26 4
gpt4 key购买 nike

我使用 SDKMAN! 安装了 Grails 3.3.1!。现在我尝试使用列出可用的配置文件

grails list-profiles

并得到以下错误:

| Error Error occurred running Grails CLI: Could not find artifact org.grails.profiles:angular:jar:4.0.1 in grailsCentral (https://repo.grails.org/grails/core) (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.grails.profiles:angular:jar:4.0.1 in grailsCentral (https://repo.grails.org/grails/core) at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355) at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) at org.springframework.boot.cli.compiler.grape.AetherGrapeEngine.resolve(AetherGrapeEngine.java:319) at org.springframework.boot.cli.compiler.grape.AetherGrapeEngine.grab(AetherGrapeEngine.java:129) at org.springframework.boot.cli.compiler.grape.AetherGrapeEngine.grab(AetherGrapeEngine.java:121) at org.grails.cli.profile.repository.MavenProfileRepository.getAllProfiles(MavenProfileRepository.groovy:134) at org.grails.cli.profile.commands.ListProfilesCommand.handle(ListProfilesCommand.groovy:43) at org.grails.cli.GrailsCli.executeCommandWithArgumentValidation(GrailsCli.groovy:287) at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:263) at org.grails.cli.GrailsCli.main(GrailsCli.groovy:159) | Error Error occurred running Grails CLI: Could not find artifact org.grails.profiles:angular:jar:4.0.1 in grailsCentral (https://repo.grails.org/grails/core)



我必须更改 repo 吗?

最佳答案

结果是 grails repo https://repo.grails.org/grails/core下来了。启动时,它返回可用工件的列表,上述命令应返回所有可用配置文件的列表,如下所示:

grails list-profiles Resolving dependencies.. | Available Profiles

  • angular - A profile for creating Grails applications with Angular 2
  • rest-api - Profile for REST API applications
  • base - The base profile extended by other profiles
  • angularjs - A profile for creating applications using AngularJS
  • plugin - Profile for plugins designed to work across all profiles
  • profile - A profile for creating new Grails profiles
  • react - A profile for creating Grails applications with a React frontend
  • rest-api-plugin - Profile for REST API plugins
  • web - Profile for Web applications
  • web-jboss7 - A Profile for Creating a JBoss 7.1 EAP Project
  • web-plugin - Profile for Plugins designed for Web applications
  • webpack - A profile for creating applications with node-based frontends using webpack 2

关于grails - 使用 Grails 3.3.1 列出配置文件会引发 org.eclipse.aether.transfer.ArtifactNotFoundException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46512113/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com