gpt4 book ai didi

java - Azure Toolkit 错误无法执行运行配置

转载 作者:行者123 更新时间:2023-12-05 06:01:36 28 4
gpt4 key购买 nike

我有一个 azure 函数,我想在 IntelliJ IDEA 中本地运行和测试。我按照此处列出的所有步骤进行操作:https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-maven-intellij当我尝试通过 IntelliJ 运行应用程序时,我收到此错误日志

Azure Toolkit Error
Failed to execute run configuration, as Azure Functions Core Tools not found. Please go to https://aka.ms/azfunc-install to install Azure Functions Core Tools.
If you have installed the core tools, please refer https://github.com/microsoft/azure-tools-for-java/wiki/FAQ to get the core tools path and set the value in function run configuration. failed
Call Stack:
Execute run configuration

Run function app locally

Validate runtime of function(null)

Azure Functions Core Tools not found. Please go to https://aka.ms/azfunc-install to install Azure Functions Core Tools.
If you have installed the core tools, please refer https://github.com/microsoft/azure-tools-for-java/wiki/FAQ to get the core tools path and set the value in function run configuration

我已按照给定链接中的步骤进行操作,但没有成功。当我使用 mvn package 后跟 mvn azure-functions:run 时,应用程序会运行,但我需要通过 IntelliJ 达到某些调试点。

我已经被这个问题难住了一段时间,知道我可能会错过什么吗?

最佳答案

您需要安装核心工具 - 这是“设置您的开发环境”下的最后一步。转到错误中的链接 - https://aka.ms/azfunc-install并安装适合您的环境的工具。具体来说,您需要确保安装后有命令“func”。

关于java - Azure Toolkit 错误无法执行运行配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67131809/

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