WEB开发报错集合

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.01.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.01.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");

 

 

待续......

 

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值