- 博客(35)
- 资源 (11)
- 收藏
- 关注
原创 MySQL查看日志
1、查看MySQL日志mysql> show global variables like '%log%';+-----------------------------------------+-------------------------+| Variable_name | Value |+-----
2015-08-30 22:59:19 2900 1
原创 Caused by: code is 9998;desc is dao exception is org.hibernate.exception.DataException: error execu
1、错误描述exception is org.hibernate.exception.DataException: error executing work at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
2015-08-30 22:39:37 2916
原创 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
1、错误描述org.hibernate.exception.SQLGrammarException: error executing work at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:80) at org.hibernate.except
2015-08-30 22:28:22 2084
原创 Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Result consisted of more than
1、错误描述at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apac
2015-08-30 10:40:51 3846
原创 mysqldump: Got error: 1045: Access denied for user 'roor'@'localhost' (using pas sword: YES) when tr
1、错误描述C:\Users\Administrator>d:D:\>cd MySQL\Program Files\MySQL\MySQL Server 5.6\binD:\MySQL\Program Files\MySQL\MySQL Server 5.6\bin>mysqldump --all-databases -uroor -p > all.sqlEnter password:
2015-08-28 23:34:57 9648
原创 MySQL设置数据库表为只读
1、设置命令mysql> use test;Database changedmysql> lock table t_depart_info read;Query OK, 0 rows affected (0.00 sec)2、插入数据3、指令分析 由于设置了t_depart_info为只读,不能向其插入数据,故截图中一直在加载请求中...
2015-08-25 22:01:35 11088 1
原创 [ERROR:] [插入失败] code is 9998;desc is 得到唯一对象不唯一exception is null
1、错误描述[ERROR:]2015-08-25 17:04:38,861 [插入失败] code is 9998;desc is 得到唯一对象不唯一exception is null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.
2015-08-25 21:06:12 1752
原创 MySQL查看运行时间
1、查看MySQL运行多长时间mysql> SHOW GLOBAL STATUS LIKE 'UPTIME';+---------------+-------+| Variable_name | Value |+---------------+-------+| Uptime | 12823 |+---------------+-------+1 row in set (
2015-08-25 13:15:30 2636 1
原创 [Err] 2006 - MySQL server has gone away
1、错误描述[Err] 2006 - MySQL server has gone away2、错误原因 在将数据库脚本利用MySQL客户端导入时,出现这个错误;结果查明,由于脚本中的insert语句过多,插入数据量过大,导致MySQL客户端和服务器连接断开3、解决办法(1)修改MySQL配置文件my.ini 设置max_allowed_packed参数(2)查看MySQL连接是
2015-08-25 12:53:06 2158
原创 1215-Cannot add foreign key constraint
1、错误描述2、错误原因 昨天我对一张表的字段添加外键,保存时一直提示不能添加外键约束3、解决办法(1)外键对应的字段数据类型不一致(2)两张表的存储引擎不一致(3)设置外键时“删除时”设置为“SET NULL” 于是,我利用排除法,首先查看表的存储引擎,发现都是InnoDB引擎,排除第二条;设置外键时“删除时”设置为“SET NULL”,我改为其他的选项,发现也不能保存,故排除了
2015-08-24 09:58:38 6061 9
原创 MySQL备份数据库
1、备份某一数据库C:\Users\Administrator>d:D:\>cd MySQL\Program Files\MySQL\MySQL Server 5.6\binD:\MySQL\Program Files\MySQL\MySQL Server 5.6\bin>mysqldump -uroot -p mysql > mysql.sqlEnter password: ****
2015-08-23 23:37:43 1238 1
原创 jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
1、错误原因信息: validateJarFile(/opt/tomcat/webapps/CMP/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class2、错误原因3、解决办法
2015-08-23 11:46:10 21065 4
原创 严重: Error listenerStart
1、错误描述八月 22, 2015 5:03:41 下午 org.apache.catalina.core.StandardContext startInternal严重: Error listenerStart八月 22, 2015 5:03:41 下午 org.apache.catalina.core.StandardContext startInternal2、错误原因3、解决办法
2015-08-23 11:40:59 4029
原创 MySQL检查运行的mysqld服务器是否支持OpenSSL
1、问题背景 在MySQL服务器和客户端之间使用SSL连接,需要判断系统是否支持OpenSSL,如何查看是否支持OpenSSL2、解决方案 利用MySQL自带的命令执行查询SHOW VARIABLES LIKE 'have_openssl';3、执行结果 如果Value为“Yes”才支持OpenSSL,但是查询结果为“DISABLED”,表示不支持OpenSSL
2015-08-19 15:27:33 3276 4
原创 JavaScript替换字符串中最后一个字符
1、问题背景 在一个输入框中,限制字符串长度为12位,利用键盘输入一个数字,会将字符串中最后一位替换,比如:111111111111,再输入一个3,会显示1111111111132、具体实现JavaScript替换字符串中最后一个字符 function replaceStr() { var e = event || window.event || arguments
2015-08-19 14:38:53 8582 1
原创 Could not find action or result: /SendMail/servlet/UploadServlet
1、错误描述八月 14, 2015 3:03:05 下午 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn警告: Could not find action or result: /SendMail/servlet/UploadServletThere is no Action mapped for action name Uplo
2015-08-15 14:16:40 1693
原创 org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected be
1、错误描述八月 14, 2015 3:03:05 下午 com.opensymphony.xwork2.util.logging.jdk.JdkLogger warn警告: Request exceeded size limit!org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the reque
2015-08-15 14:11:31 3762
原创 Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack.
1、错误描述八月 14, 2015 4:22:45 下午 com.opensymphony.xwork2.util.logging.jdk.JdkLogger error严重: Exception occurred during processing request: Can not find a java.io.InputStream with the name [downloadFile]
2015-08-15 14:06:38 5500 2
原创 This is usually caused by using Struts tags without the associated filter.
1、错误描述严重: Servlet.service() for servlet [jsp] in context with path [/SendMail] threw exception [An exception occurred processing JSP page /pages/fileupload/fileUpload.jsp at line 4239: 40:
2015-08-14 08:57:11 3720
原创 java.lang.ClassNotFoundException: org.springframework.web.content.ContextLoaderListener
1、错误描述严重: Error configuring application listener of class org.springframework.web.content.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframework.web.content.ContextLoaderListener
2015-08-13 20:00:20 1554 1
原创 TypeError:'stepUp' called on an object that does not implement interface HTMLInputElement.
1、错误描述2、错误原因3、解决办法
2015-08-13 19:43:24 4933 2
原创 An internal error occurred during: "J2EE Component Mapping Update".
1、错误描述An internal error occurred during: "J2EE Component Mapping Update".java.lang.NullPointerException2、错误原因3、解决办法
2015-08-11 20:43:17 15804 2
原创 To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
1、错误描述严重: The web application [/AMST] registered the JDBC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak,
2015-08-10 20:07:13 12813
原创 Could not connect to SMTP host: localhost, port: 25;
1、错误描述DEBUG: setDebug: JavaMail version 1.3.3DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]DEBUG SMTP: useEhlo true, useAuth
2015-08-10 19:53:58 34452 2
原创 535 Error: authentication failed
1、错误描述535 Error: authentication failedException in thread "main" javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:267) at javax.mail.Service.connect(Service.java:
2015-08-10 19:46:36 6376 1
原创 com.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user
1、错误描述553 Mail from must equal authorized usercom.sun.mail.smtp.SMTPSendFailedException: 553 Mail from must equal authorized user at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.j
2015-08-10 19:38:49 12153 5
原创 454 Authentication failed, please open smtp flag first!
1、错误描述454 Authentication failed, please open smtp flag first!Exception in thread "main" javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:267) at javax.mail.Servic
2015-08-10 19:32:38 1831
原创 Realm [realm.ShiroDbRealm@15408475] does not support authentication token
1、错误描述[ERROR:]2015-08-03 10:03:26,508 [Realm [realm.ShiroDbRealm@15408475] does not support authentication token [org.apache.shiro.cas.CasToken@3eb82839]. Please ensure that the appropriate Realm imp
2015-08-10 14:17:22 6016 3
原创 JS时间格式化出现2015-02-07 hh:12:30
1、问题背景 最近,做项目的过程中,遇到这样一个问题:利用JS对日期时间进行格式化时,页面出现了2015-02-07 hh:12:30,小时没有显示出数据;其中,hh换成HH时,有时小时位显示HHvar dayTime = $("#endTime").val();var dtime = new Date(dayTime);dtime.setTime(dtime.getTime()+36
2015-08-07 00:05:56 2222 3
原创 错误代码: 1066 Not unique table/alias: 'c'
1、错误描述1 queries executed, 0 success, 1 errors, 0 warnings查询:SELECT (SELECT CONCAT( s.name, '/', sr.reame, '[', DATE_FORMAT(a.startTime, '%Y-%m-%d'), ']' ) FROM t_stu_info a, t_...错误代码: 1066Not un
2015-08-06 23:26:12 36947 2
ejb3-persistence.jar
2014-07-12
aopalliance.jar
2014-07-12
Flex中运用FusionCharts
2014-05-14
Flex和Servlet结合上传文件
2014-04-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人