Pre-requisites
eclipse Luna must be installed in the system.
By default, you cannot use Apache tomcat with eclipse Luna but you need to install an eclipse plugin.
Add Server adaptor plugin
1. Open eclipse Luna
2. Open Help > Eclipse Marketplace.
3. Search and install "Eclipse JST Server Adapters"
4. Restart eclipse
Configure Server runtime
1. Go to Windows > Preferences
2. Click Server > Runtime environments
3. Click Add and choose Apache Tomcat version
4. Select the Tomcat installation dir and JDK path
Open server view
1. Go to Windows > Show view > other...
2. Search for "servers"
In this view, you can :
- Add / Remove web applications
- Publish / Clean application
- Start / Stop server
- Run server in Debug mode
- Clean tomcat directory etc.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.