上一页 1 ··· 29 30 31 32 33

2017年2月22日

Caused by: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'company' in 'class java.lang.String'

摘要: Spring+Mybatis框架 mapper.xml中用到了<where><if>标签判断,出现了上述错误 mapper.java中代码如下 解决方法 在参数前加@Param标签 OK! 阅读全文

posted @ 2017-02-22 09:46 嘣嘣嚓 阅读(9659) 评论(1) 推荐(1) 编辑

2017年2月21日

Caused by: org.apache.ibatis.binding.BindingException: Parameter 'parameter' not found.解决

摘要: 项目框架 Spring+Mybatis dao层原代码,传入两个参数,调用此方法时会报上边的错,提示你传入的参数找不到。 解决方法 在参数前加上@Param注解,如果不使用该注解,那么传入的参数只能有一个(以这种传参方式的话) 再次运行就Ok了。 阅读全文

posted @ 2017-02-21 12:00 嘣嘣嚓 阅读(19567) 评论(0) 推荐(2) 编辑

2017年2月20日

初识Shiro

摘要: 初识shiro Shiro是一个Java安全框架,提供了认证、授权、加密和会话管理功能,可以为任何应用提供安全保障。 使用shiro 1.添加shiro相关jar包(使用maven添加依赖) 2.在项目resources下新建一个shiro.ini文件方便测试 3.新建测试文件 阅读全文

posted @ 2017-02-20 21:46 嘣嘣嚓 阅读(297) 评论(0) 推荐(1) 编辑

上一页 1 ··· 29 30 31 32 33

导航