这个异常怎么解决 [问题点数:40分,结帖人whos2002110]

Bbs1
本版专家分:20
结帖率 97.06%
Bbs1
本版专家分:20
Bbs5
本版专家分:3935
Blank
黄花 2012年11月 移动平台大版内专家分月排行榜第二
Bbs1
本版专家分:20
Bbs5
本版专家分:3935
Blank
黄花 2012年11月 移动平台大版内专家分月排行榜第二
Bbs1
本版专家分:20
Bbs3
本版专家分:559
Bbs5
本版专家分:3935
Blank
黄花 2012年11月 移动平台大版内专家分月排行榜第二
Bbs1
本版专家分:20
Bbs1
本版专家分:20
Bbs5
本版专家分:3935
Blank
黄花 2012年11月 移动平台大版内专家分月排行榜第二
Bbs1
本版专家分:20
Bbs5
本版专家分:3935
Blank
黄花 2012年11月 移动平台大版内专家分月排行榜第二
Bbs1
本版专家分:20
Bbs5
本版专家分:3935
Blank
黄花 2012年11月 移动平台大版内专家分月排行榜第二
Bbs1
本版专家分:20
Bbs1
本版专家分:0
请帮我看看这个异常怎么解决?
<em>异常</em>详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rn源错误: rn行 66: ShoppingCart cart = (ShoppingCart)Session["ShoppingCartSession"];rn行 67: dataGrid.Columns[7].FooterText =cart.Total.ToString("c") ;rn行 68: // Bind cart to gridrn行 69: dataGrid.DataSource = cart.GetItems();rn行 70: dataGrid.DataBind();rn行 71: rn==============================rn 其中ShoppingCart为业务组件rn
请问出现这个异常怎么解决
ClassNotFoundException.
请问这个异常怎么解决啊。
tryrn rn if (ds.Tables["User_Info"].Rows.Count != 0)rn rn Session.Add("unum", ds.Tables["User_Info"].Rows[0]["UNum"].ToString());rn Response.Redirect("searchres.aspx");rn rn elsern rn Response.Redirect("errorsearch.aspx");rn rn rn catch (Exception ex)rn rn rn Console.WriteLine(ex.Message);rn rn由于代码已经过优化或者本机框架位于调用堆栈之上,无法计算表达式的值。 System.Exception System.Threading.ThreadAbortException
【求助】ognl.NoSuchPropertyException: 这个异常怎么解决
ognl.NoSuchPropertyException: com.jerehsoft.Entity.User.userIdrn at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:166)rn at com.opensymphony.xwork2.ognl.accessor.ObjectAccessor.setProperty(ObjectAccessor.java:27)rn at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:2318)rn at ognl.ASTProperty.setValueBody(ASTProperty.java:127)rn at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)rn at ognl.SimpleNode.setValue(SimpleNode.java:301)rn at ognl.ASTChain.setValueBody(ASTChain.java:227)rn at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)rn at ognl.SimpleNode.setValue(SimpleNode.java:301)rn at ognl.Ognl.setValue(Ognl.java:737)rn at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:217)rn at com.opensymphony.xwork2.ognl.OgnlValueStack.trySetValue(OgnlValueStack.java:186)rn at com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:173)rn at com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:151)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:292)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:203)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:90)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:192)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:510)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)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:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)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:291)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:619)
这个页面显示异常怎么解决?
![图片说明](https://img-ask.csdn.net/upload/201712/01/1512116329_702300.jpeg)n![图片说明](https://img-ask.csdn.net/upload/201712/01/1512116345_767.jpeg)n![图片说明](https://img-ask.csdn.net/upload/201712/01/1512116355_563352.jpeg)n<em>这个</em>在页面添加数据可以传送到数据库,但是页面不显示<em>怎么</em><em>解决</em>?
C#求问这个异常怎么解决
[img=https://img-bbs.csdn.net/upload/201710/20/1508474687_866042.png][/img]rn串口发送字符串:11,12,13 rn要将三个数相加,我将逗号删除,然后字符串强制转换成int型就出<em>异常</em>,<em>怎么</em><em>解决</em>?
这个异常怎么解决,求大神指点
编了一个java小问题: 找出数组元素的最大值,并放到原数组之后rn运行,抛出错误:Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8rn at maxOfArray.main(maxOfArray.java:14)rn<em>怎么</em><em>解决</em>,求大神指点!rnimport java.util.Arrays;rnpublic class maxOfArray rn /**rn * 找出数组元素的最大值,并放到原数组之后rn */rn public static void main(String[] args) rn //先扩容,后找最大值rn int[] arr=3,5,8,2,10,52,1;rn int[] arr1=new int[8];rn System.arraycopy(arr, 0, arr1, 0, 7);rn arr1[arr1.length]=arr1[0];rn for(int i=1;iarr[arr1.length-1])rn arr1[arr1.length-1]=arr1[i];rn rn rn System.out.println(arr1.toString());rn rnrn
这个spring异常是什么?怎么解决
log4j:WARN No appenders could be found for logger (org.springframework.core.CollectionFactory).rnlog4j:WARN Please initialize the log4j system properly.rnException in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Line 4 in XML document from class path resource [spring-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".rnorg.xml.sax.SAXParseException: Document root element "beans", must match DOCTYPE root "null".rn at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)rn at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)rn at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown Source)rn at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)rn at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)rn at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:222)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:129)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:145)rn at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)rn at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:81)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:262)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:87)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:72)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:63)rn at org.spring.client.Client.main(Client.java:12)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:585)rn at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)rn请尽量说详细一些,谢谢!
Java 中报 ClassNotFoundException 这个异常怎么解决
在 web 项目中报<em>这个</em>错,一般有两种情况: classpath 设置错误。 maven 依赖导入的 jar 发生了冲突,可以利用 IDE 或者插件找出冲突来,从而<em>解决</em>。
怎么处理这个异常???
1、我在用SQL7时,<em>怎么</em>扑捉它的主键重复的错误rnrn2、其它的一些错误又<em>怎么</em>处理,是不是又什么错误代码或者是什么其他的消息??rnrn
这个异常怎么处理
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/applicationContext.xml]rnCaused by: java.io.FileNotFoundException: Could not open ServletContext resource [/applicationContext.xml]rn at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:99)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:351)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)rn at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)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)rn2010-1-14 9:46:03 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2010-1-14 9:46:03 org.apache.catalina.core.StandardContext startrn严重: Context [/product2] startup failed due to previous errorsrn2010-1-14 9:46:03 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2010-1-14 9:46:04 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2010-1-14 9:46:04 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2010-1-14 9:46:04 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/47 config=nullrn2010-1-14 9:46:04 org.apache.catalina.startup.Catalina startrn信息: Server startup in 7367 ms
怎么处理这个异常
在新增数据时发生<em>这个</em>问题,求指导。先谢过了!rnStruts has detected an unhandled exception:rnMessages: rnrn this id generator generates long, integer, shortrn this id generator generates long, integer, short; nested exception is org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, shortrnrnFile: org/hibernate/id/IdentifierGeneratorFactory.javarnLine number: 167
这个异常怎么捕获
请问下面这段代码中的<em>异常</em><em>怎么</em>捕获到?rnrnchar msg[10];rnfor(int i=0;ixxx内存不能被read,write”这种<em>异常</em>rn由该<em>怎么</em>捕获呢?rn好像用rnTYR....CATCH(CException,e)....END_CATCHrntry.....catch(...)rn都不行rnrn最后,请问try....catch...rn和 _try...except....rn以及rnTRY.....CATCH....END_CATCHrn有什么区别吗?rnrn各位大侠救救我<em>这个</em>可怜的人吧!!!rnrnrnrn
这个异常怎么处理?
各位好:rn 今天被一个<em>异常</em>给卡住了,半天想不出来,情况是这样的:rn我用的是VS2003做个C/S系统(C#),有一个窗体是这样的,左边是一个树形菜单,树形菜单有一项是退出系统,<em>这个</em>退出系统的代码(代码就是一句;this.close())是在TreeView1_AfterSelect事件中写的,可是当我点击退出系统时,会跳出这样一个错误:rnrn “未处理的“System.ObjectDisposedException”类型的<em>异常</em>出现在 system.windows.forms.dll 中。其他信息: 无法访问名为“TreeView”的已处置对象。”rnrn大家帮忙看看,应该<em>怎么</em><em>解决</em>?rnrn
怎么处置这个异常
我是用socket传输文件,多个客户端上传到一个服务器。rn我传文件是每次传1024个字节,循环直到传完一个文件,然后再依此类推传第二个。。。rn我在客户端设了一个定时器,如果超过了一定时间,就不传了,把客户端的socket关掉。rn可是只要一超时,把客户端的socket关掉,就会出现n个相同的提示:“无法访问已处置的System.Sockets Socket对象。“rn我怎才处理这种情况呢。rnrnrn声明:我在客户端关闭socket的时候是正常的,如果正在接收就SocketShutdown.Send.如果正在发送就SocketShutdown.Receive。
怎么解决异常提示
我想问高手们一个问题... 我的一个web程序 用的struts1 做的 jdbc连接到数据库.rn 页面上可以添加值 . 我不知道<em>怎么</em>处理<em>异常</em>. 比如用户输入 id为123 数据库里id是主键 惟一的rn 当用户第二次输入id为123 时. 程序会报主键的违反唯一的<em>异常</em>.程序终止运行. 我想要的效果是. 当报唯一<em>异常</em>时rn能有个警告框弹出来告知用户<em>这个</em>id已经有了 重新输入. 我不知道<em>怎么</em>去<em>解决</em>
HibernateQueryException异常怎么解决??
我在DAO中是:rnprivate final static String ORDERBY_LASTTIME = "from BBSCS_article a where a.pic is not null and rownum;rnrnpublic ManagerArticle findManagerArticleByLastTime() rn List l = this.getHibernateTemplate().find(ORDERBY_LASTTIME);rn if(l.size() == 0)rn return null;rn elsern rn return (ManagerArticle)l.get(0);rn rnrnrnpublic List findAll() rn List list = this.getHibernateTemplate().find(FINDALL);rn if(list.size() == 0)rn return null;rn elsern return (List)list;rn rnrnrn错误<em>异常</em>为: Unhandled Exception thrown: class org.springframework.orm.hibernate.HibernateQueryException,<em>怎么</em><em>解决</em>????
stackoverflow异常怎么解决
我用递归方法制造树形,当记录5000条以上时,提示stackoverflow<em>异常</em>,<em>怎么</em><em>解决</em>?
FileUploadException异常怎么解决
[2013-12-04 10:25:55,710]-WARN (CommonsLogger.java:64)|Unable to parse requestrnorg.apache.commons.fileupload.FileUploadException: Stream ended unexpectedlyrn at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:362)rn at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parseRequest(JakartaMultiPartRequest.java:189)rn at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.processUpload(JakartaMultiPartRequest.java:127)rn at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:92)rn at org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.(MultiPartRequestWrapper.java:81)rn at org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:796)rn at org.apache.struts2.dispatcher.ng.PrepareOperations.wrapRequest(PrepareOperations.java:134)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)rnCaused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedlyrn at org.apache.commons.fileupload.MultipartStream.readHeaders(MultipartStream.java:536)rn at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:1033)rn at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.hasNext(FileUploadBase.java:1101)rn at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:339)rn ... 16 morernCaused by:rnorg.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedlyrn at org.apache.commons.fileupload.MultipartStream.readHeaders(MultipartStream.java:536)rn at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.findNextItem(FileUploadBase.java:1033)rn at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.hasNext(FileUploadBase.java:1101)rn at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:339)rn at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parseRequest(JakartaMultiPartRequest.java:189)rn at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.processUpload(JakartaMultiPartRequest.java:127)rn at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:92)rn at org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.(MultiPartRequestWrapper.java:81)rn at org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:796)rn at org.apache.struts2.dispatcher.ng.PrepareOperations.wrapRequest(PrepareOperations.java:134)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
登录异常怎么解决?
我使用的是360安全浏览器 3.12 正式版.家用宽带2Mrn每次点 "发贴" 就直接跳转到发贴成功页面了.需要关闭其它CSDN所有页面后再刷新该页面才可以发贴.rn每次点 "提交回复" 后显示 "3秒后跳转.." 都是在原地无限循环的3秒刷新一下!rn每次点 "加为好友" 都提示我需要登录.实际上我已经登录了.rn不知道我电脑那里设置错了,高手帮忙<em>解决</em>一下啊!
这种异常怎么解决
IO<em>异常</em>:The NetWork Adapter could not extablish the connectionrnrn那位能说详细点吗。我初学
GetResponse()的异常怎么解决??
最近在研究C#写的Spider,发现下面代码经常<em>异常</em>rnrnHttpWebRequest request = (HttpWebRequest)WebRequest.Create(m_uri);rn//m_uri=Uri(URL地址)rnresponse = request.GetResponse();//这句话经常<em>异常</em>,下面是系统提示的<em>异常</em>rn//////////////////////////////////////////////////rn未处理的“System.Net.WebException”类型的<em>异常</em>出现在 system.dll 中。rnrn其他信息: 远程服务器返回错误: (403) 已禁止。rn//////////////////////////////////////////////////rnstream = response.GetResponseStream();rn请问<em>这个</em><em>怎么</em><em>解决</em>???大家帮帮忙
线程局部存储的异常怎么解决
在时钟中断函数里调一个activeX控件方法, 出现<em>异常</em>rnrnMIOGetData() called by thread 4340 but no TLS index allocatedrnrnrnrn下面是调用代码rn[code=c]int CALLBACK Cdemo1Doc::HighTimerCallProc(UINT wTimerID, UINT msg,DWORD dwUser,DWORD dwl,DWORD dw2)rnrn CDemoDlg* Ptr = (CDemoDlg*)dwUser; //控件在CDemoDlg对话框里rn Ptr->GetData();//用指针调取数据函数发生<em>异常</em>,GetData()里用了控件的取数据函数,发生<em>异常</em>rnrn return 0;rn[/code]rnrn<em>怎么</em><em>解决</em>?
java.io.EOFException异常怎么解决
直接上代码:rnFileInputStream sound;rnAudioStream s;rnpublic void playmusic() rn try rn File file=new File("音乐路径");rn sound = new FileInputStream(file);// 音乐路径rn s = new AudioStream(sound);rn AudioPlayer.player.start(s);rn catch (Exception e) rn System.out.println("SB出错啦!!!");rn e.printStackTrace();rn rnrnpublic static void main(String[] args) rn new play2().playmusic();rnrn需求要做个页面点击一个图片就播放一段音频,网上求得上面的代码,人家说他们可以用我这运行就报题目那个错,求大婶们帮帮忙。有更好的<em>解决</em><em>这个</em>需求的办法还请踊跃推介,这里谢谢大家了。(还有我的分不多了别见怪哈)
BeanDefinitionStoreException异常怎么解决
servers启动时报<em>这个</em><em>异常</em> 求各位大大帮看看 <em>怎么</em><em>解决</em>rnorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring/applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring/applicationContext.xml] cannot be opened because it does not exist
System.OutOfMemoryException 异常怎么解决
最近服务器发布的网站老是有System.OutOfMemoryException<em>异常</em>,我每次重启以后又好了但是过段时间又出现[img=https://img-bbs.csdn.net/upload/201503/19/1426732403_948783.jpg][/img]。 各位大神指导一下 。
?SQLException异常怎么解决
//根据userId查询注册用户信息rn @Overridern public ContactInfo findByUserId(String userId) rn ContactInfo contactInfo = null;rn String sql = "select address1,address2,zip,email,homephone" +rn "cellphone,officephone where userid = ?";rn con = JdbcUtil.getConnection();rn try rn ps = con.prepareStatement(sql);rn ps.setString(1, userId);rn rs = ps.executeQuery();rn if(rs.next())rn contactInfo = new ContactInfo();rn contactInfo.setAddress1(rs.getString(1));rn contactInfo.setAddress2(rs.getString(2));rn contactInfo.setZip(rs.getString(3));rn contactInfo.setEmail(rs.getString(4));rn contactInfo.setHomephone(rs.getString(5));rn contactInfo.setCellphone(rs.getString(6));rn contactInfo.setOfficephone(rs.getString(7));rn rn catch (SQLException e) rn e.printStackTrace();rn finallyrn JdbcUtil.release(rs, ps, con);rn rn return contactInfo;rn rnrn运行后报以下<em>异常</em>:rnjava.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where userid = '12'' at line 1rnrn请问:报<em>这个</em><em>异常</em>是什么意思?问什么会报<em>这个</em><em>异常</em>?rn该如何改正?谢谢各位!
BatchUpdateException异常怎么解决
批量录入的时候,抛出BatchUpdateException: 批处理中出现错误: ORA-00917: missing comma问题,怎样能成功地将数据录入数据库呢?
java.long.nullpointerexception异常怎么解决
在写一个测试小程序时,用Junit运行时,报Nullpointerexception<em>异常</em>求大神帮忙。rn下面是测试代码。rnrnimport static org.junit.Assert.*;rnrnimport org.junit.Test;rnrnimport com.bjsxt.model.User;rnrnpublic class UserServiceTest1 rnrn rn @Testrn public void testAdd() rn UserService service=new UserService();rn User user=new User();rn service.add(user);rn rn rnrnrn其中条用的相关类如下:rn(1)rnrnpublic class User rn private String username;rn private String password;rn public String getUsername() rn return username;rn rn public String getPassword() rn return password;rn rn public void setUsername(String username) rn this.username = username;rn rn public void setPassword(String password) rn this.password = password;rn rn rnrn(2)rnpublic class UserService rn private UserDAO userDAO; rn public void add(User user) rn userDAO.save(user);rn rn public UserDAO getUserDAO() rn return userDAO;rn rn public void setUserDAO(UserDAO userDAO) rn this.userDAO = userDAO;rn rnrn(3)rnpublic interface UserDAO rn public void save(User user);rnrnrn(4)rnpublic class UserDAOImpl implements UserDAO rnrn public void save(User user)rn rn System.out.println("a user saved");rn rnrn
SQLException异常怎么解决?
在调用一个方法时抛出SQLException,方法里进行了数据库的一些操作,如何不让他抛出<em>异常</em>?
如何解决这个异常呀!
开发环境:vs2010,在开发sharePoint2010工作流时,使用代码启动功能。rnrnrn 出现问题提示如下:rnrn 在System.IO.FileNotFoundException中第一次偶然出现的“mscorlib.dll”类型的<em>异常</em>rnrn 不知道<em>异常</em>原因是什么,如何<em>解决</em>!
请问这个异常如何解决
org.apache.jasper.JasperExceptionrn at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspSerrnvletWrapper.java:510)
org.dom4j.DocumentException这个异常谁能解决
2009-4-15 11:26:31 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet action threw exceptionrnorg.dom4j.DocumentException: Invalid byte 1 of 1-byte UTF-8 sequence. Nested exception: Invalid byte 1 of 1-byte UTF-8 sequence.rn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.dom4j.io.SAXReader.read(SAXReader.java:291)rn at com.brainpower.struts.action.PlaySelectedMusicAction.execute(PlaySelectedMusicAction.java:69)rn at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)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 controls.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:28)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:228)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:216)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)rn at java.lang.Thread.run(Unknown Source)rnNested exception: rnjava.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.rn at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)rn at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)rn at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)rn at org.apache.xerces.impl.XMLEntityScanner.scanLiteral(Unknown Source)rn at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)rn at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source)rn at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)rn at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)rn at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)rn at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)rn at org.dom4j.io.SAXReader.read(SAXReader.java:465)rn at org.dom4j.io.SAXReader.read(SAXReader.java:291)rn at com.brainpower.struts.action.PlaySelectedMusicAction.execute(PlaySelectedMusicAction.java:69)rn at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)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 controls.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:28)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:228)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:216)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)rn at java.lang.Thread.run(Unknown Source)rn
这个异常如何解决啊!!
type Exception reportrnrnmessagernrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexceptionrnrnorg.apache.jasper.JasperException: Unable to compile class for JSP:rnrn是我JSP有问题吗,我在eclipse上都能正常运行。现在想脱离IDE自己部署就报<em>这个</em>错误。
如何解决这个异常
请问<em>这个</em><em>异常</em>是什么意思啊?rn<em>怎么</em>才能<em>解决</em>?大家帮帮忙,先谢谢了!具体<em>怎么</em>改啊rnrnrnSystem.Data.SqlClient.SqlException:SQL Server 不存在或访问被拒绝rn at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)rn at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options,Boolean& isInTransaction)rn at System.Data.SqlClient.SqlConnection.Open()rn at System.Data.Common.DbDataAdapter.QuietOpen(IDConnection connection,ConnectionsState& originalState)rn at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRectords, String srcTable,rnIDbCommand command, CommandBehavior behavior)rn at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords,String srcTable,IDbCommand rncommand, CommandBehavior behavior)rn at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)rn at 财务系统.frmKeMu.LoadData() in e:\vb.net事例\net事例\chap4\代码\frmKeMu.vb:line 314rn
怎么回产生这个异常的??
public class Findrn public static void main(String args[])rn String s = "dcdabcddese";rn char c[] = new char[s.length() + 1];rn int i = 1, r1;rn rn c = s.toCharArray();rn r1 = s.indexOf("abcd");rn rn if (r1 != -1)rn rn for (; r1
这个异常怎么处理(CMR)
<em>这个</em><em>异常</em><em>怎么</em>处理(CMR):一对一的关系rnjavaw usermanager.TestClient rn-- Initializing bean access.rn-- Succeeded initializing bean access through Home interface.rn-- Execution time: 5599 ms.rn-- Calling create()rn-- Succeeded: create()rn-- Execution time: 240 ms.rn-- Return value from create(): weblogic.rmi.internal.activation.ActivatableRemoteRef@189300a rn- hostID: ...rn-- Calling addUser(cnfree@5ie.net, 12345)rnjava.rmi.RemoteException: EJB Exception: ; nested exception is: rn javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.EJBException: [EJB:010146]The setXXX method for a cmr-field that is mapped to a primary key may not be called. The cmr-field is read-only. rnat weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108) rnat weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:83)rn-- Failed: addUser(cnfree@5ie.net, 12345) rnat usermanager.UserManager_iq4580_EOImpl_811_WLStub.addUser(Unknown Source) rnat usermanager.TestClient.addUser(TestClient.java:124) rnat usermanager.TestClient.main(TestClient.java:226)rnCaused by: javax.ejb.TransactionRolledbackLocalException: EJB Exception: ; nested exception is: javax.ejb.EJBException: [EJB:010146]The setXXX method for a cmr-field that is mapped to a primary key may not be called. The cmr-field is read-only. rnat weblogic.ejb20.internal.EJBRuntimeUtils.throwTransactionRolledbackLocal(EJBRuntimeUtils.java:248) rnat weblogic.ejb20.internal.BaseEJBLocalHome.handleSystemException(BaseEJBLocalHome.java:242) rnat weblogic.ejb20.internal.BaseEJBLocalObject.postInvoke(BaseEJBLocalObject.java:327) rnrnrnThe setXXX method for a cmr-field that is mapped to a primary key may not be called. The cmr-field is read-only. rn这句话是什么意思???rn请高手解答!!!
求助这个异常怎么写?
是这样的 一个字段ADRESS 类型是字符型的 但是里面存储这20010305这样的类型的数据 <em>怎么</em>就取出这样的数据 不要其它类型的rn 我想把它转化成字符型的 如果可以就取出来,不行的就不要了。rn<em>怎么</em>写啊.多谢!
这个异常保护怎么
本人是初学者,用INDY9的FTP控件在DELPHI7里编了段程序,在运行中,时常因为网络连接的原因导致SOCKET ERROR 10060或SOCKET ERROR 10054从而使系统中断,在<em>这个</em>PROJECT中,有一个APLICATION和FORM,请问在何处写<em>异常</em>保护,怎样写?高分拜求
这个异常怎么处理啊
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: group near line 1, column 130 [select count(*) from com.huilan.easysso.model.Group g where g.id in(select group.id from com.huilan.easysso.model.User user join group.groupUsers gu where gu.id=1751)]
org.springframework.beans.factory.BeanCreationException 这个异常怎么处理
2011-07-21 15:23:54,687 ERROR (org.springframework.web.context.ContextLoader:215) - Context initialization failedrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.weaving.AspectJWeavingEnabler#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Initialization of bean failed; nested exception is java.lang.IllegalStateException: ClassLoader [org.apache.catalina.loader.WebappClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:spring-agent.jarrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)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:222)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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)rn at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:533)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)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:3934)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loadTimeWeaver': Initialization of bean failed; nested exception is java.lang.IllegalStateException: ClassLoader [org.apache.catalina.loader.WebappClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:spring-agent.jarrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)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:222)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:168)rn at org.springframework.context.weaving.LoadTimeWeaverAwareProcessor.postProcessBeforeInitialization(LoadTimeWeaverAwareProcessor.java:85)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1331)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn ... 25 morernCaused by: java.lang.IllegalStateException: ClassLoader [org.apache.catalina.loader.WebappClassLoader] does NOT provide an 'addTransformer(ClassFileTransformer)' method. Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring's agent: -javaagent:spring-agent.jarrn at org.springframework.context.weaving.DefaultContextLoadTimeWeaver.setBeanClassLoader(DefaultContextLoadTimeWeaver.java:82)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1322)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn ... 37 morern2011-7-21 15:23:54 org.apache.catalina.core.StandardContext listenerStartrn
这个ssh的异常怎么处理??
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionInterceptor#0': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [F:\ZW_Workspace\elipse_workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\dogManage\WEB-INF\classes\applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateExceptionrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)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:222)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:429)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)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.start(ContainerBase.java:1045)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(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.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [F:\ZW_Workspace\elipse_workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\dogManage\WEB-INF\classes\applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateExceptionrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)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:222)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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)rn ... 33 morernCaused by: java.lang.NoClassDefFoundError: org/hibernate/HibernateExceptionrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)rn at java.lang.Class.getConstructor0(Class.java:2699)rn at java.lang.Class.getDeclaredConstructor(Class.java:1985)rn at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)rn ... 44 morernCaused by: java.lang.ClassNotFoundException: org.hibernate.HibernateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)rn ... 50 morern
这个异常怎么定义呢!!
向数据库中插入一组号码,如果有重复的话,会因为数据库的该字段设置了唯一而引发<em>异常</em>,我想当<em>这个</em><em>异常</em>发生时捕获它通知用户有重复项而撤销插入的操作,请问<em>怎么</em>设置呢!!
FrameworkLoggingExceptionHandler是什么异常怎么解决
“/UniSDP”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn无法处理<em>异常</em>:‘FrameworkLoggingExceptionHandler’。 rn说明: 执行当前 Web 请求期间,出现未处理的<em>异常</em>。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn<em>异常</em>详细信息: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionHandlingException: 无法处理<em>异常</em>:‘FrameworkLoggingExceptionHandler’。rnrn源错误: rnrn执行当前 Web 请求期间生成了未处理的<em>异常</em>。可以使用下面的<em>异常</em>堆栈跟踪信息确定有关<em>异常</em>原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[ExceptionHandlingException: 无法处理<em>异常</em>:‘FrameworkLoggingExceptionHandler’。]rn Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.ExecuteHandlerChain(Exception ex, Guid handlingInstanceID) +711rn Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.Handle(Exception exceptionToHandle) +197rn Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl.HandleException(Exception exceptionToHandle) +185rn Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception exceptionToHandle, String policyName, ExceptionPolicyFactory policyFactory) +76rn Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception exceptionToHandle, String policyName) +196rn ray.ApplicationBlocks.Framework.NullableValidator.Valid(IServiceParameters parameters, String& message) +130rn ray.ApplicationBlocks.Framework.Page.Validator_Click(Object sender, EventArgs e) +866rn System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111rn System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110rn System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10rn System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13rn System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565rnrn rn
ssh的异常怎么解决
struts2+spring问题:Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:org.apache.struts2.spring.StrutsSpringObjectFactory - bean - jar:file:/D:/tomcat-6.0.20/webapps/ss/WEB-INF/lib/struts2-spring-plugin-2.2.1.jar!/struts-plugin.xml:29:132 rnrn
VC6.0 发生异常 怎么解决
使用VC6.0做一个MFC程序,其中用到了线程,WaveOut相关的声音播放函数。rnrn但是在程序中的线程执行结束的时候出现了问题。 请问该<em>怎么</em><em>解决</em>。 谢谢了 !rnrn如下错误提示:rn[img=https://img-bbs.csdn.net/upload/201404/15/1397546933_220165.jpg][/img]rnrn问题签名:rn 问题事件名称: APPCRASHrn 应用程序名: testG711uPlayer.exern 应用程序版本: 1.0.0.1rn 应用程序时间戳: 534cd103rn 故障模块名称: wdmaud.drvrn 故障模块版本: 6.1.7601.17514rn 故障模块时间戳: 4ce7ba26rn <em>异常</em>代码: c0000005rn <em>异常</em>偏移: 00010af2rn OS 版本: 6.1.7601.2.1.0.256.1rn 区域设置 ID: 2052rn 其他信息 1: 0a9ern 其他信息 2: 0a9e372d3b4ad19135b953a78882e789rn 其他信息 3: 0a9ern 其他信息 4: 0a9e372d3b4ad19135b953a78882e789rnrn联机阅读隐私声明:rn http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0804rnrn如果无法获取联机隐私声明,请脱机阅读我们的隐私声明:rn C:\Windows\system32\zh-CN\erofflps.txtrn
linux 下BufferOverflowException 异常怎么解决
linux服务器下发短信功能会报以下<em>异常</em>:rnceshi15:20rn16?ヨ?搴?.绀?rnceshi15:20(瓒.骇绠$.?.rn--?.??..?.け璐?java.nio.BufferOverflowExceptionrnrn其中ceshi15:20是我的短信内容rnrnwindows服务器下正常。rnrnlinux下的<em>异常</em>可能不到具体是哪行代码出错,求大师指点。rnrn问题代码如下,供参考:rn public static boolean send(String tel, String msg, String sender, String sendDept, String taskid) rn if(!inited)init();rn boolean sendFlag = false;rn Socket socket = null;rn try rn socket = new Socket(serverIp, serverPort);rn if (sendBind(socket)) rn try rn if (sendMessage(socket, tel, msg, sender, sendDept)) rn sendFlag = true;rn System.out.println("--短消息发送成功。");rn rn else rn System.out.println("--短消息发送失败。");rn rn rn catch (Exception ex) rn System.out.println("--短消息发送失败:"+ex);rn rnrn rn else rn System.out.println("--短消息发送失败。绑定未成功!");rn rn rn catch (Exception e) rn e.printStackTrace();rn rn finally rn try rn socket.close();rn rn catch (Exception ex) rn rn if(sendFlag)rn dao.updateTask(taskid, 2);rn elsern dao.updateTask(taskid, 1);rn rn return sendFlag;rn
出现NotSerializableException异常怎么解决
我的程序是MVC模式的 用servlet调用bean但编译的时候出rnrn严重: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.zf.bean.NewsFormBeanrnjava.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.zf.bean.NewsFormBeanrnrnrnNotSerializableException这是什么<em>异常</em>啊 这样<em>解决</em>rn在网上查资料说implements Serializable 但我写完还是有<em>这个</em><em>异常</em>啊rn请问大家NotSerializableException<em>怎么</em><em>解决</em>啊 我昨天编译的时候还没有<em>这个</em><em>异常</em>还原了一下系统再编译就出<em>这个</em><em>异常</em>了rnrn
一个异常怎么解决
2012-11-5 21:10:07 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: F:\jdk6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;F:\jdk6.0\jre\bin;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;F:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\MySQL\MySQL Server 5.5\bin;F:\dtools\其他工具\Rational Rose 2003\common;C:\Program Files\TortoiseSVN\bin;F:\apache-maven-2.2.1\bin;F:\JavaEEServer\jboss-4.2.3.GA\bin;C:\Program Files\StormII\Codec;C:\Program Files\StormII;F:\jdk6.0\bin;C:\Program Files\CVSNT\;F:\eclipse;rn2012-11-5 21:10:07 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2012-11-5 21:10:07 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2012-11-5 21:10:07 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 774 msrn2012-11-5 21:10:07 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2012-11-5 21:10:07 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.30rn2012-11-5 21:10:10 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]rn at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)rn at java.util.concurrent.FutureTask.get(FutureTask.java:83)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)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:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn ... 7 morernCaused by: java.lang.NoClassDefFoundError: FilterConfigrn at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)rn at java.lang.Class.getDeclaredMethods(Class.java:1791)rn at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:108)rn at org.apache.catalina.startup.WebAnnotationSet.loadMethodsAnnotation(WebAnnotationSet.java:279)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:111)rn at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:66)rn at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 7 morernCaused by: java.lang.ClassNotFoundException: FilterConfigrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 21 morern2012-11-5 21:10:10 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]rn at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)rn at java.util.concurrent.FutureTask.get(FutureTask.java:83)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:684)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:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)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:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 7 morern2012-11-5 21:10:10 org.apache.catalina.startup.Catalina startrn严重: Catalina.start: rnorg.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:684)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:322)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 7 morernCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 9 morernCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 11 morern2012-11-5 21:10:10 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2535 msrn
请问ClassCastException异常怎么解决
错误页如下:rnrnexception rnrnorg.apache.jasper.JasperException: aaa.BookDetailsrn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnroot cause rnrnjava.lang.ClassCastException: aaa.BookDetailsrn java.util.Collections.sort(Collections.java:121)rn aaa.BookDB.getBooks(BookDB.java:71)rn org.apache.jsp.catelog_jsp._jspService(catelog_jsp.java:82)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrn
遇到这种异常怎么解决
[color=#3366FF][size=18px]org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated wit[b][/b]h the session: [com.ts357.five.entity.SalChance#12] [/size][/color]
WebService异常不知道怎么解决!
"System.Web.Services.Protocols.SoapException: 在运行配置文件中指定的扩展时出现<em>异常</em>。 - System.Web.HttpException: 超过了最大请求长度。\n at System.Web.HttpRequest.GetEntireRawContent()\n at System.Web.HttpRequest.get_InputStream()\n at System.Web.Services.Protocols.SoapServerProtocol.Initialize()\n --- 内部<em>异常</em>堆栈跟踪的结尾 ---\n at System.Web.Services.Protocols.SoapServerProtocol.Initialize()\n at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)" rnrn我做了一个穿字节流的webMethod当<em>这个</em>字节流大于10M的时候就出现上述问题!不知道如何<em>解决</em>?
Java代理,转型异常怎么解决
Java代理,转型<em>异常</em>,<em>怎么</em><em>解决</em> ?rn[code=java]import java.lang.reflect.InvocationHandler;rnimport java.lang.reflect.Method;rnimport java.lang.reflect.Proxy;rnrnpublic class Test implements InvocationHandler rn private A target ;rn public A bind(A target)rn rn this.target = target ;rn return (A)Proxy.newProxyInstance(rn target.getClass().getClassLoader(),rn target.getClass().getInterfaces() , rn this ) ;rn rnrn public Object invoke(Object proxy, Method method, Object[] args)rn throws Throwable rn Object obj = null ;rn System.out.println(method.getName());rn tryrn obj = method.invoke(target , args) ;rn rn catch( NullPointerException nullErr )rn rn System.out.println("ok");rn return null ;rn rn return obj ;rn rn public static void main(String[] args) rn A a = new Test().bind(new A()) ;rn rnrnclass Arnrn int i = 9 ;rn int j = 9 ;rnrn[/code]rnrn问题:Java代理,转型<em>异常</em>,<em>怎么</em><em>解决</em> ?rn求指教 !
如下异常应该怎么解决
javax.servlet.ServletException: javax.servlet.jsp.JspException: No selector attribute (cookie/header/name/parameter) was specifiedn
出现UnAuthorizedAccessException异常怎么解决
我的程序是WinForm程序,在执行File.CreatText(file)的时候出现UnAuthorizedAccessException,<em>怎么</em><em>解决</em>。rn并不是每次都出现,程序是常驻程序,每5分钟执行一次File.CreatText(file),10天内出现3,4次<em>这个</em><em>异常</em>,请问<em>怎么</em><em>解决</em>。谢谢。
socket closed异常 怎么解决
package com.example.client;rnrnimport android.os.Bundle;rnimport android.os.Handler;rnimport android.os.Message;rnimport android.util.Log;rnrnimport java.io.BufferedReader;rnimport java.io.BufferedWriter;rnimport java.io.DataInputStream;rnimport java.io.DataOutputStream;rnimport java.io.IOException;rnimport java.io.InputStream;rnimport java.io.InputStreamReader;rnimport java.io.OutputStream;rnimport java.io.OutputStreamWriter;rnimport java.io.Writer;rnimport java.net.Socket;rnimport java.util.ArrayList;rnimport java.util.List;rnimport java.util.Scanner;rnrnimport android.app.Activity;rnimport android.view.Menu;rnimport android.view.View;rnimport android.widget.ArrayAdapter;rnimport android.widget.Button;rnimport android.widget.EditText;rnimport android.widget.ListView;rnimport android.widget.Toast;rnrnpublic class MainActivity extends Activity rn private Button btnConnect;rn private Button btnSend;rn private EditText etIp;rn private EditText etText;rn private ListView listView;rn private List messages = new ArrayList();rn private ArrayAdapter adapter;rn private Socket socket;rn // private DataInputStream dis;rn // private DataOutputStream dos;rnrn //主线程中创建handler对象rn private Handler handler = new Handler()rn //handler自动调用 当消息队列中有消息对象时rn //将会调用该方法 处理<em>这个</em>消息rn public void handleMessage(android.os.Message msg) rn //处理消息 <em>这个</em>方法在主线程中执行rn switch (msg.what) rn case HANDLER_MESSAGE_RECEIVED: //接收到了消息rn adapter.notifyDataSetChanged();rn //永远看到最后一条rn listView.setSelection(messages.size()-1);rn break;rn case HANDLER_CONNECT_SUCCESS: //接收到了连接成功的消息rn Toast.makeText(MainActivity.this, "恭喜!建立连接成功!", Toast.LENGTH_SHORT).show();rn etIp.setEnabled(false);rn btnConnect.setEnabled(false);rn break;rn case HANDLER_CONNECT_FAIL: //接收到了连接失败的消息rn Toast.makeText(MainActivity.this, "恭喜!建立连接失败!", Toast.LENGTH_SHORT).show();rn break;rn rn rn ;rnrn public static final int HANDLER_CONNECT_SUCCESS=0;rn public static final int HANDLER_CONNECT_FAIL=1;rn public static final int HANDLER_MESSAGE_RECEIVED=2;rnrn @Overridern protected void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.activity_main);rn //控件初始化rn setViews();rn //给listView设置适配器rn adapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1, messages);rn listView.setAdapter(adapter);rn rnrn /** 控件初始化 */rn private void setViews() rn btnConnect = (Button) findViewById(R.id.btnConnect);rn btnSend = (Button) findViewById(R.id.btnSend);rn listView = (ListView) findViewById(R.id.listView);rn etIp = (EditText) findViewById(R.id.etIp);rn etText = (EditText) findViewById(R.id.etText);rn rnrn public void doClick(View view)rn switch (view.getId()) rn case R.id.btnConnect: //建立连接rn connect();rn break;rn case R.id.btnSend: //发送消息rn sendMessage();rn break;rn rn rn private BufferedWriter buffWr = null;rn private BufferedReader buff;rn protected OutputStream ops;rn protected OutputStreamWriter opsw;rn protected BufferedWriter bw;rn /** 发送消息 */rn private void sendMessage() rn new Thread()rn public void run() rn try rn //把文本框中的内容获取到 发消息rn String text = etText.getText().toString();rn bw.write("梦迪:\n"+text);rn bw.flush();rn // bw.close();rn catch (IOException e) rn e.printStackTrace();rn rn rn .start();rn rnrn /** 建立网络连接 */rn private void connect() rn new Thread()rn public void run() rn try rn socket = new Socket("192.168.1.185", 7080); rn InputStream fileInputStream=socket.getInputStream();rn InputStreamReader inputStreamReader=new InputStreamReader(fileInputStream);rn BufferedReader bufferedWriter2=new BufferedReader(inputStreamReader);rn ops = socket.getOutputStream();rn opsw = new OutputStreamWriter(ops,"UTF-8");rn bw = new BufferedWriter(opsw);rn //不出<em>异常</em> 说明连接建立成功rn //给handler发送一个连接成功的消息rn Message msg = new Message();rn msg.what = HANDLER_CONNECT_SUCCESS; rn handler.sendMessage(msg);rn //启动子线程 用于不断读取服务端的消息rn new ReadThread().start();rn catch (IOException e) rn e.printStackTrace();rn //连接创建失败 提示用户rn handler.sendEmptyMessage(HANDLER_CONNECT_FAIL);rn rn rn .start();rn rnrn /** 专门用于读取服务端返回的消息 */rn public class ReadThread extends Threadrn public void run() rn tryrn while(buff.readLine()!=null)rn String message=buff.readLine();rn Log.i("info", "接收到了消息:"+message);rn //把消息添加到消息集合中rn messages.add(message);rn //更新ListView的适配器rn handler.sendEmptyMessage(HANDLER_MESSAGE_RECEIVED);rn rn catch(Exception e)rn e.printStackTrace();rn rn rn rnrnrnrnrn连接成功后,发消息报<em>异常</em>rn服务端启动rnLAPTOP-3L84R6L0:连接成功!rnLAPTOP-3L84R6L0/192.168.1.185:java.io.BufferedReader@4e25154f说rn:姊﹁开锛?rnException in thread "main" java.net.SocketException: socket closedrn at java.net.SocketInputStream.socketRead0(Native Method)rn at java.net.SocketInputStream.socketRead(Unknown Source)rn at java.net.SocketInputStream.read(Unknown Source)rn at java.net.SocketInputStream.read(Unknown Source)rn at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)rn at sun.nio.cs.StreamDecoder.implRead(Unknown Source)rn at sun.nio.cs.StreamDecoder.read(Unknown Source)rn at java.io.InputStreamReader.read(Unknown Source)rn at java.io.BufferedReader.fill(Unknown Source)rn at java.io.BufferedReader.readLine(Unknown Source)rn at java.io.BufferedReader.readLine(Unknown Source)rn at cn.tedu.Server.main(Server.java:27)rn
php异常出错怎么解决
php<em>异常</em>出错<em>怎么</em><em>解决</em>?rnrn大家看我<em>这个</em>栏目列表页面rnrn[url=http://www.wyxuan.com/list.php?id=2][/url]rnrn如果下面有文章一切正常,如果没有文章,则提示出错信息rnrn我现在的提示出错信息也有了,可是有点不满意rnrn那就是最下面的foot.php网页我想显示出来,现在的确效果是页面突然从中间切掉,太突兀了,不爽rnrn上list.php页面全部代码,高手们帮我看看该如何修改,谢谢rnrn[code=PHP]rnrnrnrn ——王以轩文字 http://www.wyxuan.comrn rn rn rn rnrnrn rn rn rn 您现在的位置:首 页 >> >> 查看文章列表rn 〖〗 rn rn rn rn 序号rn rn 标 题rn rn 日 期rn rn 点击率rn rn rnrn rn $total_page)?$total_page:$page;rn//根据真实的页数值,计算偏移量rn$offset = ($page-1)*$each_page;rn//尾页rn$lastpg=ceil($total/$each_page);rn//上一页rn$prestart=$page-1;rn//下一页rn$nextpage=$page+1;rn//显示栏目对应的文章rn$sql="SELECT * FROM wyx_text WHERE wyx_class=$id order by wyx_id desc limit $offset,$each_page";rn$TextCount=mysql_query("SELECT count(*) FROM wyx_text WHERE wyx_class=$id");rn$sum3=mysql_fetch_array($TextCount);rn$i=1;rn$conn1=mysql_query($sql) or die ('抱歉,此栏目暂时没有文章!');rnwhile($rs=mysql_fetch_array($conn1))rn?>rnrnrn rn rn rn rn rn rn rn rnrn rn rn 共有 篇文章,每页显示 20 篇文章 rn首 页rn1)rnecho "上一页";rnecho " ";rnrnif ($page>9) //找到翻页的开始 rn$star = $page-9; rnelse rn$star = 1; rnrnif ($page+9>$total_page) //找到翻页的结束 rn $end = $total_page; rnelse rn$end = $page+9; rnrnfor($t=$star;$t rn 尾 页rn rn rnrnrnrnrnrn[/code]
这是什么异常怎么解决
这是什么<em>异常</em>?<em>怎么</em><em>解决</em>?rnrnjavax.servlet.ServletException: BeanUtils.populatern at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)rn at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:796)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)rn at com.cec.common.servlet.EncodingFilter.doFilter(EncodingFilter.java:44)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:534)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn at org.apache.commons.beanutils.PropertyUtilsBean.setIndexedProperty(PropertyUtilsBean.java:1414)rn at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1016)rn at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)rn at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)rn at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)rn at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:796)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:716)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)rn at com.cec.common.servlet.EncodingFilter.doFilter(EncodingFilter.java:44)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:166)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:534)rnrn
请看看什么异常,怎么解决
java.io.InvalidClassException: javax.swing.JComponent; local class incompatible: stream classdesc serialVersionUID = -7908749299918704233, local class serialVersionUID = 5896976265092562486rnrn at java.io.ObjectStreamClass.initNonProxy(Unknown Source)rnrn at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)rnrn at java.io.ObjectInputStream.readClassDesc(Unknown Source)rnrn at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)rnrn at java.io.ObjectInputStream.readClassDesc(Unknown Source)rnrn at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)rnrn at java.io.ObjectInputStream.readClassDesc(Unknown Source)rnrn at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)rnrn at java.io.ObjectInputStream.readObject0(Unknown Source)rnrn at java.io.ObjectInputStream.readObject(Unknown Source)rnrn at com.sun.eM3000.applet.treeApplet.getht2(treeApplet.java:106)rnrn at com.sun.eM3000.applet.treeApplet.init(treeApplet.java:48)rnrn at sun.applet.AppletPanel.run(Unknown Source)rnrn at java.lang.Thread.run(Unknown Source)rn
这个怎么解决
Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
这个问题怎么解决
rnrnrn rn 百度地图实现rn rn rnrnrn rn rn经度: rn纬度: rn rn 搜索: rn rn rnrnrnrnrnrn[color=#FF0000]问题出现在代码红色部分,程序总报出,对象不支持此对象和方法![/color]
这个错误怎么解决
jsp中:rn String nowPage=request.getParameter("nowPage");rn if(nowPage.compareTo("")==0) nowPage="1";rn int whatPage;rn whatPage=Integer.parseInt(nowPage);rn为什么有错?rn若没有给nowPage赋值,即直接输入***.jsp就报错,<em>怎么</em><em>解决</em>?rn
这个问题怎么解决
这是我在更新的ADT SDK出现的问题...不知道<em>怎么</em>回事就成这样了rnrn[img=http://img.my.csdn.net/uploads/201212/18/1355836417_1067.PNG][/img][img=http://img.my.csdn.net/uploads/201212/18/1355836402_6055.PNG][/img]
怎么解决这个问题
警告 4 更新 JScript IntelliSense 时出错: I:\WebSite23\js\jquery-1.4.2.js: 对象不支持此属性或方法 @ 836:1 I:\WebSite23\liuyan.aspx 1 1 I:\WebSite23\rn
这个怎么解决
2011-10-29 9:45:26 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\Program Files\jdk1_6_0_12\bin;E:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\binrn2011-10-29 9:45:26 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2011-10-29 9:45:26 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 419 msrn2011-10-29 9:45:26 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-10-29 9:45:26 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.18rn2011-10-29 9:45:26 org.apache.catalina.startup.HostConfig deployWARrn信息: Deploying web application archive displaytag.warrn2011-10-29 9:45:28 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2011-10-29 9:45:28 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rnlog4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).rnlog4j:WARN Please initialize the log4j system properly.rn2011-10-29 9:45:30 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnjava.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerImpl$MethodInjectorrnFile: ContainerImpl.javarnMethod: injectrnLine: 295 - com/opensymphony/xwork2/inject/ContainerImpl.java:295:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)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:926)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)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:578)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: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:295)rn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:431)rn at com.opensymphony.xwork2.inject.ContainerBuilder$5.create(ContainerBuilder.java:207)rn at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)rn at com.opensymphony.xwork2.inject.ContainerBuilder$3.create(ContainerBuilder.java:93)rn at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:487)rn at com.opensymphony.xwork2.inject.ContainerBuilder$7.call(ContainerBuilder.java:484)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:574)rn at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:484)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:252)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)rn ... 29 morernCaused by: java.lang.reflect.InvocationTargetExceptionrn 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 com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.inject(ContainerImpl.java:293)rn ... 42 morernCaused by: java.lang.ExceptionInInitializerErrorrn at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.setContainer(OgnlValueStackFactory.java:85)rn ... 47 morernCaused by: java.lang.IllegalArgumentException: Javassist library is missing in classpath! Please add missed dependency!rn at ognl.OgnlRuntime.(OgnlRuntime.java:165)rn ... 48 morernCaused by: java.lang.ClassNotFoundException: javassist.ClassPoolrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)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 ognl.OgnlRuntime.(OgnlRuntime.java:162)rn ... 48 morern2011-10-29 9:45:30 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2011-10-29 9:45:30 org.apache.catalina.core.StandardContext startrn严重: Context [/Struts2_0110] startup failed due to previous errorsrn2011-10-29 9:45:30 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-10-29 9:45:30 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2011-10-29 9:45:30 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/47 config=nullrn2011-10-29 9:45:30 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3910 msrn
这个怎么解决
页面a 在页面a居中有个图片1.gif 页面b嵌套一个大小为180×60 的iframe ,iframe的内容为a页面,<em>怎么</em>控制1.gif图片居中于iframe,可能描述不太清楚。 在线急
这个错误分析怎么解决
源代码如下:rnrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, StdCtrls, DB, ADODB, QRCtrls, QuickRpt, Grids, DBGrids, DBCtrls,rn Mask, Buttons, ExtCtrls;rnprocedure Tqitashouf.aa(Sender: TObject);rnvarrn intLoop:integer;rn thePrintConfig:TStrings;rn theTypeString:string;rn theLeftMargin,theRightMargin,theBottomMargin,theTopMargin,theLength,theWidth:Real;rnbeginrn if Application.MessageBox('确认真的要收费吗?','警告',MB_OKCANCEL+MB_ICONWARNING) <> 1 thenrn Exit;rn if StrToFloat(edtFact.Text)-StrToFloat(edtBehove.Text)rn如何<em>解决</em>??rn
这个怎么解决
Fatal error: Call to undefined function helper() in D:\wwwroot\w1h2n3\wwwroot\include\common.inc.php on line 355rnrn我的网站 80后怀旧网,后台登陆不了,后台登陆地址显示如上,<em>怎么</em><em>解决</em>呀!
这个怎么解决 。。。。。
rn rn rn 序号rn rn rn rnrn 这是代码。。我是想把从数据库中取出来的数据DataTable 中有id,和name。 把name变成列 显示出来。rnDataTable 里面的数据部固定有几行
这个安装问题怎么解决
[img=http://b68.photo.store.qq.com/http_imgload.cgi?/rurl4_b=dab665b55fd336efdf2af759499ddb1bec860e7dc0bd6d05ac786ef8eeba85ee2d092d8a48d5a527d4212e38744fdaf0a4d740b230f034db330eb18ff3861c014af0a3bbee092a63b7760db10a2ddec6c3a5f4de&a=68&b=68][/img]
M-U-R-A-C-H'S OS_390 & Z_OS J-C-L下载
的JCL是一个丑陋的主题。该代码是神秘的,也有可在几十个编码参数的方式打,如果你没有得到的一切权利,你的工作将无法运行。 麻烦的是,它的耗时尝试使用IBM的JCL学习手册(这是专为参考,而不是培训)和混乱尝试使用其他书籍(这是几乎所有设计的)。这就是为什么这么多的大型机程序员只要获得通过,因为他们可以用颤抖的JCL技能。 但是,我们的时间考验,畅销书的JCL使学习和实践一样容易的JCL尽可能为您。所以,你不必将举行由最小的JCL技能带回了。而且因为这本书也是引用的速度比使用手册,你可以节省时间,每当你要刷上JCL编码细节或能力了。 但是,这不只是书的JCL。这是一个完整的指南,以您的IB 相关下载链接:[url=//download.csdn.net/download/chinna/2603910?utm_source=bbsseo]//download.csdn.net/download/chinna/2603910?utm_source=bbsseo[/url]
数学实验试题(电子科大)下载
这个是09年电子科大的一套期末考试题,没有答案的,但可以试一试 相关下载链接:[url=//download.csdn.net/download/xy2902302009/3426029?utm_source=bbsseo]//download.csdn.net/download/xy2902302009/3426029?utm_source=bbsseo[/url]
速达密码查看器下载
进入帐套管理,你会发现可以不用输入密码即可进入,但是此时的帐套管理界面中组织机构中没有记录,是空的,就像第一次打开“帐套管理”一样,所有的注册信息都丢失了。此时你不用担心,也不要退出帐套管理,这点最重要。 相关下载链接:[url=//download.csdn.net/download/qq_26670423/8511745?utm_source=bbsseo]//download.csdn.net/download/qq_26670423/8511745?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的