行业知识
springboot 东方通(tongweb)替换tomcat(国产化)
2026-11-06 11:40:52
来源:互联网转载
#一.修改pomindex.php/tags-522.html" >文件
排除tomcat
org.springframework.boot spring-boot-starter-tomcat
添加tongweb依赖
7.0.E.5 com.tongweb.springboot tongweb-spring-boot-starter-2.x ${tongweb.version} com.tongweb.springboot tongweb-spring-boot-starter-2.x ${tongweb.version} com.tongweb tongweb-embed ${tongweb.version} #二.修改application.yml文件
server.tongweb.license.type = fileserver.tongweb.license.path=classpath:license.dat
1.注释掉原来tomcat的相关配置
2.添加tongweb的相关配置
3添加tongweb的本地认证配置,将认证文件license.dat放到resources文件夹下
当配置项 server.tongweb.license.type = file 时,表示 license 认证方式为本地认证
通过配置项 server.tongweb.license.path 来配置文件的存放路径。
上一篇:正式服怎么选择服务器设置?
下一篇:尚易邮件怎么撤回?