[英]Eclipse AWS Lambda Error : No Serverless.template found in your project root
I have created AWS Lambda Project in Eclipse using Eclipse AWS Plugin's "New AWS Lambda Java Project".我使用 Eclipse AWS 插件的“新 AWS Lambda Java 项目”在 Eclipse 中创建了 AWS Lambda 项目。 The project is created successfully and I can perform mvn install as well.
项目创建成功,我也可以执行 mvn install 了。
However, when I right click and choose "Deploy Serverless Project", it shows an error box as below但是,当我右键单击并选择“部署无服务器项目”时,它会显示如下错误框
No Serverless.template found in your project root
I am using Eclipse Luna.我正在使用 Eclipse Luna。 Could anyone please help?
有人可以帮忙吗? I searched on internet but didn't find any relevant answers.
我在互联网上搜索但没有找到任何相关答案。
I would consider this is a bug with Eclipse AWS plugin, since this happens when you create a "Lambda Project", but try to deploy it as "Serverless Project".我认为这是 Eclipse AWS 插件的错误,因为当您创建“Lambda 项目”但尝试将其部署为“无服务器项目”时会发生这种情况。
To deploy your Lambda function, you can:要部署您的 Lambda 函数,您可以:
Amazon Web Services
/ AWS Lambda
Amazon Web Services
/ AWS Lambda
Upload function to AWS Lambda
.Upload function to AWS Lambda
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.