Initial commit

This commit is contained in:
Yo Vinchen 2023-03-15 21:11:29 +08:00
parent 19ab07f8ce
commit 3e396faf41
33 changed files with 451 additions and 0 deletions

View File

@ -14,6 +14,7 @@
<module name="springboot_05_mybatis" />
<module name="springboot_03_yaml" />
<module name="springboot_01_01_quickstart" />
<module name="springboot_08_ssmp" />
<module name="demo" />
<module name="springboot_02_base_configuration" />
<module name="springboot_06_mybatis_plus" />
@ -32,6 +33,7 @@
<module name="springboot_06_mybatis_plus" target="17" />
<module name="springboot_07_druid" target="17" />
<module name="springboot_07_durid" target="17" />
<module name="springboot_08_ssmp" target="17" />
</bytecodeTargetLevel>
</component>
<component name="JavacSettings">
@ -48,6 +50,7 @@
<module name="springboot_06_mybatis_plus" options="-parameters" />
<module name="springboot_07_druid" options="-parameters" />
<module name="springboot_07_durid" options="-parameters" />
<module name="springboot_08_ssmp" options="-parameters" />
</option>
</component>
</project>

View File

@ -19,5 +19,6 @@
<file url="file://$PROJECT_DIR$/springboot_06_mybatis_plus/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/springboot_07_druid/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/springboot_07_durid/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/springboot_08_ssmp/src/main/java" charset="UTF-8" />
</component>
</project>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.alibaba:druid:1.2.6">
<CLASSES>
<root url="jar://E:/maven-cangku/com/alibaba/druid/1.2.6/druid-1.2.6.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/alibaba/druid/1.2.6/druid-1.2.6-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/alibaba/druid/1.2.6/druid-1.2.6-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.alibaba:druid-spring-boot-starter:1.2.6">
<CLASSES>
<root url="jar://E:/maven-cangku/com/alibaba/druid-spring-boot-starter/1.2.6/druid-spring-boot-starter-1.2.6.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/alibaba/druid-spring-boot-starter/1.2.6/druid-spring-boot-starter-1.2.6-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/alibaba/druid-spring-boot-starter/1.2.6/druid-spring-boot-starter-1.2.6-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.baomidou:mybatis-plus:3.4.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus/3.4.3/mybatis-plus-3.4.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus/3.4.3/mybatis-plus-3.4.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus/3.4.3/mybatis-plus-3.4.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.baomidou:mybatis-plus-annotation:3.4.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-annotation/3.4.3/mybatis-plus-annotation-3.4.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-annotation/3.4.3/mybatis-plus-annotation-3.4.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-annotation/3.4.3/mybatis-plus-annotation-3.4.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.baomidou:mybatis-plus-boot-starter:3.4.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-boot-starter/3.4.3/mybatis-plus-boot-starter-3.4.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-boot-starter/3.4.3/mybatis-plus-boot-starter-3.4.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-boot-starter/3.4.3/mybatis-plus-boot-starter-3.4.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.baomidou:mybatis-plus-core:3.4.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-core/3.4.3/mybatis-plus-core-3.4.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-core/3.4.3/mybatis-plus-core-3.4.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-core/3.4.3/mybatis-plus-core-3.4.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.baomidou:mybatis-plus-extension:3.4.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-extension/3.4.3/mybatis-plus-extension-3.4.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-extension/3.4.3/mybatis-plus-extension-3.4.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/baomidou/mybatis-plus-extension/3.4.3/mybatis-plus-extension-3.4.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.13.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-annotations/2.13.3/jackson-annotations-2.13.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-annotations/2.13.3/jackson-annotations-2.13.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-annotations/2.13.3/jackson-annotations-2.13.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.core:jackson-core:2.13.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-core/2.13.3/jackson-core-2.13.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-core/2.13.3/jackson-core-2.13.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-core/2.13.3/jackson-core-2.13.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.13.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-databind/2.13.3/jackson-databind-2.13.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-databind/2.13.3/jackson-databind-2.13.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/core/jackson-databind/2.13.3/jackson-databind-2.13.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.13.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.13.3/jackson-datatype-jdk8-2.13.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.13.3/jackson-datatype-jdk8-2.13.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.13.3/jackson-datatype-jdk8-2.13.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.13.3/jackson-datatype-jsr310-2.13.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.13.3/jackson-datatype-jsr310-2.13.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.13.3/jackson-datatype-jsr310-2.13.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.13.3">
<CLASSES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/module/jackson-module-parameter-names/2.13.3/jackson-module-parameter-names-2.13.3.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/module/jackson-module-parameter-names/2.13.3/jackson-module-parameter-names-2.13.3-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/fasterxml/jackson/module/jackson-module-parameter-names/2.13.3/jackson-module-parameter-names-2.13.3-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.github.jsqlparser:jsqlparser:4.0">
<CLASSES>
<root url="jar://E:/maven-cangku/com/github/jsqlparser/jsqlparser/4.0/jsqlparser-4.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/com/github/jsqlparser/jsqlparser/4.0/jsqlparser-4.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/com/github/jsqlparser/jsqlparser/4.0/jsqlparser-4.0-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.65">
<CLASSES>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-core/9.0.65/tomcat-embed-core-9.0.65.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-core/9.0.65/tomcat-embed-core-9.0.65-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-core/9.0.65/tomcat-embed-core-9.0.65-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.tomcat.embed:tomcat-embed-el:9.0.65">
<CLASSES>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-el/9.0.65/tomcat-embed-el-9.0.65.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-el/9.0.65/tomcat-embed-el-9.0.65-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-el/9.0.65/tomcat-embed-el-9.0.65-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.65">
<CLASSES>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.65/tomcat-embed-websocket-9.0.65.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.65/tomcat-embed-websocket-9.0.65-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/apache/tomcat/embed/tomcat-embed-websocket/9.0.65/tomcat-embed-websocket-9.0.65-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.mybatis:mybatis:3.5.7">
<CLASSES>
<root url="jar://E:/maven-cangku/org/mybatis/mybatis/3.5.7/mybatis-3.5.7.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/mybatis/mybatis/3.5.7/mybatis-3.5.7-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/mybatis/mybatis/3.5.7/mybatis-3.5.7-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.mybatis:mybatis-spring:2.0.6">
<CLASSES>
<root url="jar://E:/maven-cangku/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/mybatis/mybatis-spring/2.0.6/mybatis-spring-2.0.6-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-json:2.6.11">
<CLASSES>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-json/2.6.11/spring-boot-starter-json-2.6.11.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-json/2.6.11/spring-boot-starter-json-2.6.11-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-json/2.6.11/spring-boot-starter-json-2.6.11-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.6.11">
<CLASSES>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-tomcat/2.6.11/spring-boot-starter-tomcat-2.6.11.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-tomcat/2.6.11/spring-boot-starter-tomcat-2.6.11-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-tomcat/2.6.11/spring-boot-starter-tomcat-2.6.11-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-web:2.6.11">
<CLASSES>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-web/2.6.11/spring-boot-starter-web-2.6.11.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-web/2.6.11/spring-boot-starter-web-2.6.11-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/springframework/boot/spring-boot-starter-web/2.6.11/spring-boot-starter-web-2.6.11-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework:spring-web:5.3.22">
<CLASSES>
<root url="jar://E:/maven-cangku/org/springframework/spring-web/5.3.22/spring-web-5.3.22.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/springframework/spring-web/5.3.22/spring-web-5.3.22-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/springframework/spring-web/5.3.22/spring-web-5.3.22-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework:spring-webmvc:5.3.22">
<CLASSES>
<root url="jar://E:/maven-cangku/org/springframework/spring-webmvc/5.3.22/spring-webmvc-5.3.22.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://E:/maven-cangku/org/springframework/spring-webmvc/5.3.22/spring-webmvc-5.3.22-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://E:/maven-cangku/org/springframework/spring-webmvc/5.3.22/spring-webmvc-5.3.22-sources.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -28,6 +28,7 @@
<option value="$PROJECT_DIR$/springboot_06_mybatis_plus/pom.xml" />
<option value="$PROJECT_DIR$/springboot_07_druid/pom.xml" />
<option value="$PROJECT_DIR$/springboot_07_durid/pom.xml" />
<option value="$PROJECT_DIR$/springboot_08_ssmp/pom.xml" />
</list>
</option>
</component>

View File

@ -12,6 +12,7 @@
<module fileurl="file://$PROJECT_DIR$/springboot_05_mybatis/springboot_05_mybatis.iml" filepath="$PROJECT_DIR$/springboot_05_mybatis/springboot_05_mybatis.iml" />
<module fileurl="file://$PROJECT_DIR$/springboot_06_mybatis_plus/springboot_06_mybatis_plus.iml" filepath="$PROJECT_DIR$/springboot_06_mybatis_plus/springboot_06_mybatis_plus.iml" />
<module fileurl="file://$PROJECT_DIR$/springboot_07_durid/springboot_07_durid.iml" filepath="$PROJECT_DIR$/springboot_07_durid/springboot_07_durid.iml" />
<module fileurl="file://$PROJECT_DIR$/springboot_08_ssmp/springboot_08_ssmp.iml" filepath="$PROJECT_DIR$/springboot_08_ssmp/springboot_08_ssmp.iml" />
</modules>
</component>
</project>

33
springboot_08_ssmp/.gitignore vendored Normal file
View File

@ -0,0 +1,33 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
!**/src/main/**/build/
!**/src/test/**/build/
### VS Code ###
.vscode/

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.11</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.yv</groupId>
<artifactId>springboot_08_ssmp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>springboot_08_ssmp</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.2.6</version>
</dependency>
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.49</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -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);
}
}

View 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

View File

@ -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() {
}
}