出错了运行Grails CLI的错误:无法找到所请求的目标的有效认证路径

发布于 2025-02-03 11:02:28 字数 452 浏览 1 评论 0 原文

我正在尝试从CLI运行Grails命令,但是我不断收到以下错误:

`C:\Users\nxf82701\Desktop>grails create-app testApp
OpenJDK Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
| Error Error occurred running Grails CLI: unable to find valid certification path to requested target (Use --stacktrace to see the full trace)`

我检查了路径,并使用 Grails 指向适当的 bin 正确设置了路径。我的机器上安装了圣杯的目录。

我该如何解决?

I am trying to run grails commands from the CLI, but I keep getting the following error:

`C:\Users\nxf82701\Desktop>grails create-app testApp
OpenJDK Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
| Error Error occurred running Grails CLI: unable to find valid certification path to requested target (Use --stacktrace to see the full trace)`

I checked my PATH, and it is set correctly with grails pointing to the appropriate bin directory where grails is installed on my machine.

How can I fix this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

抱着落日 2025-02-10 11:02:28

我已经遵循了这篇非常好的文章来解决我的问题 - 。现在它就像魅力一样!

I have followed this very well written article to solve my issue - https://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art032#comments. It now works like a charm!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文