I am coming for Visual Studio, trying to get a handle on deploying a spring boot project war file to a Tomcat located on a 2nd desktop on same intranet. I typically have no issue deploying web app using VS IDE as it is all pretty much automated
I installed Tomcat 8 and validated that if I got to http://IP Address:8088/ I see the Tomcat page. I validated I can use the manager consile just fine.
The problem is that when I use Intellij IDE to generate a war file, I copy and past on the 2nd machine Desktop, and I then use Tomcat to deploy, I get 404 resource not found error.
I am obvious doing something wrong on the IntelliJ side ... my guesstimate is when I am adding project libraries. The steps I used are:
-Went to Project Structure
-clicked the + sign and named the project to diexample (same name as the java IDE)
- the type is [Web Application Archive]
-I selected to put 'diexample' compile output into /WEB-INF/classes
-I selected to put all the remaining Maven items into /WEB-INF/lib
-Rebuild project ... nothing happens ... I don't see an out folder under my diexample folder
-I moved the war file to the desktop of the machine where I have tomcat 8 installed.
-Wen to the Tomcate application manager
-Selected WAR file to deploy and pointed to the WAR file on the machine desktop
-I validated the the newly installed file is on the Tomcat Applications List Grid
- I get
HTTP Status 404 - /diexample/
I am puzzeled. I even get this with a simple Helloworld.
Any idea what I could be doing wrong?