本人愚昧,这个bug问题已经调试了很久咯,一直没解决,请各位高手帮帮忙,急急!!!!!!! 谢谢!
 
严重: Servlet.service() for servlet debugjsp threw exception
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xmgrid.biz.ys.po.Ysbiao#]
at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:65)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at com.xmgrid.biz.ys.po.Ysbiao$$EnhancerByCGLIB$$a69b6c02.toString(<generated>)
at org.apache.struts.taglib.bean.WriteTag.formatValue(WriteTag.java:382)
at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:234)
at org.apache.jsp.ys.ys_005fview_jsp._jspx_meth_bean_005fwrite_005f1(ys_005fview_jsp.java:697)
at org.apache.jsp.ys.ys_005fview_jsp._jspService(ys_005fview_jsp.java:139)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at org.apache.jsp.ys.ys_005findex_jsp._jspx_meth_logic_005fequal_005f4(ys_005findex_jsp.java:481)
at org.apache.jsp.ys.ys_005findex_jsp._jspService(ys_005findex_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:error on commit:servletException

解决方案 »

  1.   

    org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xmgrid.biz.ys.po.Ysbiao#]
    数据关联出了问题,删掉了关联数据却没有把外键置空就有可能出这个错。
    楼主把库里的数据全清了,就不会出这个错了。
      

  2.   

    北京游戏公司急聘java游戏开发师职位描述
    1、拥有扎实的JAVA基础,算法基础。
    2、熟悉JAVA多线程编程,JAVA网络编程,并有一年以上的全职编程经验。
    3、很好的逻辑思维能力与想像力。
    4、熟悉MYSQL数据库,熟练使用SQL语句。
    5、勤奋好学,对新知识掌握速度快。
    6、踏实肯干,能够很好的进行团队合作,和任务多时的加班。
    7、热爱游戏,并希望把游戏编程当成自己的事业。
    有意者可投简历至:Email: [email protected]