![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 58
霜见贰叁
这个作者很懒,什么都没留下…
展开
-
org.springframework.beans.factory.UnsatisfiedDependencyException
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘com.ooyhao.springboot.SpringBootDataJpaApplicationTests’: Unsatisfied dependency expressed through field ‘userRepository’; nested exception is org.springframew原创 2022-03-24 13:12:33 · 2382 阅读 · 0 评论 -
实体类序列化问题
实体类序列化文章借鉴他人加上自己的部分理解一、java实体类为什么要序列化?客户端访问了某个能开启会话功能的资源, web服务器就会创建一个与该客户端对应的HttpSession对象,每个HttpSession对象都要站用一定的内存空间。如果在某一时间段内访问站点的用户很多,web服务器内存中就会积累大量的HttpSession对象,消耗大量的服务器内存,即使用户已经离开或者关闭了浏览器,web服务器仍要保留与之对应的HttpSession对象,在他们超时之前,一直占用web服务器内存资源。原创 2020-11-12 17:49:37 · 1551 阅读 · 0 评论