import maven project idea and run

A, idea import maven project

 
1.png
 
2.png
 
3.png
 
4.png
 
5.png
 
6.png
 
7.png
 
8.png
 
9.png
 
10.png
 
11.png
 
12.png
 
13.png

Second, configure Tomcat

 
14.png
 
15.png
 
16.png
 
17.png
 
18.png
 
19.png

Third, modify the configuration file

1. Database configuration file

(1) IP address
(2) the name of the database
(3) username and password

 
20.png

2. The database link file

 



Guess you like

Origin www.cnblogs.com/tiechui2015/p/12400980.html