Tomcat 8.0.35 running, web application WAR successfully deployed from IntelliJ IDEA 2017.3.3 but the browser is showing HTTP Status 404

I have Tomcat 8.0.35 running, web application running from IntelliJ IDEA 2017.3.3 (build successful and WAR deployed) but the browser (I tried with Chrome, Firefox, and IE) is showing HTTP Status 404 when I try to access http://localhost:8080/ or http://127.0.0.1:8080/.

I built my web application with Maven as WAR. The WAR file was successfully deployed in Tomcat's "/webapps/ROOT" directory and "index.html" and "index.jsp" are there and at the end of the deployment the browser page is open.

Tomat is configured to default ports: 8080, 8081, 8009.
localhost-8080---WAR-artifact-is-dep.PNG
localhost-8080---http-status-404.PNG
Binyamin RegevJava Back End DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mccarlIT Business Systems Analyst / Software DeveloperCommented:
Possibly the "welcome page" settings aren't set correctly. Have you tried navigating to http://localhost:8080/index.html or http://localhost:8080/index.jsp?

Otherwise, I think we would need further info, log files, config files, directory tree listings of /webapp folder, etc
Binyamin RegevJava Back End DeveloperAuthor Commented:
I resolved it myself.
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Can you please give us some info on what the problem was and what you did to resolve it. Then you can select that comment as the solution. Otherwise, request to delete the question. There is no point keeping this question around in the current state.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Binyamin RegevJava Back End DeveloperAuthor Commented:
>>Possibly the "welcome page" settings aren't set correctly. Have you tried navigating to http://localhost:8080/index.html or http://localhost:8080/index.jsp?
Of course, I tried that. it's elementary.
I resolved it by creating a simple and basic Java web application with Spring-mvc and Java-Based configuration. This application was deployed successfully and I just compared the configuration of my application with the problem to the basic application that deployed.

C:\JavaProjects\IdeaProjects\SpringJavaConfiguration\ -- project base directory
      +  src
      |   +  main
      |   |   +  java
      |   |   +  com
      |   |   |   +  chef_ben
      |   |   |   |   -  config
      |   |   |   |              RootConfig.java
      |   |   |   |              WebConfig.java
      |   |   |   |              WebInit.java
      |   |   |   |   -  controller
      |   |   |   |              HomeController.java
      |   |   |   +  resources
      |   |   |   +  webapp
      |   |   |              home.jsp
      |   +  test
      |   |   +  java
RootConfig.java
WebConfig.java
WebInit.java
HomeController.java

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Binyamin RegevJava Back End DeveloperAuthor Commented:
Almost forgot the configuration of IntelliJ --> Tomcat Server --> Local
IntelliJ---Maven---Tomcat-Server-loc.PNG
IntelliJ---Maven---Tomcat-Server-loc.PNG
Binyamin RegevJava Back End DeveloperAuthor Commented:
I took the method of K.I.S.S. - meaning, when having a basic problem, start over, make something simple that works and you will have a reference to check the problem. Nothing more to add to a simple and basic application
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.