部署调用接口卡住问题Creating a new SqlSession was not registered for synchronization because synchronization

rRegisteredAndLogin(java.lang.String,java.lang.String,java.lang.String)Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@796753de] was not registered for synchronization because synchronization is not active
2019-08-29 19:42:31 - [DEBUG] - [org.springframework.jdbc.datasource.DataSourceUtils] - Fetching JDBC Connection from DataSource

2019-08-29 19:44:38 - [DEBUG] - [org.springframework.web.servlet.DispatcherServlet] - Using resolved error view: ModelAndView [view=[org.springframework.web.servlet.view.json.MappingJackson2JsonView: [MappingJackson2JsonView]]; model={code=-1, msg=系统错误,请稍后重试!}]

1.检查你的线上数据库是否配置白名单。
部署调用接口卡住问题Creating a new SqlSession was not registered for synchronization because synchronization_第1张图片
2.检查项目配置文件是否改成内网地址
部署调用接口卡住问题Creating a new SqlSession was not registered for synchronization because synchronization_第2张图片
在这里插入图片描述

你可能感兴趣的:(Linux)