application
程序员文章站
2022-03-20 23:00:58
后端application.yaml模板server: port: 8080 servlet: context-path: /spring: datasource: type: com.alibaba.druid.pool.DruidDataSource url: jdbc:mysql://localhost:3306/bookshopping?serverTimezone=UTC&useSSL=true&useUnicode=true&ch...
后端application.yaml模板
server:
port: 8080
servlet:
context-path: /
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://localhost:3306/bookshopping?serverTimezone=UTC&useSSL=true&useUnicode=true&characterEncoding=utf8
username: root
password: 123456
tomcat:
max-active: 20
max-wait: 5000
initial-size: 1
driver-class-name: com.mysql.cj.jdbc.Driver
jackson:
date-format: yyyy-MM-dd HH:mm:ss
web:
resources:
static-locations: classpath:/resources/,classpath:/static/
chain:
cache: true
cache:
period: 2592000
devtools:
remote:
restart:
enabled: true
servlet:
# 文件上传下载
multipart:
enabled: true
# 最大支持文件大小
max-file-size: 5MB
# 最大支持请求大小
max-request-size: 5MB
profiles:
active: logger
mybatis:
type-aliases-package: com.cqipc.entity
mapper-locations: classpath:mapper/*.xml
configuration:
map-underscore-to-camel-case: false
本文地址:https://blog.csdn.net/sumyx/article/details/110296306
上一篇: Java学习文档 -- 基本内容
推荐阅读
-
Android application捕获崩溃异常怎么办
-
javascript asp教程第十一课--Application 对象
-
Application Cache未缓存文件无法访问无法加载问题
-
IIS 错误 Server Application Error 详细解决方法
-
Spring Boot 中application.yml与bootstrap.yml的区别
-
ASP.NET C#中Application的用法教程
-
浅析application/x-www-form-urlencoded和multipart/form-data的区别
-
android 调试崩溃Unable to instantiate application的解决方法
-
解析:ClickOnce通过URL传递参数 XXX.application?a=1
-
IOS真机运行带有Notification Content target的时候证书报错This application or a bundle it contains has the same bun