- 博客(4)
- 收藏
- 关注
原创 报错 “Forbidden.RAM-You are not authorized to operate this resource, or this API does not support RAM“
阿里云报错 Forbidden.RAM-You are not authorized to operate this resource, or this API does not support RAM
2022-02-17 22:47:05
3590
原创 解决Class “xxx“ can not access a member of class “xxx“ with modifiers “private“
原因可能为: - 通过反射获取到的类的属性值(field.get(className))之前没有将属性设置为setAccessible(true); - 通过反射会调用类的构造器,检查类的对应构造器是否被private私有化了;
2021-10-13 19:29:43
3573
原创 Spring中注解@Resource、@Autowired、@Inject三种依赖注入的区别
@Resource此注解是JSR250中的注解,java规范里的,即使脱离了Spring在其他实现了这个规范的框架中也可以使用;@Resource和@Autowired注解都是用来实现依赖注入的。只是@AutoWried按by type自动注入,而@Resource默认按byName自动注入。@Resource有两个重要属性,分别是name和typename:可以指定要装配的组件id type: 可以指定要装配的组件类型@Resource注解并不支持与@Qualifier,@.
2021-10-13 19:01:19
449
原创 房屋租赁系统
所使用的技术前端框架:Bootstrap3AJAX(JQuery)页面渲染: JSP后端框架: Spring SpringMVC Mybatis Plus功能实现
2021-10-08 00:59:23
975
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人