Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.yv;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class Springboot08SsmpApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Springboot08SsmpApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
16
springboot_08_ssmp/src/main/resources/application.yml
Normal file
16
springboot_08_ssmp/src/main/resources/application.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
# 配置相关配置
|
||||
#spring:
|
||||
# datasource:
|
||||
# driver-class-name: com.mysql.jdbc.Driver
|
||||
# url: jdbc:mysql://localhost:3306/ssm_db?useSSL=false
|
||||
# username: root
|
||||
# password: 8520
|
||||
# type: com.alibaba.druid.pool.DruidDataSource
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
druid:
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/ssm_db?useSSL=false
|
||||
username: root
|
||||
password: 8520
|
@@ -0,0 +1,13 @@
|
||||
package com.yv;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class Springboot08SsmpApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user