- 博客(7)
- 收藏
- 关注
原创 SQL Error: 0, SQLState: 08S01 和Communications link failure
bug:WARN : org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 0, SQLState: 08S01ERROR: org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Communications link failure一开始使用的数据源配置如下<bean id="d
2017-03-31 17:46:38 49295 3
原创 spring boot 配置静态资源
SpringBoot对静态资源的支持以及很重要的一个类WebMvcConfigurerAdapter。正文前面章节我们也有简单介绍过SpringBoot中对静态资源的默认支持,今天详细的来介绍下默认的支持,以及自定义扩展如何实现。默认资源映射Spring Boot 默认为我们提供了静态资源处理,使用 WebMvcAutoConfiguration 中的配置各种属性。建议大家使用Spring Boot
2017-03-31 08:55:40 877
原创 java 实现 spring websocket
原来没有接触过socket通信这块,由于公司需要弄长连接实现功能,才开始学习和接触。 先分享个实现websocket的讲解及代码: Java Spring WebSocket实现后端消息主动推送(上): http://www.liulichao.com/2016/05/06/java-spring-websocket-1.html Java Spring WebSocket实现后端消息主动推
2017-03-29 22:46:17 597
原创 spring boot thymeleaf 标签未关闭报错
整了好几天了spring boot,input标签未关闭报bug,代码稍有不慎就出小问题,后来百度,google后顺利解决。首先在pom.xml文件引入nekohtml<dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> <version>1.9.2
2017-03-29 21:55:20 2558
原创 spring boot csrf
Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Sun Mar 26 22:46:00 CST 2017There was an unexpected error (type=Forbidden, status=403).C
2017-03-26 23:28:24 4458 3
原创 ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
1.关闭防火墙 2.修改mysql配置文件my.inimy.ini添加:skip-grant-tables
2017-03-26 18:48:42 821
原创 激活IntelliJ IDEA Ultimate 2016
参考:https://www.haxotron.com/jetbrains-intellij-idea-crack-123/IntelliJ IDEA Ultimate 2016.3.4 1.Install the latest version of IntelliJ IDEA (v2016.3.4) 2.Start it 3.When you have to enter the license
2017-03-08 00:23:34 1412
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人