IntelliJ web application context path

2020-05-21 03:22发布

In my IntelliJ web app, I have set the application context to myapp as shown below

enter image description here

When I set the Application context, it doesn't seem to have any effect. I was expecting the app to be deployed to myapp, or at least the generated context.xml file to set my app's context to myapp. Any thoughts on why this doesn't work (does it have something to do with the fact that this is an exploded war)?

1条回答
▲ chillily
2楼-- · 2020-05-21 03:59

Overriding CATALINA_BASE in Tomcat startup script may break IDEA deployment as it works by supplying custom CATALINA_BASE location where the modified configuration is placed so that Tomcat loads artifacts directly from the location specified as the artifact output directory.

See the related question:

查看更多
登录 后发表回答