is set to true"?-6ren"> is set to true"?-为什么我收到错误 "web.xml is missing and is set to true"即使 web.xml 存在于 WEB-INF 下? 这不是 this question 的重复项。 我-6ren">
gpt4 book ai didi

java - 为什么即使 web.xml 存在于 WEB-INF 下,我也会收到错误 "web.xml is missing and is set to true"?

转载 作者:行者123 更新时间:2023-11-30 06:05:45 25 4
gpt4 key购买 nike

为什么我收到错误 "web.xml is missing and <failOnMissingWebXml> is set to true"即使 web.xml 存在于 WEB-INF 下?

这不是 this question 的重复项。 我的问题有所不同,因为我已经有 web.xml文件在我的WEB-INF文件夹,但仍然收到错误。

最佳答案

您的 Eclipse 特定设置文件可能已损坏。

查看Spring cannot find file in classpath, but it's right there at the root of the war file的答案.

对我来说,两个问题都有相同的根本原因。

关于java - 为什么即使 web.xml 存在于 WEB-INF 下,我也会收到错误 "web.xml is missing and <failOnMissingWebXml> is set to true"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51385888/

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