You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

咨询:GlassFish 5为何无法正确部署WAR包?

Hey folks, let me lay out my development environment and the exact steps I'm running for my test scenario:

My Environment Details

  • Eclipse Version: Oxygen.3 Release (4.7.3)
  • Application Server: GlassFish 5
  • Java Runtime: 1.8.0_161
  • JPA Provider: Hibernate 5.2.16 (used as the JPA implementation)
  • Build Automation: Maven

Test1 Step-by-Step Workflow

Here's what I'm doing step by step:

  • In Eclipse, right-click on my project → select Update Project → check all available options → click OK
  • From the Server view, right-click on the GlassFish instance → choose Debug to start the server in debug mode
  • Go back to the Server view, right-click on GlassFish again → select Add and Remove → add the "clusterer" module (this module is part of my Maven project structure)
  • Finally, access my web service using the URL: http://localhost:8080/clusterer/webapi/myresource

内容的提问来源于stack exchange,提问作者StackUser

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 07:36:58