Maven project runs in IntelliJ IDEA, but mapping fails with tomcat deployment

My Maven project in IntelliJ IDEA which runs correctly from the Run->run menu. I can open a web browser to http://localhost:8080 and the app and all it's links work flawlessly. This is running Tomcat in the background to serve the servlets.

But if I click on Build->BuildArtifacts to create a war file, then copy the war file to the appropriate Tomcat directy, and start Tomcat, the app comes up but the links are all broken. I assume this is because there is a mapping difference between the way the app is...

Read More »

By: StackOverFlow - Wednesday, 7 November

Related Posts