spring.servlet.multipart.max-file-size=200MB
spring.servlet.multipart.max-request-size=200MB
spring.datasource.url=jdbc:mysql://localhost:3306/demospring.datasource.username=rootspring.datasource.password=0000spring.datasource.driver-class-name=com.mysql.jdbc.Driver
server.port=8081
server.servlet.context-path=/boot
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql= true
logging.level.cn.xt.mapper=debug
mybatis.config-location=classpath:MyBatis.xmlmybatis.mapper-locaitons=classpath:mybatis/mappings/*.xml
mybatis.type-aliases-package=com.user.bean
spring.mvc.view.prefix=/WEB-INF/jsp/spring.mvc.view.suffix=.jsp
server.jsp-servlet.init-parameters.development=truespring.cache.ehcache.config=ehcache.xml
SpringBoot常用application.properties配置
原文:https://www.cnblogs.com/yangzhuxian/p/13370975.html