2023年11月29日发(作者:)

一、Exception in thread "main" eption: ORA-01017: invalid username/password; logon denied

>>这个错误的意思就是:数据库的用户名或者密码错误 检查你的数据库用户名和密

二、Exception in thread "main" otFoundException: Drive

>>这个错误表示:没有导入数据库驱动包,检查是否导入了驱动包

在工程名上右键---->选最后一项------332

三、eption: Io 异常: The Network Adapter could not establish the connection

>>这个错误表示:你的数据库服务没有打开.

四、Exception in thread "main" eption: ORA-00904: "STU": 标识符无效

>>>标示符无效---这个错误的意思是:java程序中的sql语句出错了

五、The method Sel(int) is undefined for the type HumanDao

>>>表示这个方法没有定义,如果你确定你写了这个方法

但是就是说没有定义原因是:重新部署项目。

六、otFoundException: Driver

原因:没有导入驱动包------导入驱动包:重新部署项目

eption: Io 异常: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=16

原因一:数据库的服务没有打开-----打开数据库的服务

原因二:有错误

八、ception: Address already in use: JVM_Bind14:02 2013/5/13

这个错误的意思就是:你已经开启了tomcat 但是不是由myeclipse启动

方法一:进入机房的tomcat安装目录:bin----右键点击

点击stop按钮。如果这里tomcat没有启动查看方法二、

方法二、重启myeclipse

九、otFoundException: _Sel_Servlet1

这个错误的意思就是:服务器找不到servlet包下面的

Goods_Sel_Servlet这个类,你就要起查看servlet包下面

是不是有这个类,类名要和中的类名一致!

十、lArgumentException: Invalid Goods_Sel_Servlet in servlet

mapping

这个错误的意思就是:在servlet的配置出错

解决方法:在文件找到

Goods_Sel_Servlet

改为:

/Goods_Sel_Servlet

十一、FormatException: null

上面第一个异常的意思是:把null的数据转换为整数出错

int page = nt(spage); spage=null;

FormatException: “

上面第一个异常的意思是:把“”的数据转换为整数出错

int page = nt(spage); spage=“”;

十二,PropertyException:

没有找到属性异常

十三,lStateException

非法参数状态异常

十四:启动报错Line:209-com/opensymphony/xwork2/spring/:209:-1

sping没有配置

eationException: Error creating bean with name 'audao' defined in file

[E:_tcatwebappspaimaiWEB-INFclassesapplicationContext_]: Cannot resolve reference to bean

'sessionFactory' while setting bean property 'sessionFactory'; nested exception is eationException:

Error creating bean with name 'sessionFactory' defined in file

[E:_tcatwebappspaimaiWEB-INFclassesapplicationContext_]: Invocation of init method failed; nested

exception is gException: Association references unmapped class:

十五

Ibatid错误 dao的实现类中的参数错误

Exception in thread "main" Exception: There is no statement named in this SqlMap.

//Xml里面配置错误,把resultMap改成resultClass

eationException: Error creating bean with name 'hunamAction' defined in ServletContext resource

[/WEB-INF/config/applicationContexts/]: Cannot resolve reference to bean 'hfbiz' while setting bean property

'hfBiz'; nested exception is eationException: Error creating bean with name 'hfbiz' defined in

ServletContext resource [/WEB-INF/config/applicationContexts/]: Cannot resolve reference to bean 'hfdao' while setting

bean property 'hfDao'; nested exception is eationException: Error creating bean with name 'hfdao' defined

in ServletContext resource [/WEB-INF/config/applicationContexts/]: Cannot resolve reference to bean 'sqlMapClient'

while setting bean property 'sqlMapClient'; nested exception is eationException: Error creating bean

with name 'sqlMapClient' defined in ServletContext resource [/WEB-INF/config/applicationContexts/]: Invocation

of init method failed; nested exception is IOException: Failed to parse config resource: ServletContext resource

[/WEB-INF/config/]; nested exception is tException: Error parsing XML. Cause:

eException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: tException: Error parsing XML.

Cause: eException: Error parsing XPath '/sqlMap/select'. Cause: Exception: There is no result

map named humanfile in this SqlMap.

十六 tionTargetException

类型转换异常

十七sDefFoundError: org/apache/commons/collections/map/MultiKeyMap

十八

eationException: Error creating bean with name 'transferAction' defined in ServletContext resource

[/WEB-INF/config/applicationContexts/]: Cannot resolve reference to bean 'tranferbiz' while setting bean property

'transferBiz'; nested exception is BeanDefinitionException: No bean named 'tranferbiz' is defined

//Xml 里面配置错误,action biz 名与biz 中的biz不匹配

十九

tyNotFoundException: Property 'hud_id' not found on type _file

jsp 页面错误