
异常解决方案
iteye_6332
这个作者很懒,什么都没留下…
展开
-
java.lang.OutOfMemoryError: Java heap space 解决方法
这个问题的根源是jvm虚拟机的默认Heap大小是64M,可以通过设置其最大和最小值来实现.设置的方法主要是几个. 1.可以在windows 更改系统环境变量加上JAVA_OPTS=-Xms64m -Xmx512m 2,如果用的tomcat,在windows下,可以在 C:\tomcat5.5.9\bin\catalina.bat 中加上: set JAVA_...原创 2013-07-30 23:42:27 · 104 阅读 · 0 评论 -
Eclipse 出现”unhandled event loop exception permgen space“错误
在运行eclipse时出现unhandled event loop exception permgen space错误,并且点了OK之后提示保存workspace并推出workbenchPermGen space的全称是Permanent Generation space,是指内存的永久保存区域OutOfMemoryError: PermGen space从表面上看就是内存益出,解决方法也一定...原创 2013-08-14 00:36:10 · 270 阅读 · 0 评论 -
打开struts-config.xml 报错 解决办法Could not open the editor
错误信息:Could not open the editor: Project SSH is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-config.xml. The default XML Editor h...原创 2013-08-16 11:05:24 · 489 阅读 · 0 评论 -
Container StandardContext[] has not been started 简单解决方案
今天启动eclipse工程时发现,有几行提示信息,如下: Document base C:/Program Files/Tomcat 6.0/webapps/testPro does not exist or is not a readable directory……………………… Container StandardContext[/testPro] has not...原创 2013-08-20 16:31:15 · 868 阅读 · 0 评论 -
maven项目中运用了jxls 与poi整合进行操作excel2007 报错
poi 报错Exception in thread "main" java.lang.ExceptionInInitializerError at org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook$Factory.newInstance(Unknown Source) at org.apache.poi.xssf.u...原创 2014-11-04 23:55:05 · 983 阅读 · 0 评论 -
字符串使用replaceAll()方法报异常:Dangling meta character '*' near index 0
对字符串使用replaceAll()方法替换 * ? + / | 等字符的时候会报以下异常 Dangling meta character '*' near index 0 这主要是因为这些符号在正则表达示中有相应意义。只需将其改为 [*] 或 //* 即可。...原创 2014-11-25 14:19:38 · 207 阅读 · 0 评论