First the JDK is determined to be configured.
I. Follow your own system selection tomcat8 download: (http://tomcat.apache.org/download-80.cgi)
Download the decompression.
Two. In Eclipse
File–>new–>other–>server (see the last article without Server) –>server,next–apache, This is only supported to TOMCAT7 and requires some changes to the downloaded Tomcat8 content (refer to address: http://blog.csdn.net/bz151531223/article/details/48767689,http:// blog.csdn.net/yuzhiyuxia/article/details/26282767):
Tomcat–>lib–>catalina.jar (Right-click with winrar) –>org– >apache–>catalina–>util–>serverinfo.properties (double-click to open) –:
The original configuration was modified to:
Server.info=apache Tomcat/ 7.0.47
server.number=7.0.47.0
Three. Configure environment variables, and configure JDK similar to
1, new variable name: catalina_base,
Variable value: F:\Users\Mascot001\ tomcat\apache-tomcat-8.5.15
Here the value of the variable enter the installation location of your tomcat, as follows
2. New variable name: catalina_home,
Variable value: F:\Users\Mascot001\ tomcat\apache-tomcat-8.5.15
3, open path, add variable value:%catalina_home%\lib;%catalina_home%\bin
need to check the front and back do not copy more space, Otherwise the configuration will go wrong
Four, the DOS command entered startup, and Tomcat will be started.
Last question: see if your installation of Eclipse is a Java EE version, it may be installed in a version, there are a lot less plug-ins, resulting in no service, it is recommended to install Java EE version.
If the Java EE version is installed or the service is not found, use the solution: there is no service solution in eclipse (the method for adding plug-ins is similar):
Find Help->installnew Software->work with in: Kepler-http://download.eclipse.org/releases/kepler (enter here to wait a while below resources will appear), looking for Web,xml, The Java EE and OSGi Enterprise development->jst Server adaptersextensions (ticked on the item) –> completed.