From aa2c3d4deba76ade0958ff3ced88396e226a4964 Mon Sep 17 00:00:00 2001 From: duhuizhe <271000472@qq.com> Date: 星期三, 15 五月 2024 19:57:40 +0800 Subject: [PATCH] 项目启动失败问题解决 --- ecosphere/ecosphere-four-payment/src/main/resources/application.yml | 59 ++++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 36 insertions(+), 23 deletions(-) diff --git a/ecosphere/ecosphere-four-payment/src/main/resources/application.yml b/ecosphere/ecosphere-four-payment/src/main/resources/application.yml index 37eec66..f37b062 100644 --- a/ecosphere/ecosphere-four-payment/src/main/resources/application.yml +++ b/ecosphere/ecosphere-four-payment/src/main/resources/application.yml @@ -1,37 +1,41 @@ swagger: base-package: com.nuvole.four spring: - http: - encoding: - charset: UTF-8 - enabled: true - force: true - servlet: - #鍏佽浼犺緭鏂囦欢澶у皬閰嶇疆 - multipart: - max-file-size: 100Mb - max-request-size: 200Mb +# servlet: +# #鍏佽浼犺緭鏂囦欢澶у皬閰嶇疆 +# multipart: +# max-file-size: 100Mb +# max-request-size: 200Mb application: name: service-four-payment - redis: - jedis: - pool: - max-active: 2000 - max-wait: -1 - max-idle: 10 - min-idle: 0 - timeout: 30000 +# redis: +# jedis: +# pool: +# max-active: 2000 +# max-wait: -1 +# max-idle: 10 +# min-idle: 0 +# timeout: 30000 #druid 閾炬帴姹� rabbitmq: - publisher-confirms: true +# publisher-confirms: true publisher-returns: true listener: direct: acknowledge-mode: manual simple: acknowledge-mode: manual + port: 5672 + username: super + password: Jmy2019. + virtual-host: ecosphere + host: 116.198.40.76 datasource: druid: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://116.198.40.76:3306/ecosphere_shop_basics?characterEncoding=utf8&autoReconnect=true&useSSL=false + username: root + password: Bjjmy_2020 min-idle: 5 initial-size: 5 async-init: true @@ -82,17 +86,22 @@ metadata-allow: true log-violation: true throw-exception: true +# driver-class-name: com.mysql.jdbc.Driver +# url: jdbc:mysql://116.198.40.76:3306/ecosphere_shop_basics?characterEncoding=utf8&autoReconnect=true&useSSL=false +# username: root +# password: Bjjmy_2020 #璧勬簮鏂囦欢鏄犲皠 - resources: - static-locations: classpath:/static/,classpath:/public/,file:${file.upPath},file:${file.sysPath},file:${file.poster.path} banner: location: banner.txt jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 + web: + resources: + static-locations: classpath:/static/,classpath:/public/,file:${file.upPath},file:${file.sysPath},file:${file.poster.path} #mybaits鏄犲皠閰嶇疆 mybatis: - mapper-locations: classpath:mapping/**/*Mapper.xml + mapper-locations: classpath*:mapping/**/*Mapper.xml type-aliases-package: com.nuvole.four.domain configuration: map-underscore-to-camel-case: true @@ -103,7 +112,6 @@ params: count=countSql #鏃ュ織閰嶇疆 logging: - file: log/out.log pattern: console: "%d{yyyy/MM/dd-HH:mm:ss} [%thread] %-5level %logger- %msg%n" file: "%d{yyyy/MM/dd-HH:mm} [%thread] %-5level %logger- %msg%n" @@ -129,6 +137,11 @@ max-threads: 1000 max-connections: 1000 basedir: tomcat + servlet: + encoding: + charset: UTF-8 + enabled: true + force: true tl: could: -- Gitblit v1.9.1