Delphi 打开某个窗体提示 Error creating form: Ancestor for ' coolbar1' not found [问题点数:100分,结帖人78hgdong]

Bbs6
本版专家分:7665
结帖率 100%
Bbs6
本版专家分:7665
Bbs5
本版专家分:3772
Bbs4
本版专家分:1491
Bbs6
本版专家分:7665
Bbs6
本版专家分:7665
Bbs6
本版专家分:5310
Error creating form: Ancestor for 'XXX' not found 问题
我选择菜单new,建了一个Frame代码如下, rnunit WarrantLabelBase;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, rn Dialogs,ControlInterfaces,CommenType,Model,BLL,EventsHandle;rnrntypern TCWarrantLabelBase = class(TFrame)rn privatern _SubjectID:integer;rn _CurrentOperator:AccountType;rn _AccountList:TList;rn _fOnAccountClicked:AccountClicked;rn publicrn //当前科目的附助结算队列rn property AccountList:TList read _AccountList write _AccountList;rnrn //获取当前选择的Modelrn function GetDetailAccount():TWarrantDetailAccountBase;rn procedure DblClick;override;rn publishedrn //当前科目的附助结算rn property SubjectID:integer read _SubjectID write _SubjectID;rn rn //当前控件实例的附助结算模式rn property CurrentOperator:AccountType read _CurrentOperator writern _CurrentOperator;rn property OnAccountClicket:AccountClicked read _fOnAccountClicked write rn _fOnAccountClicked;rn //获取当前的AccountList调用各子类的BindSelfrn procedure Bind;rn //子类根据各自的特点刷新显示rn procedure BindSelf(accountBase:TWarrantDetailAccountBase);virtual;rn end;rnrnimplementationrnprocedure TCWarrantLabelBase.BindSelf(accountBase:TWarrantDetailAccountBase);rnbeginrnrnend;rnprocedure TCWarrantLabelBase.Bind;rnvarrnaccountBase:TWarrantDetailAccountBase;rni:integer;rnbeginrn for I := 0 to AccountList.Count - 1 dorn beginrn accountBase:=TWarrantDetailAccountBase(AccountList[i]);rn if (accountBase.SubjectID=self.SubjectID) and (accountBase.GetType() = rn self.CurrentOperator) thenrn beginrn self.BindSelf(accountBase);rn exit;rn end;rn end;rnend;rnfunction TCWarrantLabelBase.GetDetailAccount():TWarrantDetailAccountBase;rnvarrnaccount:TWarrantDetailAccountBase;rnbeginrn account:=TWarrantDetailAccountBase.Create;rnend;rnrn如果当前科目包含rnprocedure TCWarrantLabelBase.DblClick;rnvarrnsubject:TSubject;rnsubjectAccountOperators:Integer;rnreturns:TList;rnwarrantDetailAccount:TWarrantDetailAccountBase;rnbeginrn inherited DblClick;rn subject:=(TBLLFactory.GetBLLSubjectClass).GetSubject(self._SubjectID);rn if(subject<>nil) thenrn beginrn if subject.HasOperator(self._CurrentOperator)rn thenrn beginrn if Assigned(OnAccountClicket) thenrn beginrn if returns.Count>0 thenrn beginrn warrantDetailAccount:= TWarrantDetailAccountBase(returns[0]);rn OnAccountClicket(self,warrantDetailAccount);rn end;rn end;rn end;rnrn end;rnrnrnrnend;rnrnrnend.rn点击save正常保存,rn但我另建一个Frame, add new->other->inheritable Items , 在对话框里选了刚刚新建的框架CWarrantLabelBase作业父类,却跳出错误<em>提示</em>"Error <em>creating</em> <em>form</em>: Ancestor for 'TCWarrantLabelBase'" not <em>found</em>.rn我的搜索路径时是包括这个控件的. 如果找不到TCWarrantLabelBase,这个控件怎么会出现在inheritable Items列表里.rn这个问题很奇怪, 有时正常, 但原封不动过段时间<em>打开</em>又会出错. 大牛门帮帮忙吧.rn
creation form: Ancestor for 'TBaseForm' not found
rn我在看 Bpl框架2.0(For Delphi7)的时候,尝试着去点击IDE 的普通<em>窗体</em>,出现creation <em>form</em>: Ancestor for 'TBaseForm' not <em>found</em>的错误。rnrn“本框架自带IDE向导包,安装后通过向导可以很方便的创建业务包和接口实现单元等.rn”rn具体路径:[url=http://hi.baidu.com/0xcea4/blog/item/4305b9cdad5fa61d00e92809.html][/url]rnrn请高人指点
delphi 打开工程提示XXXX class not found
但是工程中是引用了那个类的定义单元的。并且能够ctrl+点击查看那个类的定义。编译也没有问题。请教为什么?很烦人每次都出来,是一个类似表格显示的类。
Error creating form bean of class com.goldenberg.erp.buseiness.actionform.FunddparForm
FunddparForm的代码如下:rnrnpublic class FunddparForm extends ValidatorFormrnrn rn private String ordernumber;rn rn private String goods;rn rn public String getOrdernumber() rn return ordernumber;rn rnrn public void setOrdernumber(String ordernumber) rn this.ordernumber = ordernumber;rn rnrnrn public String getGoods() rn return goods;rn rnrn public void setGoods(String goods) rn this.goods = goods;rn rn rnrn页面只有ordernumber,goods.二个提交内容.rnrnFunddparaddAction 代码:rnrnpublic class FunddparaddAction extends BaseAction rnrn public ActionForward doexecute(ActionMapping arg0, ActionForm arg1,rn HttpServletRequest arg2, HttpServletResponse arg3) throws Exception rn // 判断是否是第1次提交rn if (isTokenValid(arg2)) rn // 从<em>form</em>中取值rn Connection con = DataSourceFactory.getDataSourceFactory()rn .getConnection();rn BusinessDAO dao = DAOFactory.getBusinessDAO(con);rn FunddparDTO dto = new FunddparDTO();rn FunddparForm <em>form</em> = (FunddparForm) arg1;rn BeanUtils.copyProperties(dto, <em>form</em>);rn // 判断定单编号是否重复(未判断)rn // 订单上传rn int id = Integer.parseInt(arg2.getParameter("id"));rn System.out.println(id);rn dto.setBid(id);rn rn rn dao.funddparadd(dto);rn rn rn con.close();rn // 清除保存的值(刷新提交时就找不到值比对)rn resetToken(arg2);rn rn return null;rn //return arg0.findForward("success");rn rn rnrn配置文件代码:rnrnrnrnrnrnrn报错如下:rnrn严重: Error <em>creating</em> <em>form</em> bean of class com.goldenberg.erp.buseiness.action<em>form</em>.FunddparFormrnjava.lang.NullPointerExceptionrn at org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:212)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)rn at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:331)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:202)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.goldenberg.erp.public_obj.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:99)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)rn at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)rn at java.lang.Thread.run(Unknown Source)
诡异的异常SEVERE: Error creating form bean of class
近来习惯用Eclipse手工创建Struts工程,以加深对Struts框架的认识。没想到上来就给我来个诡异的异常: SEVERE: Error <em>creating</em> <em>form</em> bean of class test0001.struts1.<em>form</em>.InputForm java.lang.NullPointerException  at org.apache.struts.config.FormB
求助:Error creating form问题
装过spcomm控件后,<em>打开</em>主Form时,出现错误:Error <em>creating</em> <em>form</em>:Invalid property value on line 10413.并且按F12也不出现主Form!请
高手帮忙看下error creating form
在新建或者<em>打开</em>一个Quickreport的时候都会出现如下错误: <em>error</em> <em>creating</em> <em>form</em>:access violation at adress 007B0907 in module'v
C++ buider error creating form : Invalid stream format
程序不知道怎么的了,并没有去删除或怎么样的,昨天还是可以的,今天早上<em>打开</em>的时候就<em>提示</em>有错误了,一直在报错如下图: 显示的是我的第二个界面的相应的文件有问题,导致我的另一个Form一直无法<em>打开</em>,这么多控件,实在是不想重新画。于是找到这个文件,用记事本<em>打开</em>,一看就惊呆了,竟然全是汉字 是这样的:这个写博文的编辑器我也不会用,可能格式会很乱,慢慢来。 这样我就知道,肯定是这样文件有问题,导致我的程序
Error creating form: Invalid variant type
Error <em>creating</em> <em>form</em>: Invalid variant type这个是什么问题??rn<em>窗体</em>打不开,但是可以编译
Error creating form:Invalid stream format.
我在网上下载了一些<em>delphi</em>原程序,<em>打开</em>工程是,总是<em>提示</em>Error <em>creating</em> <em>form</em>:Invalid stream <em>form</em>at.请问为什么?怎么解决?rn
Error creating form bean of class comm.yamma.pojo.DayUser
找了半天还是报错 太郁闷了 自己是整部明白了 来几个明白人吧 rnrnrnError <em>creating</em> <em>form</em> bean of class comm.yamma.pojo.DayUserrnjava.lang.NullPointerExceptionrn at org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:212)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)rn at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:477)rn at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)rn at org.apache.jsp.usercount.userReportDaily_jsp._jspx_meth_html_005f<em>form</em>_005f0(userReportDaily_jsp.java:168)rn at org.apache.jsp.usercount.userReportDaily_jsp._jspService(userReportDaily_jsp.java:80)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.yamma.filter.MyFilter.doFilter(MyFilter.java:38)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.yamma.filter.ControlLogFilter.doFilter(ControlLogFilter.java:148)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.yamma.filter.Filter.doFilter(Filter.java:24)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)rn at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)rn at java.lang.Thread.run(Thread.java:595)rn2008-12-3 18:57:03 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet jsp threw exceptionrnjavax.servlet.jsp.JspException: Exception <em>creating</em> bean of class comm.yamma.pojo.DayUser: 1rn at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:487)rn at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:457)rn at org.apache.jsp.usercount.userReportDaily_jsp._jspx_meth_html_005f<em>form</em>_005f0(userReportDaily_jsp.java:168)rn at org.apache.jsp.usercount.userReportDaily_jsp._jspService(userReportDaily_jsp.java:80)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.yamma.filter.MyFilter.doFilter(MyFilter.java:38)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.yamma.filter.ControlLogFilter.doFilter(ControlLogFilter.java:148)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at com.yamma.filter.Filter.doFilter(Filter.java:24)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)rn at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)rn at java.lang.Thread.run(Thread.java:595)rn
Error creating form: Invalid stream format.问题
我给系统换了添加了个字体(CONSOLAS),然后把我的<em>delphi</em>7的字体也设置为了consolas/14,再<em>打开</em>我的代码,就出现了这个<em>提示</em>,代码在添加字之前都是好的,没有问题,为什么添加了个字体就成了这样?
Error creating form bean of class com.taoxue.school.employee.web.form.SchoolMajo
错误报告:rn- URL : /school/manage/employee/require.dorn- Error <em>creating</em> <em>form</em> bean of class com.taoxue.school.employee.web.<em>form</em>.SchoolMajorParameterFormrnjava.lang.NullPointerExceptionrn at org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:212)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)rn at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:331)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:202)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.taoxue.app.util.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:80)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.taoxue.app.util.filters.AccessControlFilter.doFilter(AccessControlFilter.java:62)rn at com.taoxue.app.util.filters.HttpFilter.doFilter(HttpFilter.java:33)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.taoxue.app.util.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:739)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Unknown Source)rn配置文件配置:rn rnrnrn rn rn rn rn rnrn<em>form</em>源码:rnpublic class SchoolMajorParameterForm extends SchoolEmployeeDispatchFormrn rn /**rn * rn */rn private static final long serialVersionUID = 4969056003902568717L;rn rn private SchoolMajorParameterBizModel model = new SchoolMajorParameterBizModel();rnrn public SchoolMajorParameterForm()rn rn public static long getSerialVersionUID() rn return serialVersionUID;rn rn rn public SchoolMajorParameterBizModel getModel() rn return model;rn rn rn public void setModel(SchoolMajorParameterBizModel model) rn this.model = model;rn rnrnrnrn
Error creating form bean of class y2ssh.sg.ch2.web.form.AddForm
我在使用struts时出现这个异常rn 各位大哥帮下忙rn 初学者rn严重: Error <em>creating</em> <em>form</em> bean of class y2ssh.sg.ch2.web.<em>form</em>.AddForm rnjava.lang.NullPointerExceptionrn at org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:212)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)rn at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)rn at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:319)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:202)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)rn at java.lang.Thread.run(Thread.java:619)rn2009-9-17 10:37:32 org.apache.struts.action.RequestProcessor processActionCreatern严重: No action instance for path /add could be createdrnjava.lang.ClassNotFoundException: y2ssh.sg.ch2.web.<em>form</em>rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)rn at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:117)rn at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)rn at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:280)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:218)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)rn at java.lang.Thread.run(Thread.java:619)rn
Error creating form: Unable to Replace Image
环境:win server 2003 ,<em>delphi</em>7 rn在<em>打开</em>某一个工程下的<em>form</em> 时出现 “Error <em>creating</em> <em>form</em>: Unable to Replace Image” rnrn代码大概这样rn[code=<em>delphi</em>]rnunit CardWizard;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, rn Dialogs, Buttons, ActnList, ExtCtrls, jpeg;rnrntypern TfrmCardWizard = class(TFrame)rn btnActIssueCard: TSpeedButton;rn btnActBatIssueCard: TSpeedButton;rn btnActFullMoney: TSpeedButton;rn btnActReIssueCard: TSpeedButton;rn btnActReturnOldCard: TSpeedButton;rn btnActBrowseCard: TSpeedButton;rn btnActReturnMoney: TSpeedButton;rn btnActLossCard: TSpeedButton;rn btnActChangeRec: TSpeedButton;rn btnOutCardRecord: TSpeedButton;rn imgBack: TImage;rn privatern Private declarations rn publicrn Public declarations rn constructor Create(AOwner: TComponent); override; rn end;rnrnimplementationrnrnuses Functions,VarUnit;rnrn$R *.dfmrn TfrmxxxWizard rnrnconstructor TfrmxxxWizard.Create(AOwner: TComponent);rnbeginrn inherited;rnend;rnrninitializationrn RegisterClass(TfrmxxxWizard);rnfinalizationrn UnRegisterClass(TfrmxxxWizard);rnend.rn[/code]rn看错误是不能替换图片 <em>form</em>中的speedButton 中有用到图片rn图片(大概是)手动在Glyph属性中添加进来的rn但是当程序执行来能正常执行,执行时此<em>form</em>还可以被正常调用,正常显示,只是其他的<em>form</em>没有问题的工程报错为(运行时)"Unable to Replace Image"rn求助。。
使用ado控件,提示"Error Creating object"
使用ado控件时,<em>提示</em>"Error Creating object,please verify that the microsoft data access components 2.1 has been properly installed",请问rn需要安装啥,在哪里找?
ERROR [http-8080-1] Error creating form bean of class com.ibatis.bugcentral.presentation.TeamBean错误
ERROR [http-8080-1] - ERROR [http-8080-1] - Error <em>creating</em> <em>form</em> bean of class com.ibatis.bugcentral.presentation.TeamBeanrnjava.lang.ClassCastException: com.ibatis.bugcentral.presentation.TeamBeanrn初用ibatis,怎么解决这个问题.rnrn2.怎么将把后台数据库中得到的用户名集合,在前台页面显示出来,用类似jpetstore中使用方法.
在Win98下打开窗体时显示:Error creating form:invalid pointer operation???
可是在2000下一切都是正常的,只要在98下<em>打开</em>此<em>窗体</em>就报此错误,2000上一切正常,不知是什么原因,望各位告之一二???????????????
BCB5中,为何打开工程时,会提示“Error creating form:未指定的错误”?
如题。在BCB5下的一个工程,明明上次<em>打开</em>还正常,略做修改(未改动界面)再保存并正常关闭后,下次<em>打开</em>就出现这个“Error <em>creating</em> <em>form</em>:未指定的错误”错误。请问这是怎么回事?界面中除了使用MSComm控件外,也没有用其他什么特殊的东西。rn我知道有一种情况肯定会出现类似的错误:在设计阶段时,试图给一ComboBox添加Big5码繁体或其他呈乱码显示的Item时,一定会出现,可这次我并非这种情况,而且虽然几率小,但我至少已经遇见好几次这样的错误了,之前每次都是从备份的工程中把相关的.dfm文件复制过来覆盖,就可以正常<em>打开</em>了。是不是还要打什么补丁给BCB5??
Delphi编译提示[fatal error]file not found:'ExceptionLog.dcu'
如题
delphi 提示某个dcu未安装(File not found 'xxx.dcu')的解决办法
解决思路: 首先弄懂问题的原因,该问题是因为Delphi安装路径中存放dcu文件夹里面没有相应的dcu文件。 原因包含但不限于以下两种: 1.Delphi版本较老。在Windows比较新的系统上面安装虽然可以装,但是再安装第三方控件的话就有点力不从心了。你可以研究一下,缺少的dcu很有可能是第三方控件的。 2.也是Delphi版本较老在Windows较新的系统上面安装,但是没有安装第三方控...
Error creating bean with
org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.security.filterChainProxy': Cannot resolve reference to bean 'myfilterSecurityInterceptor' while setting bean property 'filterChainMap' with key [Root bean: class [java.lang.String]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with key [10]; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'myfilterSecurityInterceptor' defined in URL [file:/D:/Tomcat/webapps/mobile/WEB-INF/classes/spring/security/applicationContext-security.xml]: Cannot resolve reference to bean 'mySecurityMetadataSource' while setting bean property 'securityMetadataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'mySecurityMetadataSource' defined in URL [file:/D:/Tomcat/webapps/mobile/WEB-INF/classes/spring/security/applicationContext-security.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.java.dev.security.web.support.MyInvocationSecurityMetadataSource]: Constructor threw exception; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connection)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:355)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:383)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'myfilterSecurityInterceptor' defined in URL [file:/D:/Tomcat/webapps/mobile/WEB-INF/classes/spring/security/applicationContext-security.xml]: Cannot resolve reference to bean 'mySecurityMetadataSource' while setting bean property 'securityMetadataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'mySecurityMetadataSource' defined in URL [file:/D:/Tomcat/webapps/mobile/WEB-INF/classes/spring/security/applicationContext-security.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.java.dev.security.web.support.MyInvocationSecurityMetadataSource]: Constructor threw exception; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io 异常: The Network Adapter could not establish the connection)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn ... 43 morern
%%%% Error Creating SessionFactory %%%%
程序运行一段时间后 报%%%% Error Creating SessionFactory %%%%这个错 然后重启一下就好了 ,是什么原因啊?
Error creating cursor hanld
Error <em>creating</em> cursor hanldrn创建cursor hanld 失败 是什么原因rn是不是因为鼠标硬件设备的问题?rn我在编译后 执行操作的时候出现这个问题rn望大虾知道就给予解决办法。
error creating cursor handle?????????????
query2.Close;rnquery2.SQL.Clear ;rns_tmp:='insert into zl (dm,mc) values ("1","1")';rnquery2.SQL.Add(s_tmp);rnquery2.Open;rnrnrn然后出错了rn<em>error</em> <em>creating</em> cursor handlern纪录还添加进去了
Error creating cursor handle
在执行 Query1.SQL.Add(<em>form</em>at('delete from exprecord where 实验名称=''%s''',[edit3.Text])); rn 这条语句时,会跳出 Error <em>creating</em> cursor handle 错误。但刷新一下数据库发现里面的记录却已经删除。请问这个问题怎么解决?谢谢你们。rn
org.springframework.beans.factory.BeanCreationException: Error creating
[code="java"]rn2012-9-13 16:18:03 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal per<em>form</em>ance in production environments was not <em>found</em> on the java.library.path: D:\install\program\board\jdk1.6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\install\program\board\jdk1.6.0\jre\bin;d:\Program Files (x86)\Sybase\PowerDesigner 16;D:/install/program/board/jdk1.6.0//bin/../jre/bin/client;D:/install/program/board/jdk1.6.0//bin/../jre/bin;D:/install/program/board/jdk1.6.0//bin/../jre/lib/i386;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Broadcom\Broadcom 802.11 Network Adapter;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\OpenCL SDK\1.5\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\1.5\bin\x64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;D:\cccc\YHTD\AW812\java\jdk;D:\cccc\YHTD\AW823_KS\java\jdk;D:\cccc\YHTD\TC10\CI\java\jdk;D:\install\program\board\jdk1.6.0\\bin;D:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;D:\install\program\eclipse\android-sdk-windows\tools;D:\install\program\eclipse;rn2012-9-13 16:18:03 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2012-9-13 16:18:03 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2012-9-13 16:18:03 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 408 msrn2012-9-13 16:18:03 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2012-9-13 16:18:03 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.30rn2012-9-13 16:18:03 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor E:\program\java\source\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\conf\Catalina\localhost\exam.xmlrn2012-9-13 16:18:03 org.apache.catalina.startup.SetContextPropertiesRule beginrn警告: [SetContextPropertiesRule]Context Setting property 'source' to 'org.eclipse.jst.jee.server:exam' did not find a matching property.rn2012-9-13 16:18:05 org.apache.catalina.core.ApplicationContext logrn信息: No Spring WebApplicationInitializer types detected on classpathrn2012-9-13 16:18:05 org.apache.catalina.core.ApplicationContext logrn信息: Initializing Spring root WebApplicationContextrn2012-9-13 16:18:05 org.springframework.web.context.ContextLoader initWebApplicationContextrn信息: Root WebApplicationContext: initialization startedrn2012-9-13 16:18:05 org.springframework.context.support.AbstractApplicationContext prepareRefreshrn信息: Refreshing Root WebApplicationContext: startup date [Thu Sep 13 16:18:05 CST 2012]; root of context hierarchyrn2012-9-13 16:18:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsrn信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-dataSource.xml]rn2012-9-13 16:18:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsrn信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-dao.xml]rn2012-9-13 16:18:05 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsrn信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml]rn2012-9-13 16:18:05 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletonsrn信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f6af3b: defining beans [dataSource,dataSource1,sessionFactory,sessionFactory1,txManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,teacherDao,teacherService]; root of factory hierarchyrn2012-9-13 16:18:05 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletonsrn信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f6af3b: defining beans [dataSource,dataSource1,sessionFactory,sessionFactory1,txManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,teacherDao,teacherService]; root of factory hierarchyrn2012-9-13 16:18:05 org.springframework.web.context.ContextLoader initWebApplicationContextrn严重: Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-dataSource.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advicern at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)rn at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advicern at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(AbstractAutoProxyCreator.java:384)rn at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:278)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:880)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:852)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:446)rn ... 24 morern2012-9-13 16:18:05 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-dataSource.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advicern at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:452)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)rn at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advicern at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.isInfrastructureClass(AbstractAutoProxyCreator.java:384)rn at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:278)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:880)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:852)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:446)rn ... 24 morern2012-9-13 16:18:05 org.apache.catalina.core.StandardContext startInternalrn严重: Error listenerStartrn2012-9-13 16:18:05 org.apache.catalina.core.StandardContext startInternalrn严重: Context [/exam] startup failed due to previous <em>error</em>srn2012-9-13 16:18:05 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2012-9-13 16:18:05 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["http-bio-8080"]rn2012-9-13 16:18:05 org.apache.coyote.AbstractProtocol startrn信息: Starting ProtocolHandler ["ajp-bio-8009"]rn2012-9-13 16:18:05 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2111 msrn[/code]rn配置文件中的内容rn[code="java"]rnrn rnrn[/code]rn[code="java"]rnrn rn rn[/code]rn用网上的办法不能解决
org.springframework.beans.factory.BeanCreationException: Error creating bean
[Evil] ERROR [main] org.springframework.web.context.ContextLoader.initWebApplicationContext(319) | Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'sessionFactory' defined in file [C:\Program Files\apache-tomcat-6.0.32\webapps\flow-web\WEB-INF\classes\applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.lang.Class[]' for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.wujun.web.entity.FsFlowOffer]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:610)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.lang.Class[]' for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.wujun.web.entity.FsFlowOffer]rn at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:468)rn at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)rn at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1463)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1422)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1158)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn ... 35 morernCaused by: java.lang.IllegalArgumentException: Cannot find class [com.wujun.web.entity.FsFlowOffer]rn at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:293)rn at org.springframework.beans.propertyeditors.ClassEditor.setAsText(ClassEditor.java:63)rn at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:455)rn at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:427)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:181)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:128)rn at org.springframework.beans.TypeConverterDelegate.convertToTypedArray(TypeConverterDelegate.java:466)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:198)rn at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)rn ... 41 morernCaused by: java.lang.ClassNotFoundException: com.wujun.web.entity.FsFlowOfferrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)rn at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:290)rn ... 49 morern2015-7-16 11:07:09 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'sessionFactory' defined in file [C:\Program Files\apache-tomcat-6.0.32\webapps\flow-web\WEB-INF\classes\applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.lang.Class[]' for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.wujun.web.entity.FsFlowOffer]rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:610)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn rnrn rnrnrnrn
%%%% Error Creating SessionFactory? %%%%
在一个实验中我有一个User表,在MyEclipse中我通过这个表生成了Hibernate的配置文件和类文件以及对应的Dao:UserDao,但我在调用UserDao里的方法时候总是会有这个错误:rn[color=#FF0000]%%%% Error Creating SessionFactory %%%%[/color]rnjava.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer in<em>form</em>ation does not match signer in<em>form</em>ation of other classes in the same packagern 好像是session不能建立,Dao里是调用的HibernateSessionFactory 里的getSession(),这些都是自动生成的,我换过让DAO直接调用内部新建的session 结果还是一样有这个错误,望高手指点!
Error: creating window handle
我在做项目的时候,有一个自定义控件A,鼠标点击另一个控件B时候,在这个自定义控件中会创建10~20个左右的ComboBox或者TextBox,在点击控件C的时候,A会this.Control.Clear() 然后在创建10~20个左右的ComboBox或者TextBox,反复这个过程。rn在此期间还有接收服务器发过来的电文,不停的变化控件的值。rn如果此界面<em>打开</em>很久的话,反复进行这个操作,.NET就会<em>提示</em>Error: <em>creating</em> window handle。rn个人感觉是.NET托管堆释放资源不干净引起的。但是又不知道怎么解决,请高手指点。rnDispose只能释放非托管堆的代码。
?????Error creating window handle ??
我的程序是这样 点击一个Butonn按钮A,会创建10-20个左右的button按钮或label, rn 点击一个Butonn按钮B,也会创建10-20个左右的button按钮或label。rn 我的程序就是不断点击这两个按钮 创建这些按钮再进行其它操作的。rn rn 如果此界面<em>打开</em>很久的话,反复进行这个操作,.NET就会<em>提示</em>Error: <em>creating</em> window handlern rn 个人感觉是.NET托管堆释放资源不干净引起的。但是又不知道怎么解决,请高手指点?rnrn 我用了一些Dispose来释放 ,也还是出现这种情况?rnrn rn
Error creating bean with name''
applicationContext.xmlrnrnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.hql.classic.ClassicQueryTranslatorFactoryrn PROPAGATION_REQUIREDrn PROPAGATION_REQUIREDrn PROPAGATION_REQUIREDrn PROPAGATION_REQUIRED,readOnlyrn rn rn rn rn rnrnrnrnrnrnapplicationContext_cf.xmlrnrnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnrn
error creating cursor handle
以下代码出错:rn AnsiString s="update Accessory set price=(select newprice from tiaojiabiao ";rn s+="where erp_id=Accessory.erp_id) where erp_id='";rn qry->Open();rn s+=qry->FieldByName("erp_id")->AsString+"'";rn qry->Close();rn qry->SQL->Clear();rn qry->SQL->Add(s);rn qry->ExecSQL();rnSQL语句在数据库里面执行运行正确,请问为什么出错?
Error Creating SessionFactory
2010-10-05 13:13:01,890 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - rn2010-10-05 13:13:01,890 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - rn2010-10-05 13:13:01,937 INFO [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] - rn%%%% Error Creating SessionFactory %%%%rnjava.lang.NullPointerExceptionrn at org.hibernate.cfg.Configuration.configure(Configuration.java:1518)rn at com.number.domain.HibernateSessionFactory.(HibernateSessionFactory.java:30)rn at sun.misc.Unsafe.ensureClassInitialized(Native Method)rn at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)rn at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)rn at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918)rn at java.lang.reflect.Field.getFieldAccessor(Field.java:899)rn at java.lang.reflect.Field.set(Field.java:657)rn at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2034)rn at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1894)rn at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1798)rn at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:738)rn at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4812)rn at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)rn at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)rn at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:450)rn at org.apache.catalina.core.StandardService.stop(StandardService.java:587)rn at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)rn at org.apache.catalina.startup.Catalina.stop(Catalina.java:648)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:615)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnrnrnrn谁帮忙看看这是什么问题rn
Error creating bean with name
严重: Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#1': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)rn at javax.servlet.GenericServlet.init(GenericServlet.java:158)rn at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#1': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:247)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1075)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:979)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:438)rn at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1188)rn at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)rn at org.springframework.web.servlet.handler.AbstractHandlerMapping.detectMappedInterceptors(AbstractHandlerMapping.java:221)rn at org.springframework.web.servlet.handler.AbstractHandlerMapping.initApplicationContext(AbstractHandlerMapping.java:196)rn at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)rn at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72)rn at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)rn at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:117)rn at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:92)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1505)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)rn ... 31 morernrn
Error creating bean
org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Could not parse mapping document in input streamrnorg.hibernate.MappingException: Could not parse mapping document in input streamrn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:431)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:679)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:396)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:277)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)rn at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:252)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at cn.com.mstar.web.listener.StartupListener.contextInitialized(StartupListener.java:50)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
Error creating the ORB :
Ready message received from Oc4jNotifier.rnrnEmbedded OC4J startup time: 3125 ms.rnrnAuto-deploying file:/D:/pym/JDeveloper/jdevhome/jdev/myhtml/OA_HTML/ (New server version detected)...rnrnOracle9iAS (9.0.3.1.0) Containers for J2EE initializedrnrnReady message received from Oc4jNotifier.rnrnEmbedded OC4J startup time: 890 ms.rnrnApplicationServer: appName = APPS_OArnrnApplicationServer: appName = bc4jrnrnApplicationServer: appName = current-workspace-apprnrnApplicationServer: appName = soaprnrnError <em>creating</em> the ORB : rnrnAuto-deploying file:/D:/pym/JDeveloper/jdevhome/jdev/myhtml/OA_HTML/ (New server version detected)...rnrn使用JDevelper开发OAF时,总是出现以上的错误,运行后,界面空白
我的ie提示错误 Error 404--Not Found
rn我使用myEclipse+strusc构架开发网站,页面是jsp,网络服务是Weblogic.当我访问jsp页面时出现错误<em>提示</em>.请问能否看出问题可能出现在那里??rnrnWeblogic配置正确没有问题.rnrnError 404--Not Found rnFrom RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:rn10.4.5 404 Not FoundrnThe server has not <em>found</em> anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.rnrnIf the server does not wish to make this in<em>form</em>ation available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.rn rn
delphi窗体提示
本人现在遇到一个问题,请各位大侠帮助解答。rnrn一个<em>窗体</em>的数据处理时间较长,我希望在处理数据时,<em>窗体</em>上出现一个<em>提示</em>。类似“正在处理数据,请稍候....”
提示error C3861: 'mysql_library_end': identifier not found
<em>提示</em><em>error</em> C3861: 'mysql_library_end': identifier not <em>found</em> rnrn是缺少什么吗 我已经把#include "mysql.h"加上了呀 还是编译通不过 rnrnVS2005 vc++
OpenFileMapping提示error C3861: 'OpenFileMapping': identifier not found
使用函数<em>error</em> C3861: OpenFileMapping,编译报错,找不到标识符号rn这怎么回事?rn是否windows mobile c++下无法支持这个函数?我该如何修改达到同样使用效果?多谢!
求助delphi [Error] :')'expected but identifier 'where' found
unit Unit6;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, StdCtrls, Buttons, DBTables, DB;rnrntypern Tfrmpasswd = class(TForm)rn Label1: TLabel;rn Label2: TLabel;rn Label3: TLabel;rn Label4: TLabel;rn Edit1: TEdit;rn Edit2: TEdit;rn Edit3: TEdit;rn Edit4: TEdit;rn BitBtn1: TBitBtn;rn BitBtn2: TBitBtn;rn Table1: TTable;rn Query1: TQuery;rn procedure FormCreate(Sender: TObject);rn procedure BitBtn1Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn frmpasswd: Tfrmpasswd;rnrnimplementationrnrn$R *.dfmrnrnrnrnprocedure Tfrmpasswd.FormCreate(Sender: TObject);rnvar username:string;rnbeginrn edit3.Text :='';rn edit4.Text :='';rn edit1.Text :='admin';rn username :=edit1.Text ;rn query1.Close;rn query1.SQL.Clear;rn query1.SQL.Add('select passwd from admin where userid="'+username+'"');rn query1.open;rn edit2.Text :=trim(query1.FieldValues['passwd']);rnend;rnrnprocedure Tfrmpasswd.BitBtn1Click(Sender: TObject);rnbeginrn if edit3.text<>edit4.Text thenrn beginrn showmessage('你的新密码与确认密码不相符,请重新输入新密码!');rn exit;rn end;rn query1.close;rn query1.SQL.Clear ;rn query1.SQL.Add('update admin set passwd="'+edit3.text+'"+'where userid="'+username+'"');rn query1.execsql;rn showmessage('用户密码更新成功!');rn frmpasswd.close;rnend;rnrnend.rnrnrn这是一个简单的密码修改<em>窗体</em>代码,请高手指点怎么修改能运行啊!!rn错误如标题所示!
打开工程文件时 error :class * not found
可是工程可以运行rn这是为什么rn我已经加了包路径
delphi报[Error] Unit1.pas(37): '.' expected but ';' found
我的源码在这里rnunit Unit1;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, StdCtrls;rnrntypern TForm1 = class(TForm)rn Label1: TLabel;rn Button1: TButton;rn Button2: TButton;rn procedure Button1Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn Form1: TForm1;rnrnimplementationrnrnuses Unit2;rnrnrn$R *.dfmrnvarrn a:Tmember;rn beginrn a:=Tmember.Create;rn a.Name:='zhy';rn a.Age:=20;rn a.Male:=false;rn end; //就是这里报错rn procedure TForm1.Button1Click(Sender: TObject);rn beginrn Label1.Caption:='afsdf';rn end;rnrnend.
如何动态打开Form窗体
要调用一个已经建好的<em>窗体</em>Form2,<em>窗体</em>名称存在数据库中,我在数据库中查询到我将要<em>打开</em>的<em>窗体</em>是Form2.rn如string openForm="Form2";但是如何找开这个<em>窗体</em>呢?
object Form 窗体传参打开
[code=csharp]rnprivate void OpenForm(string <em>form</em>Name)rnrn tryrn rn ObjectHandle handler = Activator.CreateInstance(null, <em>form</em>Name);rn Object obj = handler.Unwrap();rn Form objForm = obj as Form;rn objForm.Show();rn rn catch (Exception ex)rn rn MessageBox.Show(ex.Message);rn rnrn[/code]rnrn想要在 Show() 之前 给Form里在变量复制,怎么实现.
工程能正常编译和运行,但在delphi7中打开某个窗体提示:class TRMReport not found
问题如题,这个<em>提示</em>是不是缺少ReportMachine控件?我环境中已经安装了ReportMachine控件呀?也增加了库路径。谁能告诉我这是什么原因?
delphi 打开form的问题
我在unit1里有一个<em>form</em>1 登录的rn登录成功以后要运行unit2里的<em>form</em>2rnunit Unit1;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn unit2,Dialogs, StdCtrls, DB, ADODB;rnrntypern TForm1 = class(TForm)rnrn Label1: TLabel;rn Label2: TLabel;rn Edit1: TEdit;rn Edit2: TEdit;rn Button1: TButton;rn ADOConnection1: TADOConnection;rn ADOQuery1: TADOQuery;rn DataSource1: TDataSource;rn procedure Button1Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn Form1: TForm1;rn rnrnimplementationrnrn$R *.dfmrnrnprocedure TForm1.Button1Click(Sender: TObject);rnrn varrn LoginCount: Integer;rnbeginrnrn LoginCount := 0;rn with ADOQuery1 dorn beginrn Close;rnrnsql.Add('select * from users where id=:username');rnparameters.ParamByName('username').Value :=trim(Edit1.Text );rnopen;rnend;rnif ADOQuery1.FieldByName('pwd').AsString =trim(Edit2.Text ) thenrnbeginrnForm1.Hide ;rnrn T<em>form</em>2.Show;rnrnapplication.MessageBox('成功!','系统<em>提示</em>',0+64);rnrnendrnelsernbeginrnapplication.MessageBox('密码或者用户名错误,请确认!','系统<em>提示</em>',0+64);rnrnend;rnend;rnrnend.rnrnrnrnrn 但是 T<em>form</em>2.Show; 这句报错 意思是找不到t<em>form</em>2rn哪位指点指点啊
救命!!! Error creating form:Invalid stream format 错误~
我正在编辑器中写代码时,突然停电了。现在来电了,<em>打开</em>刚才的工程就出现了rnrnError <em>creating</em> <em>form</em>:Invalid stream <em>form</em>at 错误。然后代码编辑器中的主<em>窗体</em>的单元文件加载出来了,但<em>窗体</em>却出不来,<em>打开</em>其它的单元文件也是一样的结果。rnrn重新编译,显示:rn[Error] RLINK32: Unsupported 16bit resource in file "E:\MyProject\shd\main.dfm"这个错误!rnrn请大家帮帮我呀,马上就要交活了。。。
出错信息: Error creating form: Line too long on line 2316.
请问以上信息是什么意思呢?rnrn编译时出现<em>提示</em>:rn[Error] RLINK32: Unsupported 16bit resource in file "E:\Delphi\tf_erp\客户端\jxc\JXC_pdsr.DFM"rnrn我在JXC_pdsr.pas改了一些东西之后, 就发现执行不过去..但现在我又忘了改了哪些东西.(我想可能是在我不小心按了键盘上的某些键, 导致改动, 后来我保存了.但Delphi的撤销功能实在是~!$%^&*, 所以只好请教大家, 如何解决这个问题?)rn
error creating form invaild binary value on line 1449”是什么错误。
本来程序是好好的,突然不知道怎么就出现了这个问题。
RC : fatal error RC1109: error creating
跪求帮助!求教育!求救命!这问题已经卡了我一个星期了。网上查也都说是只读性的问题,但是我改了只读性还是一样。大神们帮帮我吧!!!rnrn1>------ 已启动生成: 项目: Catirpc, 配置: x64 x64 ------rn1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(298,5): warning MSB8004: Intermediate 目录未以斜杠结尾。此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Intermediate 目录。rn1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(299,5): warning MSB8004: Output 目录未以斜杠结尾。此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。rn1>RC : fatal <em>error</em> RC1109: <em>error</em> <em>creating</em> .\x86.rel/rn1> rn========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
fatal error RC1109 : error creating Debug/CButtonST_Demo.res????
fatal <em>error</em> RC1109 : <em>error</em> <em>creating</em> Debug/CButtonST_Demo.res???请问什么意思
Creating WAP Applications for Delphi
用DELPHI创建WAP应用。 内有源代码,希望对大家的学习有所帮助。
delphi程序编译的时候提示not found "WinSkinData.dcu"
<em>delphi</em>程序编译的时候<em>提示</em>not <em>found</em> "WinSkinData.dcu" 别人的程序。老是编译通不过。。。郁闷求解rn
delphi提示'END' expected but 'ELSE' found
beginrn tryrn with data dorn beginrn ADOLogin.sql.clear;rn ADOLogin.sql.add('select*from Users where Username="'+edit1.text+'"');rn ADOLogin.open;rn endrn exceptrn beginrn messageDlg('connect ti database <em>error</em>!',mt<em>error</em>,[mbOK],0);rn close;rn endrn end;rn if data.ADOLogin['password']=edit2.text thenrn beginrn flag:=true;rn endrn else beginrn flag:=false;rn messagedlg('password <em>error</em>!',mt<em>error</em>,[mbOK],0);rnrn endrnrn else beginrn flag:=false;rn messafedlg('username <em>error</em>!',mt<em>error</em>,[mbOK],0);rnrn end;rn close;rnend;rn <em>提示</em>'END' expected but 'ELSE' <em>found</em>错误 请路过的高手帮忙看下 该如何修改 感激不尽啊!
Delphi6打开工程提示Class TComm not found
Delphi6<em>打开</em>工程<em>提示</em>Class TComm not <em>found</em>,如图[img=https://img-bbs.csdn.net/upload/201308/28/1377675539_812164.png][/img]rn如果点击忽略,在运行是<em>提示</em>错误如图2,[img=https://img-bbs.csdn.net/upload/201308/28/1377675572_599255.png][/img]rn如果点击cancel会<em>提示</em>新的错误如图3,[img=https://img-bbs.csdn.net/upload/201308/28/1377675698_683654.png][/img]且没有Form窗口了,希望得到帮助
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
myeclipse启动是报错rnrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'entityManagerFactory' defined in class path resource [com/easyjf/core/jpa-generic-dao.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: <em>error</em> trying to scan : file:/D:/Users/cfzss/Tomcat 6.0/webapps/CTS2012/WEB-INF/lib/application-core-2.0.jarrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:407)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)rn at com.easyjf.container.impl.SpringContainer.init(SpringContainer.java:148)rn at com.easyjf.container.impl.DefaultContainer.create(DefaultContainer.java:150)rn at com.easyjf.container.impl.DefaultContainer.refreshContainer(DefaultContainer.java:297)rn at com.easyjf.container.impl.DefaultContainer.refresh(DefaultContainer.java:263)rn at com.easyjf.web.FrameworkLoader.initContainer(FrameworkLoader.java:176)rn at com.easyjf.web.FrameworkLoader.initEasyJWeb(FrameworkLoader.java:115)rn at com.easyjf.web.ActionServlet.initEasyJWeb(ActionServlet.java:127)rn at com.easyjf.web.ActionServlet.init(ActionServlet.java:136)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4044)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:448)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:552)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.RuntimeException: <em>error</em> trying to scan : file:/D:/Users/cfzss/Tomcat 6.0/webapps/CTS2012/WEB-INF/lib/application-core-2.0.jarrn at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:619)rn at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:338)rn at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)rn at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:221)rn at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:251)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)rn ... 45 morernCaused by: java.lang.RuntimeException: Not a valid URL: file:/D:/Users/cfzss/Tomcat 6.0/webapps/CTS2012/WEB-INF/lib/application-core-2.0.jarrn at org.jboss.util.file.ArchiveBrowser.getBrowser(Unknown Source)rn at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:610)rn ... 51 morernCaused by: java.net.URISyntaxException: Illegal character in path at index 27: file:/D:/Users/cfzss/Tomcat 6.0/webapps/CTS2012/WEB-INF/lib/application-core-2.0.jarrn at java.net.URI$Parser.fail(URI.java:2809)rn at java.net.URI$Parser.checkChars(URI.java:2982)rn at java.net.URI$Parser.parseHierarchical(URI.java:3066)rn at java.net.URI$Parser.parse(URI.java:3014)rn at java.net.URI.(URI.java:578)rn ... 53 more
Error creating bean with name 'sqlMapClient'
struts1.2+spring2.0+ibatis2整合时出现的错误:rnrn信息: Initializing Spring root WebApplicationContextrn[framework] 2009-04-28 10:53:54,156 - org.springframework.web.context.ContextLoader -6125 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/spring_datasouce.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/com/inspur/web/spring/ibatis/config/SqlMapConfig.xml]rnCaused by: rnjava.io.FileNotFoundException: Could not open ServletContext resource [/com/inspur/web/spring/ibatis/config/SqlMapConfig.xml]rn at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:99)rn at org.springframework.orm.ibatis.SqlMapClientFactoryBean.buildSqlMapClient(SqlMapClientFactoryBean.java:315)rn at org.springframework.orm.ibatis.SqlMapClientFactoryBean.afterPropertiesSet(SqlMapClientFactoryBean.java:280)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:285)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:188)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2009-4-28 10:53:54 org.apache.catalina.core.StandardContext listenerStart
Error creating bean with name 'sessionFactory
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)rn at org.apache.catalina.core.StandardService.start(StandardService.java:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Vrn at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)rn at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)rn at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)rn at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)rn at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)rn at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)rn at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69)rn at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)rn at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)rn at org.hibernate.tuple.entity.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:135)rn at org.hibernate.tuple.entity.PojoEntityTuplizer.(PojoEntityTuplizer.java:55)rn at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.(EntityEntityModeToTuplizerMapping.java:56)rn at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:295)rn at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:434)rn at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:109)rn at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)rn at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:226)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333)rn ... 39 morernrnrnspring的配置rnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.Oracle9Dialectrn rn rn rn rn rn com/aa/model/Users.hbm.xmlrn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrnJunit测试能连接数据库.rn
Error creating bean with name 'org.springframework.aop.config.internalAutoProxyC
16:01:02,373 [ERROR] [ContextLoader:307] - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.aop.config.internalAutoProxyCreator': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.annotation.InjectionMetadata: method ()V not <em>found</em>rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)rn at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:734)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:457)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.annotation.InjectionMetadata: method ()V not <em>found</em>rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:342)rn at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessAfterInstantiation(PersistenceAnnotationBeanPostProcessor.java:296)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1068)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn ... 25 morernrnrn错误如上,该有的包我都有!启动报这个错误
错误:Error creating cursor handle
在Query的SQL中执行update时出现此错误<em>提示</em>。而刚刚同样的语句还是可以正常执行的,怎么回事?谢谢!
Error creating bean with name 'entityManagerFactoryBean'
使用maven+jetty,jetty启动就报如下异常.奖dataSource注掉则能够启动.rnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'datasourceServiceConfig': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.xzsoft.hfms.persistence.JpaDatasourceDao com.xzsoft.hfms.service.internal.DatasourceServiceConfig.datasourceRep; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'JpaDatasourceDao': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'entityManagerFactoryBean' defined in URL [jar:file:/E:/.m2/repository/com/xzsoft/hfms/hfms-persistence/1.0-SNAPSHOT/hfms-persistence-1.0-SNAPSHOT.jar!/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerExceptionrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rnrnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rnrnrn rn rn rnrn rn rn
Error creating bean with name 'org.springframework.web.servlet.mvc.method.annota
rn2017-07-27 14:42:24,549 WARN [springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Cannot create inner bean '(inner bean)#7275b020' of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name '(inner bean)#7275b020': Cannot resolve reference to bean 'org.springframework.<em>form</em>at.support.FormattingConversionServiceFactoryBean#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.<em>form</em>at.support.FormattingConversionServiceFactoryBean#0': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen spacern2017-07-27 14:42:24,552 ERROR [org.springframework.web.servlet.DispatcherServlet] - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Cannot create inner bean '(inner bean)#7275b020' of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name '(inner bean)#7275b020': Cannot resolve reference to bean 'org.springframework.<em>form</em>at.support.FormattingConversionServiceFactoryBean#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.<em>form</em>at.support.FormattingConversionServiceFactoryBean#0': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen spacern at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:664)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:630)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:678)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:549)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:490)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)rn at javax.servlet.GenericServlet.init(GenericServlet.java:158)rn at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5266)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5554)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardContext.reload(StandardContext.java:4033)rn at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:425)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1345)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1546)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1556)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1556)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1524)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#0': Cannot create inner bean '(inner bean)#7275b020' of type [org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name '(inner bean)#7275b020': Cannot resolve reference to bean 'org.springframework.<em>form</em>at.support.FormattingConversionServiceFactoryBean#0' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.<em>form</em>at.support.FormattingConversionServiceFactoryBean#0': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen spacernrnrnps: 改了service中间的一行代码rn[code=java]if (StringUtils.isBlank(role.getId()))rn role.preInsert();rn roleDao.insert(role);rn //同时将角色的权限添加到finebi数据库rn Curep curep = new Curep(255, 1, 2, 1, 222, 222);rn curepService.save(curep);rn // 同步到Activitirn saveActivitiGroup(role);[/code]rnrn
%%%% Error Creating SessionFactory %%%% Hibernate出错
-
Error creating bean with name 'loadTimeWeaver'
请问这种情况需要怎么解决rnError starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)rnrnrn2016-02-22 11:09:48.686 ERROR 3184 --- [ main] o.s.boot.SpringApplication : Application startup failedrnrnorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'loadTimeWeaver' defined in class path resource [org/springframework/context/annotation/LoadTimeWeavingConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.instrument.classloading.LoadTimeWeaver]: Factory method 'loadTimeWeaver' threw exception; nested exception is java.lang.IllegalStateException: ClassLoader [sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTrans<em>form</em>er(ClassFileTrans<em>form</em>er)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jarrnat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)rn at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)rn at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)rn at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)rn at cn.cloudmirror.plat<em>form</em>.controller.CloudMirrorApplication.main(CloudMirrorApplication.java:22)rnCaused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.instrument.classloading.LoadTimeWeaver]: Factory method 'loadTimeWeaver' threw exception; nested exception is java.lang.IllegalStateException: ClassLoader [sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTrans<em>form</em>er(ClassFileTrans<em>form</em>er)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jarrn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)rn at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)rn ... 15 common frames omittedrnCaused by: java.lang.IllegalStateException: ClassLoader [sun.misc.Launcher$AppClassLoader] does NOT provide an 'addTrans<em>form</em>er(ClassFileTrans<em>form</em>er)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jarrn at org.springframework.context.weaving.DefaultContextLoadTimeWeaver.setBeanClassLoader(DefaultContextLoadTimeWeaver.java:91)rn at org.springframework.context.weaving.DefaultContextLoadTimeWeaver.(DefaultContextLoadTimeWeaver.java:67)rn at org.springframework.context.annotation.LoadTimeWeavingConfiguration.loadTimeWeaver(LoadTimeWeavingConfiguration.java:84)rn at org.springframework.context.annotation.LoadTimeWeavingConfiguration$$EnhancerBySpringCGLIB$$4b99c051.CGLIB$loadTimeWeaver$0()rn at org.springframework.context.annotation.LoadTimeWeavingConfiguration$$EnhancerBySpringCGLIB$$4b99c051$$FastClassBySpringCGLIB$$22af036d.invoke()rn at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)rn at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:355)rn at org.springframework.context.annotation.LoadTimeWeavingConfiguration$$EnhancerBySpringCGLIB$$4b99c051.loadTimeWeaver()rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:497)rn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)rn ... 16 common frames omittedrn
错误:Error Creating cursor handle.
我有一个语句,在SQL Explorer里运行通过在我的程序运行时却产生这样的错误:Error Creating cursor handle.但它也能在表中产生一行正确的记录,是否见过?何故?
Error creating bean with name 'sessionFactory'
下面是详细信息n2015-12-17 9:07:58 org.apache.catalina.core.StandardContext listenerStartn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenernorg.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'sessionFactory' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: entity class not <em>found</em>: Newsn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)n at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)n at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)n at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)n at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)n at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)n at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)n at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)n at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)n at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)n at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)n at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)n at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)n at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)n at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)n at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)n at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)n at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)n at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)n at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)n at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)n at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)n at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)n at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)n at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)n at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)n at org.apache.catalina.core.StandardService.start(StandardService.java:516)n at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)n at org.apache.catalina.startup.Catalina.start(Catalina.java:566)n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)n at java.lang.reflect.Method.invoke(Method.java:597)n at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)n at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)nCaused by: org.hibernate.MappingException: entity class not <em>found</em>: Newsn at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:122)n at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)n at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)n at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:136)n at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:456)n at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)n at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)n at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:267)n at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)n at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:860)n at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:779)n at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)n at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)n ... 36 morenCaused by: java.lang.ClassNotFoundException: Newsn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)n at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)n at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)n at java.lang.Class.forName0(Native Method)n at java.lang.Class.forName(Class.java:169)n at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)n at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:119)n ... 49 moren2015-12-17 9:07:58 org.apache.catalina.core.StandardContext startn严重: Error listenerStartn2015-12-17 9:07:58 org.apache.catalina.core.StandardContext startn严重: Context [/Yes_MakerSpace] startup failed due to previous <em>error</em>sn2015-12-17 9:07:58 org.apache.catalina.core.ApplicationContext logn信息: Closing Spring root WebApplicationContextnlog4j:ERROR LogMananger.repositorySelector was null likely due to <em>error</em> in class reloading, using NOPLoggerRepository.n2015-12-17 9:07:58 org.apache.catalina.loader.WebappClassLoader loadClassn信息: Illegal access: this web application instance has been stopped already. Could not load java.net.BindException. The eventual following stack trace is caused by an <em>error</em> thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.njava.lang.IllegalStateExceptionn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)n at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)n at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)n at com.mysql.jdbc.CommunicationsException.(CommunicationsException.java:161)n at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2759)n at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1410)n at com.mysql.jdbc.Connection.realClose(Connection.java:4947)n at com.mysql.jdbc.Connection.cleanup(Connection.java:2063)n at com.mysql.jdbc.Connection.finalize(Connection.java:3403)n at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)n at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)n at java.lang.ref.Finalizer.access$100(Finalizer.java:14)n at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
Error creating bean with name 'defaultHandlerMapping'
rn---------------------------------rn rn rn rn /ainfo.dorn rn rn rn rn org.springframework.web.servlet.mvc.Controller rn rn asecureAdvisorrn rn rn------------------------------rn rn rn rn rn rn rn rn .*rn rn rn rn rn rnrn报错:org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'defaultHandlerMapping' defined in ServletContext resource [/WEB-INF/action-servlet.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException: nullrnrnrnrnrn
Error creating bean with name 'org.springframework.validation.beanvalidation.Loc
求大神解决rnException in thread "main" org.springframework.beans.factory.BeanCreationException: Error <em>creating</em> bean with name 'org.springframework.validation.beanvalidation.LocalValidatorFactoryBean#0': Invocation of init method failed; nested exception is javax.validation.ValidationException: Unable to instantiate Configuration.rn
当我试图打开某个窗体delphi自动关闭!请问为什么???
up
为什么打开某个窗体时Delphi会立即退出?
我在修改一个已有的Delphi程序,当在项目管理器中<em>打开</em><em>某个</em><em>窗体</em>时Delphi会立即退出,其它<em>窗体</em>没有问题,检查了相关的数据连接都没有什么问题,各个数据连接连接的Active=false,现在找不到其它原因了,只好请教各位!需要说明的是,当不<em>打开</em>整个项目,而只是单独<em>打开</em>该窗口时就什么问题都没有.
求大神:%%%% Error Creating SessionFactory %%%%
rn%%%% Error Creating SessionFactory %%%%rnorg.hibernate.HibernateException: JDBC Driver class not <em>found</em>: com.mysql.jdbc.Driverrn at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:89)rn at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)rn at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:79)rn at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:425)rn at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)rn at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2119)rn at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2115)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1339)rn at unit.HibernateSessionFactory.(HibernateSessionFactory.java:31)rn at daoImpl.StudentDaoImpl.saveStudent(StudentDaoImpl.java:39)rn at com.stu.struts.action.StudentAction.save(StudentAction.java:49)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn at org.apache.struts.action.RequestProcessor.processActionPer<em>form</em>(RequestProcessor.java:431)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driverrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:169)rn at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)rn at org.hibernate.connection.DriverManagerConnectionProvider.configure(DriverManagerConnectionProvider.java:84)rn ... 34 morern%%%% Error Creating SessionFactory %%%%rnorg.hibernate.InvalidMappingException: Could not parse mapping document from resource po/Student.hbm.xmlrn at org.hibernate.cfg.Configuration.addResource(Configuration.java:616)rn at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1635)rn at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1603)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1582)rn at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1556)rn at org.hibernate.cfg.Configuration.configure(Configuration.java:1476)rn at unit.HibernateSessionFactory.rebuildSessionFactory(HibernateSessionFactory.java:69)rn at unit.HibernateSessionFactory.getSession(HibernateSessionFactory.java:53)rn at daoImpl.StudentDaoImpl.saveStudent(StudentDaoImpl.java:39)rn at com.stu.struts.action.StudentAction.save(StudentAction.java:49)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn at org.apache.struts.action.RequestProcessor.processActionPer<em>form</em>(RequestProcessor.java:431)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping po.Studentrn at org.hibernate.cfg.Mappings.addClass(Mappings.java:141)rn at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:167)rn at org.hibernate.cfg.Configuration.add(Configuration.java:716)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:551)rn at org.hibernate.cfg.Configuration.addResource(Configuration.java:613)rn ... 33 morern2013-6-26 16:23:07 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet action threw exceptionrnjava.lang.NullPointerExceptionrn at daoImpl.StudentDaoImpl.saveStudent(StudentDaoImpl.java:40)rn at com.stu.struts.action.StudentAction.save(StudentAction.java:49)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)rn at org.apache.struts.action.RequestProcessor.processActionPer<em>form</em>(RequestProcessor.java:431)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rn
如何更换wince壁纸下载
如何更换wince壁纸,如何更换wince壁纸,如何更换wince壁纸. 相关下载链接:[url=//download.csdn.net/download/zuyuansz/2179555?utm_source=bbsseo]//download.csdn.net/download/zuyuansz/2179555?utm_source=bbsseo[/url]
C P U开发工具链的自动设计下载
C P U开发工具链的自动设计 摘 耍: E D A 技术的成熟和进步,缩短了 徽处理器硬件设计和综合的周期.同时, 开发工具链设计的自 动化,已 成了高效串、高质量嵌入式徽处理器设计的重要内容。该文提出了采用体系结构描述语言( A D L ) 实现徽处理器开发工具链自 动设计的有效方法。介绍了这种方法在C K "C O R E 开发工具链设计中的应用情况,并探讨了体系结构描述语言的一些问题及进一步发展方向。 相关下载链接:[url=//download.csdn.net/download/ppcust/3118321?utm_source=bbsseo]//download.csdn.net/download/ppcust/3118321?utm_source=bbsseo[/url]
基于DSP的电动汽车CAN总线通讯技术设计下载
根据电动汽车( EV) 通讯高实时性、 高可靠性的要求,设计了一种基于 TMS320LF2407 型 DSP 的 CAN 总线通讯技术方案, 利用 DSP内嵌的 CAN 总线模块实现电动汽车内的实时通讯. 文中介绍了 CAN 总线物理层硬件接口和控制器的软件实现. 相关下载链接:[url=//download.csdn.net/download/huanghaijun2010/4358978?utm_source=bbsseo]//download.csdn.net/download/huanghaijun2010/4358978?utm_source=bbsseo[/url]
相关热词 c# 线程顺序 c#昨天当前时间 c# 多进程 锁 c#mysql图片存取 c# ocx 委托事件 c# 读取类的属性和值 c# out 使用限制 c#获取url的id c#怎么进行分页查询 c# update 集合
我们是很有底线的