Netbeans 中的 Web 服务问题

发布于 2024-09-09 00:15:31 字数 435 浏览 2 评论 0原文

我的 netbeans IDE 有问题。

我创建了一个Web项目,我可以通过index.jsp运行它。已成功部署并运行 但是当我在其中创建 webService 时,该项目可以部署但无法运行 并且网络服务不运行。

当我测试 Web 服务时,我看到此警告:

  Unable to open web service tester page:
  http://localhost:8084/sample4/TestWebService
  Make sure the service has been deployed successfully, and the server is running.

netbeans 版本是 6.8

tomcat 6.0

jdk 1.6

有人可以就这个问题提出建议吗?

i have a problem with netbeans IDE.

i created a web project , i can run it by index.jsp. it`s deploy and running successfully
but when i create webService in that, the project can deploy but not running
and web service dont run .

when i test web service, i see this warning:

  Unable to open web service tester page:
  http://localhost:8084/sample4/TestWebService
  Make sure the service has been deployed successfully, and the server is running.

netbeans version is 6.8

tomcat 6.0

jdk 1.6

Can somebody please advice on this issue?

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

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

发布评论

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

评论(1

原来分手还会想你 2024-09-16 00:15:31

就我而言,这是一个相当模糊的问题:

项目 A 是一个依赖于项目 B 的 Web 项目,项目 B 又依赖于项目 C。项目 C 是使用 wsimport 从项目 A 生成的 WSDL 生成的 Web 服务客户端(某种程度上是一个干净的循环) 。

当我重新排列项目 B 的库的顺序,将项目 C 作为类路径中列表的第一个(不知道这是否重要,但在调用 catalina.jar 之前)时,我的问题出现了。

因此,当我重新排列项目 B 中的库,将对项目 C 的引用作为列表的第二个时,一切都恢复正常。

不管这是否有效,请评论。

In my case, quite an obscure problem:

Project A is a Web project with dependency on project B, which depends on project C. Project C is the web service client generated with wsimport from the WSDL generated by project A (somehow a clean cycle).

My problem arised at the very moment when I rearranged the order of the libraries of project B, placing project C as the first of the list in the classpath (don't know if this matters, but before the call to catalina.jar).

So, when I rearranged my libraries in project B, placing the reference to project C as second of the list, everything went back to normal.

Wether if this works or not, please comment.

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