摘要: 报错原因: 是由于问题所在与解析问题,返回给 返回浏览器是这个html,那么就需要以html形式返回,所以需要加上@responsebody来 阅读全文
posted @ 2019-10-11 14:16 菩提树下的丁春秋 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 使用: 使用注解就可以了 那么怎么自定i注解呢: 其中使用到一个util 阅读全文
posted @ 2019-10-11 13:56 菩提树下的丁春秋 阅读(305) 评论(0) 推荐(0) 编辑
摘要: springboot1中处理是这样的 再写一个参数处理类就可以了; 如果你版本升级到2 那么就需要进行: 阅读全文
posted @ 2019-10-11 13:51 菩提树下的丁春秋 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: Thymeleaf手动渲染 为提高页面访问速度,可缓存html页面,客户端请求从缓存获取,获取不到再手动渲染 在spring4下 @Autowired ThymeleafViewResolver thymeleafViewResolver; @Autowired ApplicationContext 阅读全文
posted @ 2019-10-11 13:49 菩提树下的丁春秋 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: 修改下版本就好了 然后问题就解决了 阅读全文
posted @ 2019-10-11 11:10 菩提树下的丁春秋 阅读(1429) 评论(0) 推荐(0) 编辑
摘要: 今天自己做那个秒杀项目时候,开始是好的,一会就出现如上错误 Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���׼ʱ��' is unreco 阅读全文
posted @ 2019-10-11 11:05 菩提树下的丁春秋 阅读(362) 评论(0) 推荐(0) 编辑