Eclipse中的Azure函数-复制示例问题 [英] Azure Functions in Eclipse - Replicating Example Issue

查看:109
本文介绍了Eclipse中的Azure函数-复制示例问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我尝试使用Eclipse复制用于Azure函数的示例.
在运行为 package "步骤之前,我一直能够成功构建项目.
另外,我已经在以下路径中安装了Azure azure-functions-core-tools:"C:\ Users \ mhanagodu";
当我尝试执行步骤3时,运行方式为 azure-functions:run "我收到以下错误:

I tried replicating the example for azure functions with Eclipse.
I was able to successfully build the project till the step of "Run as package".
Also I have installed the Azure azure-functions-core-tools in this path : "C:\Users\mhanagodu"
When I try executing Step 3 "Run as azure-functions:run" I get the below error :

无法执行目标com.microsoft.azure:azure-functions-maven -plugin:1.2.0:在项目azure-functions-archetype上运行(default-cli):无法运行程序"cmd.exe". (在目录C:\ Users \ mhanagodu \ eclipse-workspace \ azure-functions-archetype \ target \ azure-functions \ azure-functions-archetype-$ {package.getClass().forName(java.time.LocalDateTime))中.getMethod(now).invoke(null).format($ package.Class.forName(java.time.format.DateTimeFormatter).getMethod(ofPattern, $ package.Class).invoke(null,yyyyMMddHHmmssSSS))"):CreateProcess错误= 267,目录名称无效-> [帮助1]

Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.2.0:run (default-cli) on project azure-functions-archetype: Cannot run program "cmd.exe" (in directory "C:\Users\mhanagodu\eclipse-workspace\azure-functions-archetype\target\azure-functions\azure-functions-archetype-${package.getClass().forName(java.time.LocalDateTime).getMethod(now).invoke(null).format($package.Class.forName(java.time.format.DateTimeFormatter).getMethod(ofPattern, $package.Class).invoke(null, yyyyMMddHHmmssSSS))}"): CreateProcess error=267, The directory name is invalid -> [Help 1]

能否请您帮我了解为什么会发生此错误以及如何解决此问题?

Could you kindly help me as to why this error is occuring and how to fix this issue?

谢谢!

推荐答案

您好-您能否提供您正在关注的示例的URL?是这个吗?

- 使用Java和Eclipse创建第一个函数
Hi there - Could you provide the URL of the example that you were following? Is it this one?

- Create your first function with Java and Eclipse


这篇关于Eclipse中的Azure函数-复制示例问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆