Eclipse is a very powerful development environment for Java. Mainly for Web Development project you need Web Server. Apache Tomcat is the best production ready web container.
By default when you download Eclipse IDE, it doesn’t come with Tomcat install with it. In this tutorial we will go over all detailed steps to configure Apache Tomcat successfully in Eclipse environment.
Select
Console output:
It should be up and running on port 8080 and you could visit default page using URL:
By default when you download Eclipse IDE, it doesn’t come with Tomcat install with it. In this tutorial we will go over all detailed steps to configure Apache Tomcat successfully in Eclipse environment.
Step-1
Download Apache Tomcat from this link. I’m using version8.0.15
.Step-2
Extract it toDocument
folder.Step-3
- Open Eclipse Environment
- Click on
Servers
Tab - Click on No servers are available.
Click this link to create a new server...
- Click
Tomcat v8.0 Server
and Next
Step-4
Apache installation Directory
and click Finish
.Step-5
You should seeTomcat v8.0 Server at localhost [Stopped, Republish]
under Servers
tab. Double click on it verify HTTP ports information. By default HTTP port is 8080.Step-6
Now right click on Server and clickStart
.Console output:
1
2
3
4
5
6
7
8
9
10
11
|
INFO: Initialization processed in 499 ms
Jan 05, 2015 9:09:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 05, 2015 9:09:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.15
Jan 05, 2015 9:09:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Jan 05, 2015 9:09:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Jan 05, 2015 9:09:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 262 ms
|
http://localhost:8080/
Credit goes to
http://crunchify.com
No comments:
Post a Comment