永发信息网

帮忙看一个异常.?。。很急啊?.

答案:2  悬赏:0  手机版
解决时间 2021-03-05 01:34
异常信息如下:
我用的是Spring +Hibernate+Struts;
2009-09-13 12:23:00 Initializing a new instance of the dozer bean mapper.
org.springframework.orm.hibernate3.HibernateSystemException: ids for this class must be manually assigned before calling save(): pack.y2ssh.pojos.TStoeeOutput; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): pack.y2ssh.pojos.TStoeeOutput
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:661)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)
at pack.y2ssh.daoimpl.t_store_outputDaoImpl.addt_Goods(t_store_outputDaoImpl.java:25)
at pack.y2ssh.serviceimpl.T_store_output_ServiceImpl.add_T_Store_output(T_store_output_ServiceImpl.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): pack.ssh.pojos.TStoeeOutput
at org.hibernate.id.Assigned.generate(Assigned.java:33)
最佳答案
你吧你异常最前面的那段给我
你这个好像是中间的吧??
ids for this class must be manually assigned before calling save():
这段也许有错
..你好好看看
全部回答
提供的资料太少,单从心电图来看,有心肌缺血的现象,但要进行进一步的检查,必要时行冠状动脉造影明确有无冠心病。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
【乃令张良留谢的谢】乃令张良留谢
北方辽宁今年种植哪种药材好
美加芬地址有知道的么?有点事想过去
组成人体消化系统的是CA. 口腔、食管、胃B.
今年怎么报考重庆市一中,三中,八中的高中
孟加拉国英文名是不是叫mengjialaguo?
谁有TVB《女人最痛》国语中文字幕的打包下载
一个数减去一个负数等于什么,依据什么定理?
天干己官什么意思
长安CS55汽车有什么质量问题
【无聊的一天】英语作文无聊的一天
世纪华联超市白杨店这个地址在什么地方,我要
I can hear a van______ A choop choop B boo
梅州到香港的飞机票多少钱
双城记的开头一段的英文原版是什么?
推荐资讯
罗林山地址有知道的么?有点事想过去
江南足道怎么去啊,有知道地址的么
定积分求面积原理是什么 最好说的通俗一点
清浅无华,半世无梦。这句话是什么意思啊?
网络热词嘿嘿嘿是什么梗什么意思
林少波为您牙科中兴店地址在哪,我要去那里办
蜂窝怎么烧成灰?
国服第一婕拉是谁
膳德坊我想知道这个在什么地方
渠县到流溪的快客停哪里的
100十99一98一97十96十95十```十4+3一2一1
西南交通大学轨道交通电气化与信息技术好考吗
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?