1、java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut
2016.5.18
环境:
jdk:1.7.0_79
aspectjweaver:1.6.0
原因:
aspectjweaver版本问题
解决方法:
升级aspectjweaver版本。亲测1.7.0和1.7.3有效
2、error the @annotationpointcutexpression is only supported at Java 5 compliance level or above
2016.5.31
环境:
jdk:1.7.0_79
aspectjweaver:1.6.0
原因:
aspectjweaver版本问题
解决方法:
升级aspectjweaver版本。亲测1.7.0和1.7.3有效(在不同的项目中遇到报错,解决方法确实一样的)
3、Check the result mapping forthe'prepaymentStatus' property.
--- Cause: java.sql.SQLException: Column 'PREPAYMENT_STATUS' not found.
2016.8.4
环境:
ibatis
resultMap 【taProductResult 】中已经定义了prepaymentStatus属性和字段的映射关系。
原因:
查询数据与resultMap数据对应关系有问题:查询字段个数小于resultMap定义字段
解决方法:
根据需要,删除resultMap多余字段或者添加查询字段。
备注:当查询字段个数大于resultMap定义字段时,不会报错,只是值为null。
4、Mapped Statementscollectionalready contains value for
2016.9.2
环境:
mybatis
原因:
sqlmap存在相同的id 。
解决方法:
id不相同即可
5、530 Error: A secure connectionis requiered(such as ssl). More information athttp://service.mail.qq.com/cgi-bin/help?id=28
2016.9.5
环境:
Java Mail 1.5.6
原因:
A secureconnection is requiered(such as ssl) 意思是说需要一个安全的连接,比如ssl
解决方法:
props.put("mail.smtp.ssl.enable","true");
待续......