常见EXCEPTION处理

来源:互联网 发布:一洋淘宝培训中心 编辑:程序博客网 时间:2024/06/05 14:06

exception一

Caused by: java.sql.SQLException: We are already in the process of making 11 connections and the number of simultaneous builds has been throttled to 10

http://blog.csdn.net/swandragon/archive/2009/10/28/4738499.aspx

 

exception二

java.lang.UnsatisfiedLinkError

http://blog.csdn.net/swandragon/archive/2009/10/24/4723132.aspx

 

exception三

java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]对象名 ‘xxx’ 无效

http://blog.csdn.net/swandragon/archive/2009/10/22/4715296.aspx

 

exception四

由于重复提交response,所以出现这样的错误!

异常信息:Cannot forward after response has been committed
出错原因:在同一个Servlet/JSP中出现了两个request.getRequestDispatcher().forward()语句
解决办法:在forward()语句后添加return()语句。

http://blog.csdn.net/swandragon/archive/2009/10/20/4701844.aspx

 

exception五

java.sql.SQLException: Io 异常: Connectionrefused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12519)(ERROR_STACK=(ERROR=(CODE=12519)(EMFI=4)))) at oracle.jdbc.dbaccess.DBError.throwSqlException

http://blog.csdn.net/swandragon/archive/2009/10/19/4697700.aspx

 

exception六

读取数据库时出错:java.sql.SQLException: 流已被关闭

http://blog.csdn.net/swandragon/archive/2009/10/18/4694557.aspx

 

exception七

java.lang.UnsupportedClassVersionError

Eclipse解决java.lang.UnsupportedClassVersionError问题,只需要把项目用的JDK与你安装的JDK搞成版本一样就解决了.
步骤:右击你的项目-->属性-->Java Compiler,设置合适的版本!!

http://blog.csdn.net/swandragon/archive/2009/10/17/4690036.aspx

 

exception八

Exceptionin thread "main" java.lang.NoClassDefFoundError:org/apache/commons/logging/LogFactory atorg.springframework.util.ClassUtils.<clinit>(ClassUtils.java:67)   at


Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.

Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/Type
    at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180)

http://blog.csdn.net/swandragon/archive/2009/10/27/4732307.aspx

exception九
javax.mail.NoSuchProviderException: No provider for pop3
http://blog.csdn.net/swandragon/archive/2009/10/28/4739267.aspx

 

exception十

No configuration found. Configuring ehcache fromehcache-failsafe.xml found in the classpath:jar:file:/D:/package/java/hibernate2/lib/ehcache-0.9.jar!/ehcache-failsafe.xml

http://blog.csdn.net/swandragon/archive/2009/10/28/4739684.aspx

 

exception十一

mysql8小时连接异常

http://blog.csdn.net/swandragon/archive/2009/10/25/4725871.aspx

 

exception十二

严重: 启动endpoint时有错误
java.net.BindException: Cannot assign requested address: JVM_Bind:8080

严重: Catalina.start:
LifecycleException:  service.getName(): "Catalina"; 启动协议处理员失败:java.net.BindException: Cannot assign requested address:JVM_Bind:8080

http://blog.csdn.net/swandragon/archive/2009/10/28/4739928.aspx

 

exception十三

java.net.SocketException: Connection reset by peer: socket write error

http://blog.csdn.net/swandragon/archive/2009/10/29/4742901.aspx

 

exception十四

 A Configuration error occurred during startup.Please verify thepreference field with the prompt:Cannot find a free socket for the  debugger.

http://blog.csdn.net/swandragon/archive/2009/10/29/4742970.aspx

 

exception十五

The Network Adapter could not establish the connection

http://blog.csdn.net/swandragon/archive/2009/10/30/4746200.aspx

 

exception十六

cause java.lang.IllegalArgumentException: No bean specified

http://blog.csdn.net/swandragon/archive/2009/10/30/4749909.aspx

 

exception十七

java.lang.NegativeArraySizeException

http://blog.csdn.net/swandragon/archive/2009/10/31/4750889.aspx

 

exception十八

严重: Exception starting filter Struts2

Caused by: Caught exception while loading file struts-default.xml - [unknown location]

http://blog.csdn.net/swandragon/archive/2009/10/31/4751156.aspx

 

exception十九

Software caused connection abort: recv failed

java.net.SocketException: Software caused connection abort: recv failed

http://blog.csdn.net/swandragon/archive/2009/11/02/4759157.aspx

 

exception二十

Struts2 Unable to load configuration. - bean - jar:file:…………WEB-INF/lib/struts2-core-2.1.8.jar!

http://blog.csdn.net/swandragon/archive/2009/11/07/4783857.aspx

 

exception二十一

用elipse打包导出jar包出现duplicate entry: xx/xx.class错误

http://blog.csdn.net/swandragon/archive/2009/11/30/4908031.aspx

原创粉丝点击