“使用自定义上下文根”不适用于IntelliJ IDEA服务器运行配置中的GlassFish部署EAR应用程序 [英] 'Use custom context root' does not work for deployment EAR application to GlassFish in IntelliJ IDEA Server Run Configuration

查看:438
本文介绍了“使用自定义上下文根”不适用于IntelliJ IDEA服务器运行配置中的GlassFish部署EAR应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更改了耳部工件的上下文根。我打开了服务器运行配置的部署选项卡,选中使用自定义上下文根并在字段中输入所需的值:/ T4000_Enterprise

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

但应用程序名称在GlassFish中保持等于输出目录(或包名称)的名称:T4000_Enterprise-3.08.HEAD-SNAPSHOT

有什么问题?我可以修复吗?

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开源版4.1(版本13)
IntelliJ IDEA 2018.2 EAP(终极版)
Build#IU- 182.3569.1,建于2018年7月3日
JRE / JDK:1.8.0_152-release-1226-b7 amd64
JVM:JetBrains sro的OpenJDK 64位服务器虚拟机

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

推荐答案

这是一个Idea 2018.2错误。我在这里打开了问题描述:
https://youtrack.jetbrains.com/ issue / IDEA-196097
我刚刚注意到问题已经解决了! :)
修复版本2018.3
状态已提交→已修复

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

这篇关于“使用自定义上下文根”不适用于IntelliJ IDEA服务器运行配置中的GlassFish部署EAR应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆