随笔分类 -  日常碰到的问题

工作中遇见的问题
摘要:场景: 开发环境(windows下)调用第三方接口验签通过,发测试环境(linux下)后死活验签通过不了 原因: md5是一项成熟的加密技术,问题应该在代码里,查了查感觉可能是字符编码的问题,导致加签没通过,这样的话只能是环境导致的字符编码出现问题,就我所知的有getBytes()方法是得到一个操作 阅读全文
posted @ 2018-10-11 11:42 lfalex 阅读(9407) 评论(0) 推荐(0)
摘要:com.jcraft.jsch.JSchException: java.io.FileNotFoundException: file:\D:\development\ideaProjects\salary-card\target\salary-card-0.0.1-SNAPSHOT.jar!\BOO 阅读全文
posted @ 2018-09-13 10:09 lfalex 阅读(4038) 评论(0) 推荐(0)
摘要:Linux(Redhat) make: gcc: error trying to exec 'cc1': execvp: 没有该文件或目录的错误 排查错误: 1、检查gcc、gcc-c++是否安装rpm -qa gcc、rpm -qa gcc-c++(已安装); 2、检查glibc-devel、cp 阅读全文
posted @ 2018-05-10 23:09 lfalex 阅读(4587) 评论(0) 推荐(0)
摘要:外部访问不通: 1、修改redis.conf中的daemonize的值设为no; 2、修改redis.conf中的bind的值127.0.0.1为linux本身的ip地址,如192.168.1.120 阅读全文
posted @ 2018-05-10 15:05 lfalex 阅读(804) 评论(0) 推荐(0)
摘要:checking for c compiler default output file name... configure:error:C compiler cannot create executables See 'config.log' for more details. 打开config.l 阅读全文
posted @ 2018-05-05 12:54 lfalex 阅读(1230) 评论(0) 推荐(0)
摘要:打包成功,但是在执行时报错,没有主清单属性 解决: 增加红框内的依赖: 原因:查看了MANIFEST.MF,发现没有Main-Class属性,我想了一下,就试着去SpringBoot的官方文档上找找,果然有讲这一部分,spring-boot-maven-plugin的打包过程与直接使用maven-j 阅读全文
posted @ 2018-04-28 14:30 lfalex 阅读(1325) 评论(0) 推荐(0)
摘要:windows安装RabbitMQ时在安装完Erlang语言开发包后,再安装RabbitMQ时报错: Your installed version of Erlang (6.2) is too old. Please install a more recent version. 解决: 下载最新的E 阅读全文
posted @ 2018-04-26 11:51 lfalex 阅读(2525) 评论(0) 推荐(0)
摘要:使用SpringBoot写HelloWorld,当配置好启动类后,再创建新的controller或其它类,启动项目后访问对应的映射名,页面显示: Whitelabel Error Page This application has no explicit mapping for /error, so 阅读全文
posted @ 2018-04-23 22:59 lfalex 阅读(30435) 评论(0) 推荐(3)