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:
- Stop the Server if it is Running;
- In the Menu Bar Above Press -> Run;
- Debug;
- Edit Configurations;
- Select your server (Tomcat or etc.);
- Deployment;
- In the Application Context Bar: delete (packageName)_war_exploded/
- Press Apply and Debug
Hope it worked!