Exception
wuyunmin
喜欢编程,熟练掌握C语言、C 和Java编程。能够熟练掌握Photoshop、3Dmax、AUTOCAD以及网页三剑客。对电脑硬件也有扎实的功底。精通数据库。
展开
-
Failed to initialize remote display subsystem的原因和解决办法
[color=red]现象:[/color]启动虚拟机后弹出“Failed to initialize remote display subsystem”错误提示,点击确定后虚拟机中的操作系统关闭,无论如何也无法启动。[color=red]原因:[/color]虚拟机在安装时自动添加了一个“__vmware_user__”帐户,不小心删掉这个帐户后虚拟机中的操作系统就会启动失败。[...2012-06-14 13:44:08 · 406 阅读 · 0 评论 -
windows7下出现异常:System.Security.SecurityException: 不允许所请求的注册表访问权。...
windows7下出现异常:System.Security.SecurityException: 不允许所请求的注册表访问权。在 System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) 在 Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boo...2013-01-05 18:12:14 · 786 阅读 · 0 评论 -
java.lang.IllegalArgumentException: Non-positive period.
出错代码:[code="java"]timer = new Timer();timer.schedule(new MQConnectionTimerTask(), new Date(), 0);[/code]错误信息:[code="java"]严重: Exception sending context initialized event to listener instance...2013-06-01 23:32:40 · 1080 阅读 · 0 评论 -
org.hibernate.StaleObjectStateException
异常:org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): 原因:数据库表使用了Hibernate乐观锁机制,当两个人去更新同一条记录时,后一个执行的会报上述异常。...2012-08-18 16:20:42 · 396 阅读 · 0 评论 -
Error creating bean with name 'centralAuthenticationService' defined in ...
ERROR [org.springframework.web.context.ContextLoader] - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in ServletContext ...2012-11-19 16:57:21 · 438 阅读 · 0 评论 -
java.net.SocketException: No buffer space available (maximum connections reached
一、问题的表现首先说明一下环境,服务器是WINDOWS SERVER 2003,我对这个操作系统的特性不是很熟悉,只是当做普通的个人版操作系统来使用。我平时一般JAVA服务器都是安装LINUX。数据库使用的SQL SERVER 2005,SP2。他的数据库本来是SQL SERVER 2000的,是我上周帮他做的迁移。中间件使用RESIN 2.1.17,这是我非常喜欢和熟悉的...原创 2012-11-15 17:44:52 · 1197 阅读 · 0 评论 -
UnsupportedClassVersionError:Unsupported major.minor version 51.0
Caused by: java.lang.UnsupportedClassVersionError: ...: Unsupported major.minor version 51.0异常原因:class文件编译的jdk版本1.7,而引入class文件的项目用的jdk版本1.6。解决办法:改变jdk的版本为1.7...2012-11-14 15:28:44 · 214 阅读 · 0 评论 -
JasperException: is quoted with " which must be escaped when used within
异常信息:[code="java"]org.apache.jasper.JasperException: /WEB-INF/view/jsp/default/ui/casLoginView.jsp(48,35) Attribute value request.getQueryString() == null ? "" : request.getQueryString().replaceAl...2012-11-09 15:25:25 · 147 阅读 · 0 评论 -
Struts2 上传文件报错: Unable to find 'struts.multipart.saveDir' property setting.
工程环境:struts2。在测试过程中,出现如下info信息:Unable to find 'struts.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir提示该 struts.multipart.saveDir属性未设置。于是在,struts.xml配置文件中增...2012-07-17 15:42:58 · 77 阅读 · 0 评论 -
org.springframework.jdbc.UncategorizedSQLException 错误解决
异常原因:数据超过数据库中字段的长度。解决办法:修改数据库中字段的长度,如:alter table [color=red]tablename[/color] modify [color=red]columnname[/color] [color=red]newtype[/color];...2012-07-04 16:28:26 · 10682 阅读 · 0 评论 -
org.springframework.orm.hibernate3.HibernateSystemException: identifier of
异常如下:Exception in thread "main" org.springframework.orm.hibernate3.HibernateSystemException: identifier of an instance of com.tarena.entity.User was altered from 1 to 1; nested exception is org.hibe...2012-06-28 17:00:18 · 791 阅读 · 0 评论 -
org.apache.commons.dbcp.SQLNestedException
异常:org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))解决办法:配置文件中的用户名和密码不对(好好检查一下不仅仅是hibernate的配置文件...2012-06-27 17:12:21 · 209 阅读 · 0 评论 -
Cannot find the tag library descriptor for /struts-tags问题
解决办法:1、struts.xml 没有正确放置,将struts.xml 放到src目录下,redeploy2、没有正确导入struts库,把struts2相关的几个lib放在你(tomcat中)工程的WEB-INF/lib下面就可以了3、 有特殊字符 ,删掉重写(^_^)...2012-06-26 17:45:51 · 267 阅读 · 0 评论 -
Java compiler level does not match the version of the installed Java project fac
问题:Facted Project 中的Java 版本设定与项目的Java 版本设定不一致。解决方法:在项目的properties下,将Project Facts选项卡下的java版本和java Complier选项卡下的编译版本要一致。...2012-06-26 10:59:11 · 109 阅读 · 0 评论 -
R.java was modified manually! Reverting to generated version!
Eclipse开发Android时遇到R.java was modified manually! Reverting to generated version!这个错误提示时如何处理进入 eclipse后clipse Menu > Projects > clean2012-06-25 13:58:50 · 142 阅读 · 0 评论 -
The type java.lang.Object cannot be resolved解决方法
[color=red]1.The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project2.The type java.lang.Ob...2012-06-25 11:02:41 · 174 阅读 · 0 评论 -
Unable to resolve target 'android-7'
Unable to resolve target 'android-7'解决方案:修改工程目录下的default.properties文件里的内容target=android-7改成target=android-12(或者其他版本)就可以了,最好用txt打开,然后修改之后保存,运行就可以了。 原代码如下:# This file is automatically generate...2012-06-25 10:26:43 · 84 阅读 · 0 评论 -
tomcat启动报错java.lang.IllegalArgumentException
[code="java"]java.lang.IllegalArgumentException: Document base D:\Program Files\Apache Software Foundation\Tomcat 5.5\server\webapps\trunk does not exist or is not a readable directoryat org.apache....2012-09-25 22:10:33 · 379 阅读 · 0 评论