赞
踩
#服务器名
spring.application.name=springBootProgram
#端口号
server.port=8093
# 数据库配置
- spring.datasource.url=jdbc:oracle:thin:@ip:1521/orcl
- spring.datasource.username=name
- spring.datasource.password=pwd
- spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
#扫描mapper文件
mybatis.mapperLocations=classpath:com/data/mapper/*.xml
# kafka配置
- spring.kafka.bootstrap-servers=ip:port
- spring.kafka.consumer.group-id=agroup
- spring.kafka.consumer.auto-offset-reset=earliest
#控制台输出执行的sql日志
- logging.level.com.data.mapper=debug
- #mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
#设置静态资源路径
- spring.thymeleaf.prefix=classpath:/templates/
- spring.resources.static-locations=classpath:static/,file:static/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。