![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java之我碰到的异常
文章平均质量分 55
Switch_zyp
这个作者很懒,什么都没留下…
展开
-
org.springframework.web.context.ContextLoaderListener
一个web项目,maven的,用tomcat启动的时候报的异常,堆栈信息如下:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframew原创 2016-02-17 13:20:29 · 752 阅读 · 0 评论 -
HttpMessageNotWritableException: Could not write JSON: No serializer found for class ****
今天碰到一个异常,下面是错误信息org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer原创 2016-02-04 09:49:25 · 25959 阅读 · 1 评论 -
Hibernate之使用sql语句查询多个表,返回多种字段,将返回结果映射到自定义的普通pojo类中
addScalar()方法的作用:1、指定查询的结果包含哪些数据列(没有被addScalar选出的列将不会包含在查询结果中,对应字段结果会是null)2、指定查询结果中数据列的数据类型原创 2016-02-26 14:19:15 · 1415 阅读 · 0 评论 -
Hibernate之No row with the given identifier exists
严重: Servlet.service() for servlet [dispatcher] in context with path [/operationcenter] threw exception [Request processing failed; nested exception is org.hibernate.ObjectNotFoundException: No row wit原创 2016-02-29 15:31:26 · 1146 阅读 · 0 评论