-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
升级SofaBoot至4.0.0&SofaArk至2.2.0,动态加载,遇到web单host模式下提示"Address already in use"
更改biz包server.port后可以正常加载
目前宿主包与biz包无法同一端口下正常运行
SofaBoot版本 :3.19.1 -> 4.0.0
SofaArk版本 :2.1.3 -> 2.2.0
参考的教程地址:https://github.com/sofastack-guides/sofa-ark-dynamic-guides
涉及到的变更如下:
sofa-ark-dynamic-guides/pom.xml
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofaboot-dependencies</artifactId>
<version>3.11.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
变更为
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofaboot-dependencies</artifactId>
<version>4.0.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
sofa-ark-dynamic-guides/dynamic-stock-mng/pom.xml
变更为
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>web-ark-plugin</artifactId>
<version>${sofa.ark.version}</version>
</dependency>
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>ark-sofa-boot-starter</artifactId>
</dependency>
sofa-ark-dynamic-guides/dynamic-provider/pom.xml
移除
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>healthcheck-sofa-boot-starter</artifactId>
<scope>provided</scope>
</dependency>
因为未查找到更多升级的配置资料,暂时不清楚是因为配置有误还是存在bug
期待验证并升级教程示例sofa-ark-dynamic-guides至最新版本
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed