SpringBoot实战
哈特谢普苏特
海上生明月
展开
-
SpringBoot + thymeleaf org.thymeleaf.exceptions.TemplateInputException:template might not exist or
问题描述:想在网页上显示html 而不是返回对象如果是返回对象的话应该这样写,类上@Controller,方法中@ResponseBodypackage com.example.demo.controller;import com.example.demo.result.Result;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.Request原创 2020-07-10 22:26:58 · 278 阅读 · 0 评论 -
Springboot+ Redis Could not get a resource since the pool is exhausted] with root cause
问题描述:SpringBoot + 虚拟机rediscontext with path [] threw exception [Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisExhaustedPoolException: Could not get a resource since the pool is exhausted] with root causejava.util.原创 2020-07-10 11:01:12 · 2696 阅读 · 2 评论