Run a SpringBoot system from start to finish

Have project source code, have SQL file, how to put the project on their own computer to run up.

Example effects website: www.truedei.com

Project address: github.com/truedei/TD-…

Star for TrueDei Biggie Duo

Check JDK, Maven, Mysql.

Open the DOS interface to check: “Win +R” and then enter “CMD”

Check whether the Jdk version is 1.8

Check whether Maven configuration is complete

Check whether the Mysql database is 5.7

Two, pull the project source code, SQL file to the local.

Select “File “->” new”->”Project from Version Control…”

Clone:HTTPS:github.com/truedei/TD-… Pull from git Hub to local

Downloading:

The loading directory is as follows:

Java: package sun.misc does not exist.

3. Configure the local database

1. Import the SQL file to the database

In the project file “SRC “->” main”->”resources”->” SQL” right click to find the local directory where SQL is located, create a database named Jantent, Import the project SQL file into your own database (right click on jantent database, run the SQL file, find the previous directory to import)

2. Configure the database

Under the project file “SRC” – > “main” – > “resources” – > “env” – > “dev” – > “application. Yml” modify configuration:Problems arising:

** Mysql database version is incorrect, your Mysql is not 5.7

Run tests

Run StartApplication and enter the loopback address: 127.0.0.1 in the browser for access

If it works like this, you’re successful.

Error: Access denied for user ”@’localhost’ **

And so we ran a SpringBoot system from start to finish.