Setting up
Last updated
Was this helpful?
Last updated
Was this helpful?
1) Eclipse IDE
2) Apache tomcat server
1) Create new server.
2) Select apache
3) Select tomcat version that is installed in your system.
4) Browse the directory and select JAVA SE to remove default JRE.
5) Select tomcat folder from your system.
6) Click on finish.
7) Right click on server and select start.
8) Check logs: server startup in 8787s
9) Server state will change from stopped to started.
10) Now check by hitting the url: localhost:8080/
Here localhost: is the IP address of your local machine and 8080 is the port on which tomcat listen requests.
Possible Output 1 :
Possible Output 2 :
11) In case of output 1 i.e. error 404 do the below steps, first find the server in the short view or in others (refer to below 3 screenshots)
13) Choose the second option i.e. :
14) Right click on server and select properties.
12) Double click on the server : Tomcat v8.x Server at localhost [started,sync...]
"use tomcat installation [takes control of tomcat installation]" and save.
15) Click on switch location and select "apply and close".
16) Now retry by hitting the url (localhost:8080/) again.