-
java.lang.RuntimeException: Unable to start activity解决思路
java.lang.RuntimeException:Unabletostartactivitypackagecom.example.testadapter;importandroid.os.Bundle;importandroid.app.Activity;importandroid.app.ListActivity;importandroid.view.Menu;importandroid.w...
90
热度 -
对于jfinal中java.lang.Long cannot be cast to java.lang.Integer的解决办法
对于jfinal中java.lang.Longcannotbecasttojava.lang.Integer的解决方法@Jfinal老大提供的解决方法当数据库字段为int型(有符号int型),但是如果在sql中使用了某些函数,jdbc会自动转型为long,例如:selectsum(money)fromaccountwhereaccountId=123。这个行为是jdbc自动做的,目的是为了防止数据...
63
热度 -
10、java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to xxx.action.entity.Category
十、java.lang.ClassCastException:[Ljava.lang.Object;cannotbecasttoxxx.action.entity.Categoryjava.lang.ClassCastException:[Ljava.lang.Object;cannotbecasttoxxx.action.entity.Category atchentailei.action....
973
热度 -
java.lang.RuntimeException: No application
Myeclipse运行不起来是怎么回事报的错误是java.lang.RuntimeException:Noapplicationidhasbeenfound高手指点下我的eclipse是3.2。1的myeclipse是5.1的错误在那里啊我的环境变量都配置好了也测试过了myeclipse就是无法启动是怎么回事啊!!!!!!!!!!!!!!!!!!11color='#e78608'>------解决...
34
热度 -
java.lang.IllegalArgumentException: argument type mismatch解决办法
java.lang.IllegalArgumentException:argumenttypemismatch两个类:user{Datebirthday;}FormBean{Stringbirthday;}方法中:FormBeanfb=newFormBean();fb.setBirthday("2012-11-12");Useruser=newUser();ConvertUtils.registe...
84
热度 -
java.lang.OutOfMemoryError:unable to create new native thread
lang.OutOfMemoryError'>java.lang.OutOfMemoryError由于并发用户较多,且程序比较复杂,在服务器运行一段时间之后就会出现java.lang.OutOfMemoryError:unabletocreatenewnativethread的提示。服务器是2G内存,我看了一下服务器内存的使用情况很好啊,只有几百M使用了,高手帮忙解决下啊color='#e7860...
580
热度 -
java.lang.ClassNotFoundException: com.jspdev.ch7.HelloWorldServlet
写servlet的时候抛出下面的异常。大家看看org.apache.catalina.loader.StandardClassLoader@87e704com.jspdev.ch7.HelloWorldServletlang.ClassNotFoundException'>java.lang.ClassNotFoundException:com.jspdev.ch7.HelloWorldServl...
65
热度 -
is java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration
SSH发布出现错误Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException:Errorcreatingbeanw...
609
热度 -
lang.ClassNotFoundException: org.apache.commons.beanutils.NestedNullException
关于struts2中request.setAttribute()的问题情景如下:在action中想把一个List对象(里面封装的是若干个bean)传到jsp,以遍历输出bean中的各属性值,现在的问题:我在Action中使用request.setAttribute("userList",list)时,会报错,异常信息如下,有没有哪位朋友知道怎么解决,万分感谢严重:Servlet...
600
热度 -
java.lang.IllegalArgumentException: timeout arguments out of range错误
java.lang.IllegalArgumentException:timeoutargumentsoutofrange异常代码如下 longt=list.get(0).getFromTime()-0; for(inti=0;i<list.size();i++) { try { Thread.sleep(t); }catch(Inte...
7198
热度 -
javax.faces.el.EvaluationException: java.lang.ClassCastException:
JSFDatatable显示ResultSetDataModel对象,如何点选单条记录显示详情初学jsf,现在有个问题,我用ResultSetDataModel封装了rs对象,在jsf页面上显示Dataltable没有问题,可是我要点击其中一个记录,然后显示详情。点击动作绑定到一个select方法,来确定被选哪条记录,我只会使用model.getRowIndex()得到被点击这个行的序号,怎么用m...
680
热度 -
java.lang.OutOfMemoryError,帮帮小弟我,多谢
lang.OutOfMemoryError'>java.lang.OutOfMemoryError,帮帮我,谢谢我写的这段代码为什么会报这样的错,是哪里错了呀publicStringcustomerSPValue(String[]temp){ StringBufferstr_temp=newStringBuffer();for(inti=1;i<temp.length;i++){if(i&...
164
热度 -
“java.lang.NoClassDefFoundError”是什么意思?
classpath的问题 color='#FF8000'>----------------解决方案-------------------------------------------------------- Exceptioninthread"main"java.lang.NoSuchMethodError:main这又怎么...
1047
热度 -
Caused by: java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher
json数据传回前台报错。Javacode2011-05-2211:19:58,640ERROR[org.apache.struts.actions.DispatchAction]-<Dispatch[/getSbdmlist]tomethod'getSbzt'returnedanexception>lang.reflect.InvocationTargetException'>jav...
113
热度 -
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
一个简单的Servlet截取URL怎么老是有错,请求解释啊user.add(username);request.getRequestDispatcher("/add_success.jsp").forward(request,response);StringrequestURI=request.getRequestURI();Stringpath=requestURI.subs...
562
热度 -
又是java.lang.NullPointerException解决方法
又是lang.NullPointerException'>java.lang.NullPointerExceptionJavacodeJFileChooserjfc=newJFileChooser();jfc.setDialogTitle("打开.....");jfc.showOpenDialog(null);jfc.setVisible(true);Stringfpath=j...
120
热度 -
java.lang.IllegalStateException: getOutputStream() 有关问题
java.lang.IllegalStateException:getOutputStream()问题java.lang.IllegalStateException:getOutputStream()hasalreadybeencalledforthisresponse看了好多贴子,都说是<%%>外不能有空格,不能有out也说在编译的jsp里找jspwriter与outstrem冲突,...
324
热度 -
java.lang.NoClassDefFoundError: com/sun/lwuit/events/ActionListener
高分求LWUIT在eclipse环境下如何配置LWUIT.jar--------------------------------------------------------------------我导入了这个包.......并且在排序和导出里钩选了这个包....-------------------------------------------------------------------...
7184
热度 -
java.lang.OutOfMemoryError,帮帮我,谢谢
java.lang.OutOfMemoryError,帮帮小弟我,多谢java.lang.OutOfMemoryError,帮帮我,谢谢我写的这段代码为什么会报这样的错,是哪里错了呀public?String?customerSPValue(String[]?temp)?{StringBuffer?str_temp?=?new?StringBuffer();????for?(int?i?=?1;?...
404
热度 -
HelloWorld的webservice为何报java.lang.ClassNotFoundException
HelloWorld的webservice为什么报lang.ClassNotFoundException'>java.lang.ClassNotFoundException我初学webservice,读了不少贴子想做一个HelloWorld的例子,环境为:Winxp,tomcat5.0,Axis2.0,等打包发布后启动tomcat总是报错:2008-1-214:28:23org.apache.ax...
315
热度