【发布时间】:2011-09-27 14:53:04
【问题描述】:
我遵循了以下教程(尽管我安装了 Glassfish 开源版,而不是 Tomcat,并使用了 Eclipse Indigo):http://www.vogella.de/articles/REST/article.html。
Web 服务没问题,但是当我从 Eclipse “运行”项目时,Eclipse 会打开一个新窗格,显示 Web 浏览到 http://localhost:8080/de.vogella.jersey.first/WEB-INF/web.xml 的结果。 关键是浏览器会产生以下结果:
HTTP Status 404 -
--------------------------------------------------------------------------------
type Status report
message
descriptionThe requested resource () is not available.
--------------------------------------------------------------------------------
GlassFish Server Open Source Edition 3.1.1
我不明白这是什么。那时获取 web.xml 有什么意义? 我这是正常行为吗?这个怎么去掉?
谢谢!
上海
【问题讨论】: