attemptedtoreturnnullfromamethodwithaprimitivereturntype(double)场景:服务启动正常,接口调用时出现异常。业务描述:通过用户标识获取用户目前为止的所有投资收益。但测试使用的用户是新注册的用户,无投资金额。解决:DEBUG模式跟踪,发现底层mapper.xml中的SQLselectsum..
分类:
其他好文 时间:
2017-06-11 23:34:35
阅读次数:
212
maven报错误,类似于: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.5.0 from https://repo.maven.apache.org/maven2 was cached in the ...
分类:
Web程序 时间:
2017-05-12 23:13:39
阅读次数:
4152
今天在MAC环境下连接mongodb,遇到了一些报错,最终调试全部搞定。在此特做记录! 首先,mongod启动失败 上面有一句话是 exception in initAndListen: 20 Attempted to create a lock file on a read-only direct ...
分类:
数据库 时间:
2017-04-29 18:48:15
阅读次数:
1767
环境:centos7 附上安装脚本 ,附上官网地址 http://www.rabbitmq.com/ ,从这上面可以下载rabbitmq-server-3.6.6-1.el7.noarch.rpm包 #/bin/bash SRC_URI="https://github.com/rabbitmq/ra ...
分类:
其他好文 时间:
2017-02-27 17:31:54
阅读次数:
1333
maven插件报错之解决 用m2eclipse创建Maven项目时报错?? maveneclipsebuilddependenciesauthorizationplugins 用m2eclipse创建Maven项目时报错?? 问题: Could not calculate build plan: F... ...
分类:
其他好文 时间:
2017-01-10 21:17:12
阅读次数:
293
环境说明:Apache2.4.10,Windows Server 2008 R2 问题说明: apache服务用于下载文件,但是在运行一段时间后,突然挂了。 其错误提示如下所示: [error] (730038)An operation was attempted on something that... ...
分类:
Web程序 时间:
2016-12-23 22:29:10
阅读次数:
599
c# 调用C++的dll报错 Attempted to read or write protected memory: 原因是:c# 传递Null的string值导致的,将Null改为string.empty即可 ...
分类:
编程语言 时间:
2016-12-06 09:38:54
阅读次数:
178
使用Maven编译淘宝的TimeTunnel项目时遇到如下错误: [INFO] Scanning for projects...[ERROR] The build could not read 1 project -> [Help 1][ERROR][ERROR] The project com.t ...
分类:
其他好文 时间:
2016-12-02 22:01:54
阅读次数:
660
iOS10 权限崩溃问题 今天 手机升级了 iOS10然后用正在开发的项目 装了个ipa包,发现点击有关 权限访问 直接Crash了,并在控制台输出了一些信息: This app has crashed because it attempted to access privacy-sensitive ...
分类:
移动开发 时间:
2016-11-25 17:46:20
阅读次数:
322
查看日志发现如下错误消息:%t LOG: could not receive data from client: An operation was attempted on something that is not a socket. 根据错误提示,在HP的官网找到了答案(应该是win的问题,却在 ...
分类:
数据库 时间:
2016-11-23 12:22:13
阅读次数:
1223