咨询: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
相关产品推荐
相关产品推荐

