异常
十年彩虹
日拱一卒
展开
-
java.lang.NoClassDefFoundError: org/apache/poi/POIXMLTextExtractor
最近,在处理解析程序的时候。用到了解析word入库。word的格式有两种一个doc和docx。java.lang.NoClassDefFoundError: org/apache/poi/POIXMLTextExtractor,报出这个异常,我断点跟踪了一下。发现。是出jar的问题。然后我下载了Build fat jar 打包把jar都打进入就好。原因找不到jar。解析2003和2原创 2012-11-30 13:39:20 · 19593 阅读 · 6 评论 -
JBAS014775: New missing/unsatisfied dependencies
JBAS014775: New missing/unsatisfied dependencies: service jboss.jdbc-driver.mysql (missing) dependents: [service jboss.data-source.java:jboss/datasources/MySQLDS] 以上错误的原因: com.mysql.jdbc.jdbc2原创 2016-07-14 14:14:19 · 5038 阅读 · 0 评论 -
JBAS014612: Operation ("add") failed - address:
error14:04:02,723 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 27) JBAS014612: Operation ("add") failed - address: ([ ("subsystem" => "datasources"), ("jdb原创 2016-07-14 14:07:48 · 5669 阅读 · 1 评论 -
ORA-01950:no privileges on tablespace 'USERS'
问题:没有分配表空间配额alter user user1 quota 10M[unlimited] on users;原创 2013-04-25 16:28:40 · 1100 阅读 · 0 评论 -
Got error 28 from storage engine
今天遇到了。Got error 28 from storage engine错误。原因,C盘空间满了。导致存放mysql文件的目录不能打开。报错。原创 2013-04-23 13:59:57 · 614 阅读 · 0 评论 -
Last packet sent to the server was 0 ms ago
Last packet sent to the server was 0 ms ago错误原因:连接超时。SHOW VARIABLES LIKE 'wait_timeout%';28800 = 8小时修改my.ini增加wait_timeout=1814400 = 21小时SHOW GLOBAL VARIABLES LIKE 'wait_timeout';原创 2013-04-02 10:35:41 · 9057 阅读 · 0 评论 -
request.getRemoteAddr()获取的值为0:0:0:0:0:0:0:1
解决方式:1、修改访问路径localhost:8080修改为127.0.0.1:80802、修改本机的配置文件C:\Windows\System32\drivers\etc下面有一个localhost的文件,你打开后可以看到# ::1 localhost的配置,你可以删除。其中你也可以修改本机的ip,例如你修改一下127.0.0.1为127.0.0.2,当你以后访问的时间127.0.0.2原创 2013-03-18 17:07:42 · 4470 阅读 · 0 评论 -
Exception in thread "main" java.lang.StackOverflowError
Exception in thread "main" java.lang.StackOverflowError at java.util.regex.Pattern$GroupTail.match(Pattern.java:4218) at java.util.regex.Pattern$Curly.match1(Pattern.java:3797) at java.util.regex.P原创 2013-03-16 11:39:57 · 8263 阅读 · 1 评论 -
java.sql.SQLException: ORA-00911: 无效字符
java.sql.SQLException: ORA-00911: 无效字符sql语句结尾有分号“;”引起的。原创 2011-12-05 16:57:50 · 1146 阅读 · 1 评论 -
Incorrect result size: expected 1, actual 0
这里有0行和nullresult的区别0行: select salary from user where 1 = 2null result:select max(salary) from user where 1 = 2 返回就是null0行一定抛出IncorrectResultSizeDataAccessException异常以上是上网查找的结果,仔细一看原创 2013-02-18 14:19:40 · 2679 阅读 · 0 评论 -
This executable was created with an evaluation version of exe4j
在使用exe4j打exe的时候,在运行时,总是提示你:This executable was created with an evaluation version of exe4j 解决方式:exe4j是评估版的,需要注册。给你个注册码:L-g782dn2d-1f1yqxx1rv1sqd原创 2013-02-19 10:48:19 · 5059 阅读 · 0 评论 -
Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds
如果遇到这个错误,请如下修改: workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。<server hostname="localhost" id="JBoss v5.0 at localhost" name="JBoss v5.0 atlocalhost" runtime-id="JBoss原创 2012-12-18 19:06:50 · 531 阅读 · 0 评论 -
java.lang.IllegalArgumentException: Document base
工作中遇到此异常:java.lang.IllegalArgumentException: Document base 解决方式:删除Tomcat下\conf\catalina\localhost中的相应项目的配置文件。原创 2012-12-12 14:29:13 · 1306 阅读 · 0 评论 -
Access restriction
Access restriction: The constructor Provider() is not accessible due to restriction on required library C:\Java\jdk1.6.0_23\jre\lib\jsse.jarAccess restriction: The constructor Provider() is not acce原创 2012-12-11 10:07:21 · 705 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/apache/jsp/Index_jsp (wrong name: org/apache/jsp/index_jsp)
严重: Servlet.service() for servlet jsp threw exceptionjava.lang.NoClassDefFoundError: org/apache/jsp/Index_jsp (wrong name: org/apache/jsp/index_jsp) at java.lang.ClassLoader.defineClass1(Native Meth原创 2012-12-04 10:17:24 · 8894 阅读 · 6 评论 -
Ibatis jar冲突错误
Console: iBATIS 2.3.2 'state' field not found in SqlMapConfigParser class - please upgrade to IBATIS 2.3.2 or higher in order项目工程有存在两个jar一个是上面的这个,一个是2.3.2。记得一定要删除。Remove掉根本不管用,切记要删除。原创 2012-11-20 14:17:13 · 1189 阅读 · 0 评论 -
There is no Action mapped for namespace
Struts2异常之There is no Action mapped for namespace在做上传下载时候,出现的错误,主要原因,我的命名空间配置不对。解决方式:在from中的action=/命名空间/action的名字,我前面少一个“/”There is no Action mapped for namespace / and action name upload. -原创 2012-11-30 13:43:06 · 917 阅读 · 0 评论 -
detached entity passed to persist:
detached entity passed to persist: 1、去掉@id identity的自增 2、去掉设置id值原创 2016-07-21 15:57:35 · 596 阅读 · 0 评论