启动springboot后,运行swagger2时500报错。
来源:5-7 swagger2的使用与接口测试

慕侠2277836
2019-09-19
写回答
2回答
-
Mybatis没有映射到,找不到对应的sql,检查一下吧,建议和源码部分比对看看是不是写错方法名之类的
012019-09-20 -
慕侠2277836
提问者
2019-09-20
我直接将你的代码全盘覆盖取代我的代码,结果还是500报错,但是已经将username和password成功insert到数据表中去了,请问下面代码报错意思是什么?
{
"timestamp": 1568989641806,
"status": 500,
"error": "Internal Server Error", "exception": "org.springframework.data.redis.RedisConnectionFailureException",
"message": "Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool", "path": "/regist"}
012019-09-20
相似问题