添加 qute 依赖项后 Quarkus 测试失败

发布于 2025-01-14 02:27:58 字数 387 浏览 2 评论 0原文

我正在开发 Quarkus AWS lambda 服务,该服务生成一些 html 报告并上传到 S3。实现后,我发现我的 lambda 测试开始失败并返回 404。

进一步分析,我发现我添加的 quarkus-resteasy-qute 依赖项是罪魁祸首。一旦我将此依赖项添加到我的项目中,我的 lambda 处理程序测试用例就会开始失败并显示 404。我的计划是使用 qute 对 lambda 生成的报告进行一些模板化。

我在此处的入门项目中复制了相同的内容。我不知道这种依赖关系到底是什么导致了失败。

非常感谢任何帮助或进一步调试的指示。

I was working on a Quarkus AWS lambda service that generates some html reports and uploads to S3. After implementation, I found that my lambda tests started failing with 404.

Analysing further, I found that the quarkus-resteasy-qute dependency that I added was the culprit. As soon as I add this dependency to my project, my lambda handler test case starts failing with a 404. My plan was to use qute for some templating of the reports generated by the lambda.

I have replicated the same in a starter project here. I don't have any clue on what exactly in this dependency is causing the failure.

Really appreciate any help or pointers to debug it further.

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

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

发布评论

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

评论(1

野侃 2025-01-21 02:27:58

quarkus-resteasy-qute不能与常规 lambda 一起使用。它可以与 quarkus-amazon-lambda-http(或其余)一起使用,后者在 AWS 上启动 API 网关。

参考:https://github.com/quarkusio/quarkus/issues/24312

quarkus-resteasy-qute will NOT work with regular lambda. It would work with quarkus-amazon-lambda-http (or rest) which spins up an API gateway on AWS though.

Reference: https://github.com/quarkusio/quarkus/issues/24312

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