
坑
liu_zhaoming
从事 java开发工作
展开
-
Spring MVC自定义消息转换器(可解决Long类型数据传入前端精度丢失的问题)
方法一 jackson注解<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.8.6</version> </dependency> <dependency> <groupId>c原创 2017-10-10 15:07:27 · 2136 阅读 · 0 评论 -
nginx做反向负载均衡,后端服务器获取真实客户端ip
nginx增加header配置server { listen 80; server_name admin.paascloud.net; location ~ { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; p原创 2018-01-31 08:39:20 · 383 阅读 · 0 评论 -
idea2017.3卡死的坑
不知道有多少人遇到这个坑, 但愿能帮助一部分小伙伴拜托这个问题 经过多方面排查是由于jdk的问题,更坑的是由于配置了一个idea的环境变量,这里对想用idea开发还不想使用jdk8的小伙伴只需要增加以下配置系统环境变量IDEA_JDK_64 C:\Program Files\Java\jdk1.8.0_144未能及时发现这个问题最主要原因还是由于公司jdk版本的问题 这里吐槽一下,原创 2018-01-19 14:44:12 · 6206 阅读 · 1 评论 -
EL1057E: No bean resolver registered in the context to resolve access to bean 'permissionService'
https://github.com/spring-projects/spring-security-oauth/issues/730@Slf4j@Component("permissionService")public class UacPermissionServiceImpl implements UacPermissionService{ private AntPath...原创 2018-03-01 13:13:23 · 3364 阅读 · 2 评论 -
npm ERR! Unexpected end of JSON input while parsing near '...ostcss-modules-values'
npm 一个神坑当前npm版本 5.6.0 node版本8.11.3在使用 vue create paascloud-uac-web的时候报错npm ERR! Unexpected end of JSON input while parsing near '...ostcss-modules-values'npm ERR! A complete log of this run ...原创 2018-06-28 20:23:36 · 3838 阅读 · 0 评论 -
mac 环境变量每次都需要 source
现象 环境变量只档次 session 生效原因使用了 zsh, 环境变量应该有.bash_profile 改到.zshrc原创 2018-07-26 11:36:53 · 3273 阅读 · 0 评论 -
nginx 正向代理 502
由于 dns 不同导致 502 这里不多解释, 做一个记录 cat /etc/resolv.conf原创 2018-07-30 20:33:17 · 3067 阅读 · 2 评论