java - eclipse project run javaweb

And this is placed on a piece

Creating javaweb project, if you want to create a maven project, java project can, and I want it on a piece tomcat

Created javaweb project

Creating a project from a meaningful project name to select a tomcat version to be consistent with your downloaded version I chose 8.5

 

Configuration tomcat multiple versions can also be configured such that

My tomcat position, which is decompressed version of want to put it, extract can be used directly

 Configuring tomcat

Configuring multiple versions can even jdk

Configuration jdk case of selecting a plurality of configuration increases the jre

Note that even :::

 After configured as shown in FIG

Click Finish

Configuring server

Configure the corresponding version

Click OK to complete the look after

As shown in FIG: ah server is not increased

 

The project is carried out into the servers running

After clicking add will come even

Click Done As shown

Under this project will be to jdk to 8 Tomcat 8.5 server, and operated

Testing services which run under the server selected in the right-click click on the star

 

After the run is completed as shown in FIG.

Enter the address bar test

After successful as shown in FIG.

 

Guess you like

Origin www.cnblogs.com/obge/p/11290511.html