gpt4 book ai didi

eclipse - Spring - Apache 和 XML 错误

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

我正在关注 this tutorial对于 Spring 登录示例。我下载了他们的示例代码并导入到我的 Eclipse 中。它抛出 2 个错误。

错误 1
目标运行时 Apache Tomcat v6.0 (2) 未定义。未知的分面项目问题

错误 2
引用的文件包含错误 ( http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd )。

我已经在 eclipse 中下载了最新的更新并重新安装了 tomcat。使用Tomcat6,Spring-3.2.0.RC1。

enter image description here

请指教。谢谢

最佳答案

我们需要右键单击项目、属性和目标运行时。取消选中旧服务器条目并启用新条目。这应该可以解决此错误。

http://javashine.wordpress.com/2010/09/07/target-runtime-apache-tomcat-v6-0-is-not-defined/

希望这对您有所帮助。

关于eclipse - Spring - Apache 和 XML 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13448817/

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