Could not resolve placeholder ‘server.port‘ in value ${server.port}
Could not resolve placeholder ‘server.port’ in value “${server.port}”说明:这个报错,我百度和csdn没有找到合理的说明问题在线springboot项目打war包部署到wify服务器 , 发现项目启动失败 , 报错思路:肯定是swagger配置文件报错 , 和springboot的server.port端口有关系找到对应配置原因因
·
Could not resolve placeholder ‘server.port’ in value “${server.port}”
说明:
这个报错,我百度和csdn没有找到合理的说明
问题在线
springboot项目打war包部署到wify服务器 , 发现项目启动失败 , 报错
思路:
肯定是swagger配置文件报错 , 和springboot的server.port端口有关系
找到对应配置
原因
因为springboot内嵌tomcat容器,但是打war包不依赖于内置的tomcat,所以关于服务器的配置不应该出现在配置文件中
csdn
–
csdn
https://blog.csdn.net/shaoming314
更多推荐
已为社区贡献13条内容
所有评论(0)