Why does IntelliJ Idea add "_war_exploded" to context path of deployment?

I have a Java EE web project named test and I use Wildfly as server.

When I use Eclipse the URL in the eclipse's integrated browser is : localhost:8080/test.

But when I use IntelliJ the URL in Chrome is: localhost:8080/test_war_exploded.

Why IntelliJ idea add this: _war_exploded?


You can try to edit Application context. Please find the menu route: Run > Debug > Edit Configurations...> in Deployment edit/delete Application context


What actually worked for me:

  1. Stop the Server if it is Running;
  2. In the Menu Bar Above Press -> Run;
  3. Debug;
  4. Edit Configurations;
  5. Select your server (Tomcat or etc.);
  6. Deployment;
  7. In the Application Context Bar: delete (packageName)_war_exploded/
  8. Press Apply and Debug

Hope it worked!