报错信息搜集

java.util.NoSuchElementException: DefaultSqlResult.getColumnID() Error=Coloumn
Name [ORDER_ID]
错误原因没有ORDER_ID这一列,但是SQL语句中有这一列。

 


[citics.log] 2005-12-23 02:25:00 GDB [citics] will start up with connection...
[dboa.log] 2005-12-23 02:25:00 Connection Pool Start up.
[dboa.log] 2005-12-23 02:25:00 initial [16]max [32]
[UserMgr.log] 2005-12-23 02:25:00 Error when getGDB (xnrs) in class initialize(com.css.core.user.util.UserInfoTable).
[UserMgr.log] 2005-12-23 02:25:00
java.sql.SQLException: Can't find class for driver: oracle.jdbc.driver.OracleDriver

没有class12这个jar文件

 

java.lang.class.cashException:
java.lang.ClassCastException

这个异常可能是得到的类型和需要的class类型不一样

 

IllegalMonitorStateException(非法监视器状态违例)

 

500 No action instance for path /repository/updateEquipmentInfo could be created
没找到path或者type所指的类

 

 

Note: sun.tools.javac.Main has been deprecated.
/inner/repository/EquipmentBuyList.jsp:156: Can't make static reference
to method java.lang.String getEquipmentType() in class com.cssweb.equipment.model.EquipmentInfo.
            name = item.getDictionaryItem(EquipmentInfo.getEquipmentType());
这个是EquipmentInfo的类型错了

java.lang.NumberFormatException: For input string: ""
 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
这个是页面需要参数 结果没有参数回来


No getter method for property serveCompany of bean org.apache.struts.taglib.html.BEAN
这个可能是<html:form action="/addWorkExperience.do"  οnsubmit="return check();"  method="post">中的action内容错误了 用tomcat调试报错

 

 

 

 


java.lang.OutOfMemoryError: Java heap space
Thursday, 7. September 2006, 08:31:58

tomcat

遇到TOMCAT出错:java.lang.OutOfMemoryError: Java heap space,于是查了资料,找到了解决方法:

If Java runs out of memory, the following error occurs:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Java heap size can be increased as follows:

java -Xms<initial heap size> -Xmx<maximum heap size>
Defaults are:
java -Xms32m -Xmx128m

如果你用win
/tomcat/bin/catalina.bat 加上下面的命令:
set JAVA_OPTS=-Xms32m -Xmx256m

如果你用unix/linux
/tomcat/bin/catalina.sh 加上下面的命令:
JAVA_OPTS="-Xms32m -Xmx256m

 

 

 

public class ArrayStoreException
extends RuntimeException
表示向一个对象数组存放一错误类型的对象时的异常。例如,下面代码将产生一 ArrayStoreException 异常:


     Object x[] = new String[3];
     x[0] = new Integer(0);

 

 

很多朋友在Java开发中,使用Oracle数据库的时候,经常会碰到有ORA-01000: maximum open cursors exceeded.的错误。

实际上,这个错误的原因,主要还是代码问题引起的。
ora-01000: maximum open cursors exceeded.
表示已经达到一个进程打开的最大游标数。


详细见超出最大游标数.txt

 

 

示试图将一对象转换为没有实例的子类时的异常。例如,以下代码将产生一 ClassCastException异常:


     Object x = new Integer(0);
     System.out.println((String)x);

 

 

 

 

 

 

 

 

 

 

 

 


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值