A Spring boot application Import this Project through Spring Test Suite OR Eclipse Oxygen Using Maven Existing Dialog box.
Make Changes in Application.properties file
- Create Database name and Replace under the database_name column.
- Use your system mysql user name under the below username column.
- Use your mysql password against the column password.
spring.datasource.url=jdbc:mysql://localhost:3306/YOUR_DATABASE_NAME
spring.datasource.username=USER_NAME
spring.datasource.password=PASSWORD
Now, create folder with your choice name and then replace it absoulte path below in Application.properties file
spring.applicationexternalPath.name=FOLDER_PATH_ABSOLUTE
And, same to be added in this file also /School_Project/src/main/java/com/spoken/Utility/ServiceUtility.java
static String mediaPath=FOLDER_PATH_ABSOLUTE;