设置spring.application.name保证程序启动不报错

This commit is contained in:
nengjie 2019-06-05 17:06:20 +08:00
parent fed01f0568
commit 705e1034e3

View File

@ -5,6 +5,8 @@ spring:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: root username: root
password: ${MALL_MYSQL_PASSWORD} password: ${MALL_MYSQL_PASSWORD}
application:
name: order-impl # 设置值保证程序启动时不报错,具体的值需要修改[nengjie]
# mybatis # mybatis
#mybatis: #mybatis:
@ -32,7 +34,7 @@ dubbo:
port: -1 port: -1
name: dubbo name: dubbo
scan: scan:
base-packages: cn.iocoder.mall.order.biz.service base-packages: cn.iocoder.mall.order.service
provider: provider:
filter: -exception filter: -exception
CartService: CartService: