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
或者:
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/
t
ongweb-spring-boot-reactor-7.0.E.6_P9
\l
ib
\