tomcat启动时只报错:Tomcat SEVERE: Error listenerStart。没有详细的报错信息。查询logs/localhost.XXXX.log文件找到报错信息如下:SEVERE: Exception sending context initialized event to l...
分类:
其他好文 时间:
2015-09-16 12:08:43
阅读次数:
604
fatal error LNK1181: 无法打开输入文件"****.lib";这种问题一般是有些进程正在打开这个要使用的lib,所以一般关掉对应的进程就好,找不到对应的进程的话就关机重启试试。Well in this case it may be a VS bug. Try to find whi...
分类:
其他好文 时间:
2015-09-16 09:44:53
阅读次数:
175
SHOWGLOBALVARIABLESLIKE‘%log%‘错误日志:服务器启动或关闭过程中的信息 服务器运行过程中的错误信息 事件调度器运行一个事件时产生的信息 在从服务器上启动从服务器进程时产生的信息 log_error log_warnings一般查询日志: general_log general_log_filelog_output={TABLE|FI..
分类:
数据库 时间:
2015-09-16 08:38:37
阅读次数:
236
QuestionReverse a singly linked list.Solution 1 -- IterativeRemember to set head.next = null or it will report "memory limit exceeds" error. 1 /** 2 ....
分类:
其他好文 时间:
2015-09-16 06:23:10
阅读次数:
193
今天遇到了一个极其奇怪的问题,用各种工具检查都能看到服务器端返回了200,数据也是正常的,但是$.ajax 始终进不到success,郁闷啊,在网上找,常见问题场景: 1.跨域; 2. $.ajax 没设置 dataType,及服务器端没设置respon.ContentType 3. Json结构....
分类:
Web程序 时间:
2015-09-15 21:38:05
阅读次数:
164
2.1mysql物理文件组成 ? ??2.1.1日志文件: ? ? ? ? 1,查看mysql配置文件:mysql --verbose --help | grep -A 1 ‘Default options‘; ? ? ? ? 1,错误日志:--log-error[=file_name] 指定错误日志位置...
分类:
数据库 时间:
2015-09-15 18:36:19
阅读次数:
242
一、结论: 1./**debug、info、warn、error、fatal由低到高*/ 2.注意:log.error(message,e)不会打印异常堆栈信息。二、测试过程 1.代码package com.auto;import org.apache.log4j.Logger;import ...
分类:
其他好文 时间:
2015-09-15 18:24:19
阅读次数:
143
error: is applicable for argument types: (org.eclipse.jetty.server.Request)很显然这个错误是因为 不是静态方法造成的,改为静态方法就好了,There was an unexpected error (type=Internal...
分类:
移动开发 时间:
2015-09-15 18:02:22
阅读次数:
392
百度之后,知道这个原因是端口已经被其他进程打开了使用cmd命令,查看8002端口被哪一个程序占用了C:\Windows\System32>netstat -ano | find "8002" TCP 0.0.0.0:8002 0.0.0.0:0 ...
分类:
其他好文 时间:
2015-09-15 16:26:11
阅读次数:
153
环境:windows1010240PHP环境apache2.2php5.3.6mysql-5.5.33-winx64在测试一个开源项目时,出现了ERROR:1366||Incorrectintegervalue:‘‘forcolumn‘id‘atrow1错误在网上搜索解决办法:最终找到了办法。解释:在mysql5.0以后的版本里ID主键不能自动增加,需要赋值才可以。在插入..
分类:
数据库 时间:
2015-09-15 14:56:10
阅读次数:
204