# 激活开发环境 spring.profiles.active=dev spring.mvc.date-format=yyyy-MM-dd HH:mm:ss spring.http.encoding.charset=utf-8 #上传文件大小 spring.servlet.multipart.max-file-size=10MB spring.servlet.multipart.max-request-size=100MB #jackson配置 指json数据格式化和反格式化时的日期格式,spring默认使用的是jackson spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8 spring.jackson.default-property-inclusion=non_null spring.jackson.serialization.fail-on-empty-beans=true spring.jackson.deserialization.fail-on-unknown-properties=false #配置数据源 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3316/test?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8 spring.datasource.username=root spring.datasource.password=root spring.datasource.tomcat.max-active=20 spring.datasource.tomcat.min-idle=15 spring.datasource.tomcat.initialSize=15 #jpa 配置 spring.jpa.database=mysql spring.jpa.hibernate.ddl-auto=update spring.jpa.properties.hibernate.idalect=org.hibernate.dialect.MySQL5InnoDBDialect spring.jpa.open-in-view=true spring.jpa.show-sql=true spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy #tomcat server.port=8088 server.servlet.context-path=/test server.tomcat.uri-encoding=UTF-8 # 日志 logging.config=classpath:logback-dev.xml #thymeleaf spring.thymeleaf.encoding=UTF-8