手动替换步骤
1、排除netty依赖
reactor-netty-http-{version}.jar
reactor-netty-core-{version}.jar
2、添加tongweb依赖
reactor-tongweb-core-7.0.E.6_P9.jar
reactor-tongweb-http-7.0.E.6_P9.jar
tongweb-spring-boot-reactor-starter-7.0.E.6_P9.jar
tongweb-lic-sdk-4.5.1.2.jar
或者(3.x版本):
reactor-tongweb-core-3.x-7.0.E.6_P9.jar
reactor-tongweb-http-3.x-7.0.E.6_P9.jar
tongweb-spring-boot-reactor-starter-3.x-7.0.E.6_P9.jar
tongweb-lic-sdk-4.5.1.2.jar
3、配置文件添加授权配置:
server:
tongweb:
license:
type: file
path: classpath:license.dat
转换工具替换
transform.sh {SRC_JAR_PATH} {TONGWEB_Reactor_LIB_PATH}
说明:
▪ {SRC_JAR_PATH}:表示待转换 Netty 项目工程的完整路径。
▪ {TONGWEB_Reactor_LIB_PATH}:表示 TongWeb 响应式便成功容器产品包内的 lib 目录的
完整路径。
例如:
./transform.sh /opt/your-spring-gateway.jar /opt/tongweb-spring-boot-reactor-7.0.E.6_P9\lib\
1089

被折叠的 条评论
为什么被折叠?



