'Use custom context root' does not work for deployment EAR application to GlassFish in IntelliJ IDEA Server Run Configuration

孤者浪人 提交于 2019-12-13 05:10:14

问题


I changed the context root for the ear artifact. I opened the 'Deployment' tab of the Server Run Configuration, check 'Use custom context root' and enter the desired value into the field: /T4000_Enterprise

But the Application Name in GlassFish stayed equal to the name of Output directory(or the Package name): T4000_Enterprise-3.08.HEAD-SNAPSHOT What is wrong? Can I fix it?

GlassFish Server Open Source Edition 4.1 (build 13) IntelliJ IDEA 2018.2 EAP (Ultimate Edition) Build #IU-182.3569.1, built on July 3, 2018 JRE/JDK: 1.8.0_152-release-1226-b7 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o


回答1:


It is an Idea 2018.2 error. I have opened the issue description here: https://youtrack.jetbrains.com/issue/IDEA-196097 I just have noted that the issue was resolved! :) Fix versions 2018.3 State Submitted → Fixed



来源:https://stackoverflow.com/questions/51525485/use-custom-context-root-does-not-work-for-deployment-ear-application-to-glassf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!