Skip to content

Commit

Permalink
[修复]seckill服务启动报错问题 (#205)
Browse files Browse the repository at this point in the history
[升级]Dubbo升级至3.2.11
  • Loading branch information
techa03 authored Apr 20, 2024
1 parent fee91a8 commit 32f9e78
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 35 deletions.
3 changes: 3 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ ____

* main方法运行``GoodskillAdminApplication``类(微服务健康状态指标监控)

== ✔️ 目前已知问题
[qanda]
- ShardingSphere分库分表``v5.4.1``版本功能启用后无法正常启动项目,目前已禁用分库分表功能,待后续升级

== ❓常见问题
[qanda]
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ services:
- "8091:8091"
- "7091:7091"
environment:
- SEATA_IP=192.168.2.134
- SEATA_IP=192.168.0.103
- SEATA_PORT=8091
- STORE_MODE=db
volumes:
Expand Down
29 changes: 0 additions & 29 deletions goodskill-seata/src/main/resources/logback-spring.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ spring:
elasticsearch:
uris: http://elasticsearch:9200
datasource:
driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
url: jdbc:shardingsphere:classpath:sharding-sphere.yml
# url: jdbc:mysql://mysql:3306/seckill?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
# driver-class-name: org.apache.shardingsphere.driver.ShardingSphereDriver
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:shardingsphere:classpath:sharding-sphere.yml
url: jdbc:mysql://mysql:3306/seckill?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
username: root
password: Password123
# shardingsphere:
Expand Down
2 changes: 1 addition & 1 deletion goodskill-seckill-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<artifactId>goodskill</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>
<name>goodskill-spring-boot-provider</name>
<name>goodskill-seckill-provider</name>


<build>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<jacoco.version>0.8.8</jacoco.version>
<maven.surefire.version>2.22.2</maven.surefire.version>
<net.logstash.version>7.1.1</net.logstash.version>
<dubbo.version>3.2.2</dubbo.version>
<dubbo.version>3.2.11</dubbo.version>
<hutool.version>5.8.20</hutool.version>
<mybatis-plus.version>3.5.6</mybatis-plus.version>
<fastjson2.version>2.0.24</fastjson2.version>
Expand Down

0 comments on commit 32f9e78

Please sign in to comment.