求大神帮忙看下centos错误日志 [问题点数:80分,结帖人azail007]

Bbs1
本版专家分:0
结帖率 100%
Bbs12
本版专家分:395752
版主
Blank
状元 2018年总版新获得的技术专家分排名第一
Blank
进士 2017年 总版技术专家分年内排行榜第四
2014年 总版技术专家分年内排行榜第四
2013年 总版技术专家分年内排行榜第四
2012年 总版技术专家分年内排行榜第六
Blank
金牌 2018年3月 总版技术专家分月排行榜第一
2013年5月 总版技术专家分月排行榜第一
Blank
银牌 2018年10月 总版技术专家分月排行榜第二
2018年9月 总版技术专家分月排行榜第二
2018年8月 总版技术专家分月排行榜第二
2018年4月 总版技术专家分月排行榜第二
2016年7月 总版技术专家分月排行榜第二
2016年3月 总版技术专家分月排行榜第二
2015年12月 总版技术专家分月排行榜第二
2014年8月 总版技术专家分月排行榜第二
2014年7月 总版技术专家分月排行榜第二
2013年6月 总版技术专家分月排行榜第二
Bbs1
本版专家分:0
Bbs1
本版专家分:89
Bbs2
本版专家分:177
Bbs1
本版专家分:0
Bbs1
本版专家分:0
office解码
我不会用 我下载的时候只有这个 又不能解码 所以 求<em>大神</em><em>帮忙</em>
cad lisp 五金模具外挂 快捷命令
cad 五金模具外挂,求<em>大神</em><em>帮忙</em>破解。 有时候加载用不了,很无语。
帮忙看下错误日志
rnrn2011-03-25 15:07:13 ApplicationDispatcher[/tokubai41] サーブレット jsp のServlet.service()が例外を投げましたrnorg.apache.jasper.JasperExceptionrn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)rn at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)rn at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)rn at cn.founder.tokubai.web.TokubaiActionServlet.process(TokubaiActionServlet.java:42)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)rn at java.lang.Thread.run(Thread.java:536)rn----- Root Cause -----rnjavax.servlet.ServletExceptionrn at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)rn at org.apache.jsp.class_code_01_jsp._jspService(class_code_01_jsp.java:105)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)rn at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)rn at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)rn at cn.founder.tokubai.web.TokubaiActionServlet.process(TokubaiActionServlet.java:42)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)rn at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)rn at java.lang.Thread.run(Thread.java:536)rnrn
一个简单游戏的程序
简单游戏的程序代码,<em>大神</em>们<em>帮忙</em>看看。简单游戏的程序代码,<em>大神</em>们<em>帮忙</em>看看。简单游戏的程序代码,<em>大神</em>们<em>帮忙</em>看看。简单游戏的程序代码,<em>大神</em>们<em>帮忙</em>看看。简单游戏的程序代码,<em>大神</em>们<em>帮忙</em>看看。
统计学习导论 ·第2章·Statistical Learning
n n n nnnnnnnn预测不易,预测未来更不易。 ---Yogi Berrann2.1 统计模型n建模变量:nnnnn数学表达式nnnnnnnnn输入变量(input variable), 又称预测变量(predictor)、自变量(independent)、属性(feature)n输出变量(output variable),又称响应变量(response)、因...
汽车八自由度带侧倾simulink模型
汽车八自由度模型,使用dugoff轮胎。虽然能运行 ,但是感觉结果有点问题,求<em>大神</em><em>帮忙</em>,供新手学习。
combobox控件
给予ztree和jq的combo-box控件,有搜索功能,支持ajax加载数据,抛砖引玉,求<em>大神</em><em>帮忙</em>优化,搜索算法和其他的
称重分拣触摸屏程序
求大侠<em>帮忙</em>反编译,威纶MT6071IE的屏。本人不才希望有好心的<em>大神</em>帮助,先谢谢了
大神帮忙看下存储过程
[code=sql]CREATE PROCEDURE [dbo].[G1_GetRecruitListByAllItems]rn -- Add the parameters for the stored procedure herern (rn@Dept varchar(50),rn@Statues int,rn@StartTime datetime,rn@EndTime datetimern)rn rnASrnBEGINrn rn SET NOCOUNT ON;rn declare @sql varchar(1000)rn set @sql = 'rn SELECT re.Id,rn de.DepartmentName,rn re.CreateTime,rn us.UserName,rn re.Satern FROM rn G1_Recruit as re JOIN G1_Department as de ON re.DeptId=de.DepartmentIdrn LEFT JOIN G1_User as us ON re.CreateUserId=us.UserId where 1=1 rnrn 'rn rn if(@Dept !='==请选择==')rn BEGINrn --print '到达Dept判断 'rn SET @sql = @sql + ' and de.DepartmentName = ''' + @Dept + ''''rn ENDrnrn if(@Statues !=4)rn BEGINrn --print '到达Statues判断'rn SET @sql = @sql + ' and re.Sate =' + cast(@Statues as varchar(2))rn --print '状态判断完成'rn ENDrn rn if(@StartTime!=null)rn BEGINrn --print '到达时间判断'rn SET @sql = @sql + ' and re.CreateTime >= ''' +@StartTime+''''rn --print '时间判断完成'rn ENDrnrn if(@EndTime!=null)rn BEGINrn --print '到达时间判断'rn SET @sql = @sql +' and re.CreateTime rnrn PRINT @sqlrn EXEC (@sql)rn rnEND[/code]rn[img=https://img-bbs.csdn.net/upload/201611/29/1480410563_632951.png][/img]rn为什么输了时间还是没进行比较
电源原理图
<em>帮忙</em><em>看下</em>,急用
BoigleWeb.zip
BoigleWeb<em>帮忙</em><em>看下</em>样式...
易语言钓鱼源码
求<em>大神</em>买走 求<em>大神</em>买走 易语言钓鱼源码
为什么jsp中form表单向serverlet提交数据,显示文件错误,请大神帮我分析一下什么地方出错了
&amp;lt;body&amp;gt;  form表单    &amp;lt;form action=&quot;web/HelloWorld&quot; name=&quot;form&quot; method=&quot;get&quot;&amp;gt;      Name:&amp;lt;input type=&quot;text&quot; name=&quot;Name&quot; max=&quot;20&quot;/&amp;gt;&amp;lt;br/&amp;gt;      Pasd
ondraw不执行,请大神帮忙
ondraw不执行,请<em>大神</em><em>帮忙</em>
websocket_for_linux
websocket在c语言下的整合包,实现数据传输协议和sha1哈希一次握手连接
音乐播放器
自己做的一个播放器,原本是打算做成当设置成铃音后,Listview后面会出现一个音乐图标,不过一直无法实现,请<em>大神</em><em>帮忙</em><em>看下</em>
login_test错误
错误,求<em>帮忙</em>调试~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~·
centos的php-fpm下开启独立的php错误日志文件
nnginx是一个web服务器,因此nginx的access日志只有对访问页面的记录,不会有php 的 error log信息。rn rnnginx把对php的请求发给php-fpm fastcgi进程来处理,默认的php-fpm只会输出php-fpm的错误信息,在php-fpm的errors log里也看不到php的errorlogrn rn原因是php-fpm的配置文件php-fpm.conf...
ssm例子一直报错userDao无法注入
哪个<em>大神</em><em>帮忙</em>看看,谢谢啦
在CentOS6.8上部署项目以及如何查看错误日志
现在很多项目都部署在Linux服务器上运行,现在我以虚拟机为服务器,说一下怎样部署一个项目并运行。n第一步:环境准备n1.1  安装JDKn       关于JDK的安装我这里不做详细介绍,大家可以参考:http://blog.csdn.net/u012453843/article/details/52422736这篇博客进行安装n1.2 安装mysqln      关于Mysql的安装
系统错误日志与应用程序错误日志.求大家帮忙
服务器装有pop3.速达3000.sql2000sp4.TradeCRM Serverrn最近速达客户端那边经常有问题.rnrnrnrnrnrn系统<em>错误日志</em>(1-2个几乎每天出现)rnrn事件类型: 错误rn事件来源: Service Control Managerrn事件种类: 无rn事件 ID: 7000rn日期: 2010-1-16rn事件: 10:45:29rn用户: N/Arn计算机: SVCTAG-97NWQ2Xrn描述:rn由于下列错误,HookPort 服务启动失败: rn函数不正确。 rnrn有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。rnrn事件类型: 错误rn事件来源: Service Control Managerrn事件种类: 无rn事件 ID: 7000rn日期: 2009-12-22rn事件: 11:09:16rn用户: N/Arn计算机: SVCTAG-97NWQ2Xrn描述:rn由于下列错误,qutmipc 服务启动失败: rn连到系统上的设备没有发挥作用。 rnrn有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。rnrnrn事件类型: 错误rn事件来源: Service Control Managerrn事件种类: 无rn事件 ID: 7034rn日期: 2009-12-25rn事件: 18:39:07rn用户: N/Arn计算机: SVCTAG-97NWQ2Xrn描述:rn服务 主动防御 意外停止。这发生了 1 次。rnrn有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。rnrn应用程序<em>错误日志</em>rnrn事件类型: 警告rn事件来源: SQLSERVERAGENTrn事件种类: Job Engine rn事件 ID: 208rn日期: 2010-2-6rn事件: 0:00:02rn用户: N/Arn计算机: SVCTAG-97NWQ2Xrn描述:rnSQL Server Scheduled Job 'DB 维护计划“数据库维护计划每天”的 事务日志备份作业(多服务器)。' (0xCB32B4469BB3674F8763BCE8E22B5A91) - Status: 失败 - Invoked on: 2010-02-06 00:00:00 - Message: 作业失败。 调度 3 (第 1 调度) 唤醒调用了该作业。最后运行的步骤是第 1 步(第 1 步)。.rnrn有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。rnrnrnrn事件类型: 警告rn事件来源: MSSQLServerrn事件种类: (8)rn事件 ID: 19011rn日期: 2010-1-18rn事件: 17:47:48rn用户: N/Arn计算机: SVCTAG-97NWQ2Xrn描述:rnSuperSocket 信息: (SpnRegister) : Error 1355。rnrn有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。rnrnrnrn
labview信号发生器
实现信号发生器功能 可添加不同噪声。并求<em>大神</em><em>帮忙</em>解决为什么频率高时失真严重,要求最高能达到20000HZ
通达信指标2
求<em>大神</em><em>帮忙</em>破解下,非常感谢,一直想用,可是不会破解密码,网上的操作好多,可是都试过了打不开,希望好心人帮<em>帮忙</em>
大神帮忙看下
2012-11-15 14:07:45 org.apache.coyote.http11.Http11Protocol pausern信息: Pausing Coyote HTTP/1.1 on http-80rn2012-11-15 14:07:46 org.apache.catalina.core.StandardService stoprn信息: Stopping service Catalinarn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: A web application registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThreadrn严重: A web application appears to have started a TimerThread named [Timer-0] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThreadrn严重: A web application appears to have started a TimerThread named [timerFactory] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1c6f0bd]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e743ad]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@c17ef]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@f90303]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@34bd88]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@874fba]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@183553a]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@15054a3]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:47 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1a24060]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@130770e]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:47 org.apache.coyote.http11.Http11Protocol destroyrn信息: Stopping Coyote HTTP/1.1 on http-80rnrnrnrn
大神帮忙看下。。。
七月 22, 2014 10:47:27 上午 org.apache.catalina.core.AprLifecycleListener initrnINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;F:\app\zhangchaowu\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.7.0_10\bin;C:\Program Files (x86)\Java\jdk1.7.0_10\jre\bin;;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;F:\工作\eclipse\eclipse;;.rn七月 22, 2014 10:47:27 上午 org.apache.tomcat.util.digester.SetPropertiesRule beginrnWARNING: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:TellingB2B' did not find a matching property.rn七月 22, 2014 10:47:27 上午 org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["http-bio-8080"]rn七月 22, 2014 10:47:27 上午 org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["ajp-bio-8009"]rn七月 22, 2014 10:47:27 上午 org.apache.catalina.startup.Catalina loadrnINFO: Initialization processed in 303 msrn七月 22, 2014 10:47:27 上午 org.apache.catalina.core.StandardService startInternalrnINFO: Starting service Catalinarn七月 22, 2014 10:47:27 上午 org.apache.catalina.core.StandardEngine startInternalrnINFO: Starting Servlet Engine: Apache Tomcat/7.0.29rn七月 22, 2014 10:47:33 上午 org.apache.catalina.core.ApplicationContext logrnINFO: No Spring WebApplicationInitializer types detected on classpathrn七月 22, 2014 10:47:33 上午 org.apache.catalina.core.ApplicationContext logrnINFO: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rnlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.rnrn启项目到这个地方就一直不动了,有没有遇到同样情况的?
大神帮忙看下 多谢
我们最近用clocklingIT 感觉保存的时候特别慢,我找到save_log这个方法,想在里面加几个时间戳,看看到底是哪里耗时,请问我用logger记日志可以么 怎么log下当前时间呢?多谢
各位大神帮忙看下
templaternclass Arn…;rnrntemplaternvector*> vec;rnrn这段代码有啥问题?
ios-自定义时间选择器.zip
下了很多<em>大神</em>代码,这次第一次上传代码,新人求<em>大神</em>指点,求字词!
求助大神帮忙看下!!!
麻烦哪位<em>大神</em>能<em>帮忙</em><em>看下</em> 下面代码中的$testid是哪里来的,小弟谢谢啦!rnrn rn";rnif (!isset($_SESSION[alogin]))rnrn echo " You are not Logged On Please Login to Access this Page";rn echo " Click Here for Login";rn exit();rnrnecho " Add Question ";rnif($_POST[submit]=='Save' || strlen($_POST['testid'])>0 )rnrnextract($_POST);rnmysql_query("insert into mst_question(test_id,que_desc,ans1,ans2,ans3,ans4,true_ans) values ('$testid','$addque','$ans1','$ans2','$ans3','$ans4','$anstrue')",$cn) or die(mysql_error());rnecho " Question Added Successfully.";rnunset($_POST);rnrn?>rn rn rn rn rn Select Test Name rn rn rn$row[2]";rnrnelsernrnecho "$row[2]";rnrnrn?>rn rn rn rn Enter Question rn rn rn rn rn Enter Answer1 rn rn rn rn rn Enter Answer2 rn rn rn rn rn Enter Answer3 rn rn rn rn rn Enter Answer4rn rn rn rn rn Enter True Answer rn rn rn rn rn rn rn rn rn rnrn rn
求Activiti大神帮忙看下是什么问题
严重: Servlet.service() for servlet [cn.itcast.actviti.servlet.processinstance.SignalProcessInstanceServlet] in context with path [/activiti_04] threw exceptionrnorg.activiti.engine.ActivitiException: UserTask should not be signalled before completernrn这是什么错误?rnrnjava 代码:rn //获取流程实例IDrn String id = request.getParameter("id");rn //获取流程定义IDrn String pid = request.getParameter("pid");rn //获取运行服务对象rn RuntimeService runtimeService = pe.getRuntimeService();rn //进行下一步rn runtimeService.signal(id);
大神帮忙看下这个makefile
[code=c]obj-m:=k.orn KERNELBUILD:=/lib/modules/$(shell uname -r)/buildrndefault:rn make -C $(KERNELBUILD) M=$(shell pwd) modulesrnclean:rn make clean all[/code]rnrnrn
我的jboss启动错误,求大神帮忙看下
===============================================================================rnrn JBoss Bootstrap Environmentrnrn JBOSS_HOME: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GArnrn JAVA: D:\Program Files (x86)\java\jdk1.8.0_25\bin\javarnrn JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25rn6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsrnun.rmi.dgc.server.gcInterval=3600000rnrn CLASSPATH: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\bin\run.jarrnrn===============================================================================rnrnJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; suprnport was removed in 8.0rn21:00:47,714 INFO [ServerImpl] Starting JBoss (Microcontainer)...rn21:00:47,715 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVrnNTag=JBoss_5_0_0_GA date=200812042120)rn21:00:47,715 INFO [ServerImpl] Bootstrap URL: nullrn21:00:47,715 INFO [ServerImpl] Home Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jrnboss-5.0.0.GArn21:00:47,716 INFO [ServerImpl] Home URL: file:/E:/J2EE/我的j2ee/jboss-5.0.0.GA-rnjdk6/jboss-5.0.0.GA/rn21:00:47,717 INFO [ServerImpl] Library URL: file:/E:/J2EE/我的j2ee/jboss-5.0.0.rnGA-jdk6/jboss-5.0.0.GA/lib/rn21:00:47,719 INFO [ServerImpl] Patch URL: nullrn21:00:47,720 INFO [ServerImpl] Common Base URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/common/rn21:00:47,721 INFO [ServerImpl] Common Library URL: file:/E:/J2EE/我的j2ee/jbossrn-5.0.0.GA-jdk6/jboss-5.0.0.GA/common/lib/rn21:00:47,721 INFO [ServerImpl] Server Name: defaultrn21:00:47,722 INFO [ServerImpl] Server Base Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\serverrn21:00:47,723 INFO [ServerImpl] Server Base URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/server/rn21:00:47,724 INFO [ServerImpl] Server Config URL: file:/E:/J2EE/我的j2ee/jboss-rn5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/rn21:00:47,724 INFO [ServerImpl] Server Home Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\defaultrn21:00:47,725 INFO [ServerImpl] Server Home URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/server/default/rn21:00:47,726 INFO [ServerImpl] Server Data Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\datarn21:00:47,727 INFO [ServerImpl] Server Library URL: file:/E:/J2EE/我的j2ee/jbossrn-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/lib/rn21:00:47,728 INFO [ServerImpl] Server Log Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GA-rnjdk6\jboss-5.0.0.GA\server\default\logrn21:00:47,729 INFO [ServerImpl] Server Native Dir: E:\J2EE\我的j2ee\jboss-5.0.0.rnGA-jdk6\jboss-5.0.0.GA\server\default\tmp\nativern21:00:47,729 INFO [ServerImpl] Server Temp Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\tmprn21:00:47,730 INFO [ServerImpl] Server Temp Deploy Dir: E:\J2EE\我的j2ee\jboss-5rn.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp\deployrn21:00:48,211 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/Jrn2EE/我的j2ee/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/bootstrap.xmrnlrn21:00:48,556 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plrnugins.cache.IterableTimedVFSCache]rn21:00:48,562 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCachelifetrnime=1800, resolution=60]rn21:00:48,764 INFO [CopyMechanism] VFS temp dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\tmprn21:00:48,767 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.rnrn21:00:49,521 INFO [ServerInfo] Java version: 1.8.0_25,Oracle Corporationrn21:00:49,521 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 25.25rn-b02,Oracle Corporationrn21:00:49,522 INFO [ServerInfo] OS-System: Windows 8 6.2,amd64rn21:00:49,560 INFO [JMXKernel] Legacy JMX core initializedrn21:00:50,670 ERROR [AbstractKernelController] Error installing to Instantiated:rnname=StandardBindings state=Describedrnjava.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.rernflect.Constructor expected=[int] actual=[java.util.HashSet]rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(rnReflectionUtils.java:395)rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(RrneflectionUtils.java:153)rn at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.nernwInstance(ReflectConstructorInfoImpl.java:106)rn at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicCrnonstructorJoinPoint.java:80)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.crearnteTarget(AOPConstructorJoinpoint.java:276)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.disprnatch(AOPConstructorJoinpoint.java:97)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoirnnpointDispatchWrapper.execute(KernelControllerContextAction.java:241)rn at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutiornnWrapper.java:47)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.disrnpatchExecutionWrapper(KernelControllerContextAction.java:109)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.disrnpatchJoinPoint(KernelControllerContextAction.java:70)rn at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInrnternal(InstantiateAction.java:66)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installActionrn(InstallsAwareAction.java:54)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installActionrn(InstallsAwareAction.java:42)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simrnpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.insrntall(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.installrn(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstrarnctControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:1598)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstrarnctController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstrrnactController.java:1062)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstrrnactController.java:984)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:774)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:540)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeanrn(AbstractKernelDeployer.java:331)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeanrns(AbstractKernelDeployer.java:309)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbsrntractKernelDeployer.java:130)rn at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKrnernelDeployer.java:76)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBarnsicXMLDeployer.java:91)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBarnsicXMLDeployer.java:161)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.javarn:144)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:rn394)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:745)rn21:00:50,913 INFO [ProfileServiceImpl] Loading profile: default from: org.jbossrn.system.server.profileservice.repository.SerializableDeploymentRepository@230fcfrn8f(root=E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jbosrns.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=defarnult])rn21:00:50,919 INFO [ProfileImpl] Using repository:org.jboss.system.server.profilrneservice.repository.SerializableDeploymentRepository@230fcf8f(root=E:\J2EE\我的jrn2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.rnProfileKey@143b82c3[domain=default,server=default,name=default])rn21:00:50,921 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@6a3c533akeyrn=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,rnname=default]rnFailed to boot JBoss:rnjava.lang.IllegalStateException: Incompletely deployed:rnrn*** DEPLOYMENTS IN ERROR: Name -> ErrorrnStandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new forrn target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]rnrn*** DEPLOYMENTS MISSING DEPENDENCIES: Name -> DependencyRequired State:Actual SrntaternServiceBindingStore -> StandardBindingsInstalled:**ERROR**rnSystemPropertyBinder#1 -> ServiceBindingManagerInstalled:DescribedrnServiceBindingManager -> ServiceBindingStoreInstalled:InstantiatedrnSystemPropertyBinder -> SystemPropertyBinder#1Installed:Describedrnrn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalVarnlidate(AbstractKernelDeployer.java:290)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(ArnbstractKernelDeployer.java:174)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.javarn:148)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:rn394)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:745)rn21:00:51,314 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: truern21:00:51,320 INFO [ServerImpl] Shutdown completernShutdown completernHalting VMrn请按任意键继续. . .
大神帮忙看下哪里问题。
use school_MSrngorncreate procedure Proclnsertrn(@hao varchar(20),@ke varchar(20),@tai varchar(20))rnasrnbeginrnselect sname,score,cnamernfrom course b join student c join student_course arnon b.cno=a.tcidrnon a.sno=c.snornbeginrnif @hao='B0451101'and @ke=30020108rnupdate student_coursernset @tai=-101rnwhere @hao='B0451101' and @ke=30020108rnprint '该学生已经在该门课程的成绩已经存在';rnelse  rn update student_coursernset @tai=10rnprint '该条记录可以添加'rnendrnendrngo
大神帮忙看下这个错误是什么
[code=text]八月 07, 2013 9:50:29 上午 org.apache.catalina.loader.WebappClassLoader loadClassrnINFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.mina.core.session.SessionState. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnjava.lang.IllegalStateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnrnException in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/apache/mina/core/session/SessionStatern at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ClassNotFoundException: org.apache.mina.core.session.SessionStatern at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn ... 9 morern[/code]rn
PHP调用WebService,求大神帮忙看下~
[code=php]rn'1','outCount'=>'10');rn$ret = $client->LatestNews($param);rnif($ret->return)rn print_r($ret->return);rnelsern echo 'no user';rnrn?>rn[/code]rn[img=https://img-bbs.csdn.net/upload/201305/13/1368433230_100007.jpg][/img]rnrn简单的调用Webservice,这是什么错呢?求<em>大神</em>指导~
大神帮忙看下这个控件
http://www.cnblogs.com/nosnowwolf/archive/2008/07/22/1248796.htmlrnrnrn在winform中做了一个分页控件。 根据作者的源码,完成了数据的绑定分页。rnrnrn[code=csharp]rnpageDate.QueryCondition = strsql;rnthis.pager1.bindingSource.DataSource = pageDate.QueryDataTable().Tables[0];rnthis.pager1.bindingNavigator.BindingSource = pager1.bindingSource;rnthis.dgvAlarmFloor.DataSource = this.pager1.bindingSource;rnreturn pageDate.TotalCount;rn[/code]rnrn但是在显示界面,显示的时间只能精确到分, 不能精确到秒。 打断点到从数据库返回的DS表里,时间都是精确到秒的。在数据库运行存储过程,时间是2014-11-12 15:14:53.380精确到这种的。rnrnrnrn求<em>大神</em><em>帮忙</em><em>看下</em>。
大神帮忙看下代码哪有问题
当点击发送时,就卡住不能操作了 是哪的问题啊rn下面是完整版代码。rnrn //定义串口对象rn SerialPort myCom = new SerialPort();rn public static int RX = 0;rn public static int TX = 0;rn //定义动态字符串,用来存储接受的数据rn public StringBuilder RecStr = new StringBuilder(4096);rnrn private void FrmRecAndSend_Load(object sender, EventArgs e)rn rn //初始化comboBox控件rn this.comName.SelectedIndex = 0;rn this.comBaudRate.SelectedIndex = 3;rn this.comByteSize.SelectedIndex = 0;rn this.comParity.SelectedIndex = 0;rn this.comStopBits.SelectedIndex = 0;rn rn //打开或关闭串口rn private void btnOpen_Click(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn myCom.Close();rn //状态栏显示串口名称,以及是否为打开状态rn this.statusCom.Text = "STATUS:" + myCom.PortName + "CLOSED!";rn this.btnOpen.Text = "打开串口";rn rn elsern rn //初始化串口属性rn this.comboBoxChang();rn myCom.Open();rn //状态栏显示串口名称以及是否为打开状态rn this.statusCom.Text = "STATUS:" + myCom.PortName + "OPENED";rn this.btnOpen.Text = "关闭串口";rn this.timerRec.Enabled = true;rn rn rnrn //初始化串口信息rn public void comboBoxChang()rn rn tryrn rn myCom.PortName = this.comName.SelectedItem.ToString();rn myCom.BaudRate = Convert.ToInt16(this.comBaudRate.SelectedItem.ToString());rn myParity();rn myCom.DataBits = Convert.ToInt16(this.comByteSize.SelectedItem.ToString());rn myStopBits();rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn rn rn //根据选择确认校验位rn public void myParity()rn rn if (this.comParity.SelectedIndex == 0)rn rn myCom.Parity = Parity.None;rn rn elsern rn if (this.comParity.SelectedIndex == 1)rn rn myCom.Parity = Parity.Odd;rn rn elsern rn myCom.Parity = Parity.Even;rn rn rn rnrn //根据选择确定停止位rn public void myStopBits()rn rn int caseSwitch = this.comStopBits.SelectedIndex;rn switch (caseSwitch)rn rn case 1:rn myCom.StopBits = StopBits.OnePointFive;rn break;rn case 2:rn myCom.StopBits = StopBits.Two;rn break;rn default:rn myCom.StopBits = StopBits.One;rn break;rn rn rnrn //发送按钮,发送下面的要发送的数据rn private void btnSend_Click(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn if (this.tBoxSed.Text == "")rn rn MessageBox.Show("发送的数据为空");rn rn tryrn rn myCom.Write(this.tBoxSed.Text);rn TX += this.tBoxSed.Text.Trim().ToString().Length;rn this.tBoxTX.Text = TX.ToString();rn rn catch (Exception ex)rn rn MessageBox.Show("发送数据失败!" + ex);rn rn rn elsern rn MessageBox.Show("请确认串口为打开状态");rn rn rn //关闭窗体则关闭串口rn private void FrmRecAndSend_Closing(object sender, CancelEventArgs e)rn rn myCom.Close();rn rn rn //去掉发送数组中的空格rn private string delSpace(String putin)rn rn string putout = "";rn for (int i = 0; i < putin.Length; i++)rn rn if(putin[i] != ' ')rn rn putout += putin[i];rn rnrn rn return putout;rn rnrn //显示包信息rn public string dis_package(char[] recB)rn rn string tempT = "";rn foreach(char b in recB)rn rn tempT += b.ToString() + "";rn rn return tempT;rn rnrn //自动检测串口是否为打开状态,若为打开状态,自动把接收的数据显示在接收区内rn private void timerRec_Tick(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn tryrn rn int numByte = myCom.BytesToRead;rn if (numByte != 0)rn rn char[] TempByte = new char[2048];rn int numStr = myCom.Read(TempByte, 0, numByte);rn RecStr.Append(TempByte);rn this.tBoxRec.Text = tBoxRec.Text + RecStr.ToString();rn RX += numStr;rn this.tBoxRec.Text = RX.ToString();rn if (this.tBoxRec.Text.Length > 138)rn rn this.tBoxRec.Text = string.Empty;rn rn RecStr.Remove(0, RecStr.Length);rn rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn rn elsern rn this.timerRec.Enabled = false;rn rn rnrn //根据时间来自动发送数据rn private void timerAutoSend_Tick(object sender, EventArgs e)rn rn tryrn rn myCom.Write(this.tBoxSed.Text);rn TX += this.tBoxSed.Text.Trim().ToString().Length;rn this.tBoxTX.Text = TX.ToString();rn rn catch (Exception ex)rn rn MessageBox.Show("发送失败!" + ex);rn rn rn //检查自动发送的选择按钮是否选中,若选中,则开启自动发送的时间事件rn private void cBoxSendSelf_CheckStateChanged(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn if (this.tBoxSed.Text == "")rn rn MessageBox.Show("发送为空");rn return;rn rn elsern rn if (this.cBoxSendSelf.Checked == true)rn rn this.timerAutoSend.Interval = Convert.ToInt16(this.tTime.Text.Trim().ToString());rn this.timerAutoSend.Enabled = true;rn rn elsern rn this.timerAutoSend.Enabled = false;rn rn rn rn elsern rn MessageBox.Show("请确定串口为打开状态!");rn this.cBoxSendSelf.Checked = false;rn rn rnrn private void btnCountReset_Click(object sender, EventArgs e)rn rn TX = 0;rn RX = 0;rn this.tBoxTX.Text = TX.ToString();rn this.tBoxRX.Text = RX.ToString();rn rn
大神帮忙看下算法的错误
#include "stdio.h"rn#include "malloc.h"rnint maxzu(int x,int y);rntypedef struct nodern int a;rn struct node *next;rnlinknode,*link;rnlink Creatlist()rnrn int num;rn link H,r,p;rn H=(link)malloc(sizeof(linknode));rn r=H;rn printf("please put the num:");rn scanf("%d",&num);rn while (num!=35)rn rn p=(link)malloc(sizeof(linknode));rn p->a =num;r->next=p;r=p;rn printf("please put num:");rn scanf("%d",&num);rn rn r->next=NULL;rn return H;rnrnlink Adjmax(link H,int k)rnrn link p1,p2,p3;rn p1=H;rn int i=1,max[100],maxfinal,nodefinal;rn int cachevalue[100];rn cachevalue[0]=0;rn max[0]=1;rn for(int j=0;max[j]!=NULL;j++)rn rn p1=p1->next;rn p2=p1; rn for(i;ia;rn p2=p3->next;rn rn max[j]=cachevalue[0];rn rn int m;rn for(int f=1,m=max[0],n=0;fm)rn rn m=maxzu(m,max[f]);rn n=f;rn rn rn printf("序号/n值/n",n+1,m);rnrnint maxzu(int x,int y)rnrn return(x>y? x:y);rnrnrnvoid main()rnrn link L;rn L=Creatlist();rn int k;rn printf("please put the k");rn scanf("%d",k);rn Adjmax(H,k);rn
大神帮忙看下问题在哪
大一新萌实验周要编程序,求<em>大神</em>们看看出错在哪[img=https://img-bbs.csdn.net/upload/201804/13/1523577954_632017.png][/img]
anroid xmpp即时通讯的问题 求大神帮忙看下
本人刚学android不久,现在再做一个xmpp的demo 客户端发送消息时rnchat.sendMessage();可以填两种参数 一种是直接发送字符串,一种是发送一个Message 对象  收到消息的监听类如下rnpublic class TaxiChatManagerListener implements ChatManagerListener {rnprivate Context mCon
大神帮忙看下这个题目
小明总共有n天假期,他可以一次休息1天,也可以一次休息2天,问有多少种休假方式rnrnint Holiday_Solution(unsigned int n)rnrn int result[2] = 0,1;rn if(n<=n; i++)rn rn ____?______;rn ____?______;rn ____?______;rn rn return fibN;rnrnrn求<em>大神</em><em>帮忙</em>填下问号的地方,顺便解释下这段程序。。。
大神帮忙看下我的if判断
[code=php]rnrn rn rn rn rn rn rn rn 1111rn rn[/code]rn想让这里当if($bank['bankId'] == 2)没有内容时,显示111,该怎么写,我这个判断不对,打印出来是三个111 111 111rn我想只要一个111
大神帮忙看下这道题
1. 编程实现在一个9位数的正整数n中插入4个乘号,使分得的5个整数的乘积最大;rnrn2. 输入 nrnrn3. 输出 被分得的5个整数、得到的最大乘积rnrn4. 例如:输入 734019862rn 输出 73*401*9*8*62=130674672rnrn 算法上怎么实现,或者给点思路吧,谢谢!
ssh整合异常,求大神帮忙看下
2015-8-4 14:33:52 org.apache.struts2.dispatcher.Dispatcher errorrn严重: Exception occurred during processing request: nullrnjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)rn at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rnrnrn
大神帮忙看下CDHtmlDialog的一个问题
我用CDHtmlDialog的Navigate加载了一个html页面,调用insertAdjacentHTML加了点html内容进去.成功显示出了自己想要的东西,但是在点击界面的其它按钮(非html按钮)时,经常会出现下面这种情况rn[img=https://img-bbs.csdn.net/upload/201402/14/1392370956_773155.jpg][/img]rnrn正常情况:rn[img=https://img-bbs.csdn.net/upload/201402/14/1392371047_539393.jpg][/img]
数据解析,在线等,求大神帮忙看下
n "action": 0,n "message": "成功",n "Pages": 0,n "Addition": n "TOTAL": "100MB",n "RIGHT": "1",n "USED": "31.07MB"n ,n "resultlist": [],n "datalist": [n n "COLLECT": "0",n "TSF_SIZE": "",n "TSF_PWD": "",n "TYPE": "0",n "URL": "",n "TSF_NAME": "Qweqwe",n "TSF_NO": "26",n "TSF_DATE": "2017/6/30 13:28:45",n "TSF_TYPE": "",n "SDID": "1"n ,n n "COLLECT": "0",n "TSF_SIZE": "",n "TSF_PWD": "123",n "TYPE": "0",n "URL": "",n "TSF_NAME": "113",n "TSF_NO": "20",n "TSF_DATE": "2017/6/26 9:02:13",n "TSF_TYPE": "",n "SDID": "1"n n ]nn我要的要上面Addition里面的数据该怎么解析。求<em>大神</em><em>帮忙</em><em>看下</em>。n
WPF宝石消除完美版
自己做的一个小游戏 WPF,喜欢学习的可以<em>帮忙</em><em>看下</em>
SQL server应用程序
大家<em>帮忙</em><em>看下</em>Mysql 应用 程序看能不能用
众数的程序(使用到快速排序)
以下这个众数的程序,<em>帮忙</em><em>看下</em>哪里出错了?
大神看下sql
现有两张表hz_qyhznr bf_qyhznrrn关联条件hz_qyhznr.nbxh=bf_qyhznr.nbxhrnhz_qyhznr 主键:nbxhrnbf_qyhznr 主键: nbxh bfxhrnrn现在需要从bf_qyhznr取出一条数据,将其中的字段clrq,jyqsrq 赋值到hz_qyhznr中对应字段rnrn取的bf_qyhznr数据要求:bf_qyhznr.bfxh最大
动态库DLL文件
动态库文件,希望<em>大神</em>能够<em>帮忙</em>破解,在此拜谢!
大神看下~
以下为部分代码[code=c] #region 加载数据rn private void DataLoad()rn rn bool bOpen=(this.connMain.State==System.Data.ConnectionState.Open);rn tryrn rn if(!bOpen)rn rn this.connMain.Open();rn rn if(this.dataset11.Tables["PropertyZZJG"]!=null)rn rn this.dataset11.Tables["PropertyZZJG"].Clear();rn rn this.daMaster.SelectCommand.CommandText=@"select * from PropertyZZJG order by CurrentId";rn this.daMaster.Fill(this.dataset11,"PropertyZZJG");rnrn rn if(this.dataset11.Tables["PropertyUser"]!=null)rn rn this.dataset11.Tables["PropertyUser"].Clear();rn rn this.daUser.SelectCommand.CommandText=@"select * from PropertyUser";rn this.daUser.Fill(this.dataset11,"PropertyUser");rn rn catch(System.Exception ee)rn rn MessageBox.Show(ee.Message,"系统提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);rn rn finallyrn rn if(!bOpen)rn rn this.connMain.Close();rn rn rn rn#endregionrnrn private void ReadTreeNodes1()rn rn if(this.TV_ZZJG.Nodes!=null)rn rn this.TV_ZZJG.Nodes.Clear();rn rn System.Data.DataRow[] dr=this.dtUser.Select("DepartmentID = "+this.TV_Department.SelectedNode.Tag.ToString());rn for(int i=0;i
有问题的懒加载,框架还可以使用
有问题的懒加载,有<em>大神</em><em>帮忙</em>修改么?
调用dos命令出问题了
c++...这个有问题------有大大<em>帮忙</em><em>看下</em>......
C++问题代码
自己编的代码,存在严重内存泄露,请大家<em>帮忙</em><em>看下</em>!
htc vc root
无意中得到的,技术方面不是很懂。高手<em>帮忙</em><em>看下</em>
centos7上ssh服务问题的记录
装了新的<em>centos</em>7系统,发现有些命令改变了,在这里记录下 n安装ssh服务 n查看是否安装 nrpm -qa | grep ssh[git@VM_78_130_<em>centos</em> ~]$ rpm -qa | grep sshnopenssh-clients-6.4p1-8.el7.x86_64nlibssh2-1.4.3-8.el7.x86_64nopenssh-6.4p1-8.el7.x86_64
centos7 实时查看tomcat错误信息
切换到tomcat/logs目录,执行tail -f catalina.out命令。 退出tail的命令是Ctrl+c。
centos安装hive,出错信息及解决方法总结
问题一[root@hadoop1 conf]#  hive 接下来出现:java.net.ConnectException: 拒绝连接 (Connection refused)n at java.net.PlainSocketImpl.socketConnect(Native Method)n at java.net.AbstractPlainSocketImpl.doConnect(Abstra...
Tomcat错误日志,求帮忙分析
一月 09, 2014 8:44:21 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: The web application [] appears to have started a thread named [SeedGenerator Thread] but has failed to stop it. This is very likely to create a memory leak.rnrn大概意思是开启了一个名叫SeedGenerator Thread的线程但是没有结束,可能会造成内存泄露。百度谷歌都没找到这个SeedGenerator Thread的具体信息,求各位指点~
mysql (linux环境下)查看mysql 运行错误日志
mysql (linux环境下)查看mysql 运行<em>错误日志</em>1.进入 mysql 安装目录 n 进入 data 目录(该目录存储的是数据库的数据)2.进入data 目录后可发现 有 mysql test 俩个子目录(由此可看出 mysql 数据存储是 按用户定义的不同数据库 分开存储的) n3.进入 mysql 目录 ,发现 文件后缀 .err,即是mysql 运行<em>错误日志</em>,即 可用 vi 命
大神帮忙分析一下 websphere的 错误日志
[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:368)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.sun.proxy.$Proxy25.selectOne(Unknown Source)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:163)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:95)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:40)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.sun.proxy.$Proxy121.getDataFromDatabase(Unknown Source)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.jiayu.xtggzy.service.impl.TPwDictServiceImpl.getDataFromDatabase(TPwDictServiceImpl.java:146)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at java.lang.reflect.Method.invoke(Method.java:600)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.sun.proxy.$Proxy165.getDataFromDatabase(Unknown Source)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.jiayu.util.GetDataFromDatabase.queryDateString(GetDataFromDatabase.java:45)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.jiayu.util.GetDataFromDatabase.getDateTime(GetDataFromDatabase.java:29)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.jiayu.interceptor.RightsHandlerInterceptor.preHandle(RightsHandlerInterceptor.java:28)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:914)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1661)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1602)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:80)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:507)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:878)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:191)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)rn[17-3-16 15:25:46:186 CST] 00000040 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)rn
我自己写的一个赛车(菜鸟)java
我自己写的一个赛车(菜鸟) java 求 <em>帮忙</em>。BUG比较多。。 还有屏幕刷新率太恶心了。。求<em>帮忙</em>怎么设置成只刷新赛车
wpa握手包求解
求大家一起来破解,我跑了好久。出不来密码,求那位大虾<em>帮忙</em>,谢谢
PHP MVC Model类
PHP 网站后台 MVC框架 增删改查 求<em>大神</em>分享 !!!
centos常用命令
<em>centos</em>常用命令以及使用方法,有需要的可以<em>看下</em>。
打开centos出现无法打开的情况
n n n 如图,今天打开<em>centos</em>的时候,是这样的nnnnnn然后点击,之后会是这样nnnnnn之前也遇到过这种情况,就傻瓜式的删掉了,今天找到了一个办法,我是这样操作的,打开配置文件的文件夹,会有这样的文件夹,nnnnnn然后我对它进行了重命名,改成了这样nnnnnn然后重新启动就好了。n n nn...
大神帮忙看下错。
应用抽象类rnrn#includernclass listrnrnpublic:rn list *head;rn list *tail;rn list *next;rn int num;rn list()rn rn head=tail=next;rn rn virtual void store(int i)=0;rn virtual int retrieve()=0;rn;rnclass queuernrnpublic:rn int retrieve();rn void store(int i); rn;rnvoid queue::store(int i)rnrn list *item;rn item=new queue;rn if(!item)rn rn coutnext=NULL;rn if(!head)rn head=tail;rnrnint queue::retrieve()rnrn int i;rn list *p;rn if(!head)rn rn coutstore(1);rn p->store(2);rn p->store(3);rn cout<<<<<<<
大神帮忙看下这个明文
1D000000000000009D96B63C685DD5DB8A08B93BAF3890DCD6DCC82F74A41B9DEC49108AD14DECA7rnrn有<em>大神</em>知道这段明文是用什么加密来的吗?
查看PHP错误日志
想查看PHP<em>错误日志</em>,首先需要对php.ini进行配置,在php.ini中设置log_errors和error_log两项。rnlog_errors:设置为On,表示将脚本运行的错误信息记录到日志中。rnerror_log:用于设置<em>错误日志</em>的路径。rn注:服务器端配置时,还需要设置error_reporting和display_errors两项;rnerror_reporting应该设置为E_AL
MySQL的错误日志文件的修改
MySQL的<em>错误日志</em>文件的修改rn1、在配置文件中修改log-errorrnlog-error=/mysql/my3310/log/master-error.logrn2、启动实例rn[root@<em>centos</em>7 my3310]# /mysql/my3310/bin/mysqld_safe --defaults-file=/mysql/my3310/my.cnf &amp;amp;amp;amp;amp;rn[1] 9783rn[root@c...
各位大神帮忙看下
错误提示‘rnrnMultiple annotations found at this line:rn - Syntax error, insert ";" to complete rn Statementrn - Syntax error, insert ")" to complete rn MethodInvocationrnrnjsp代码rn rn 错误点rn rn 错误点rn
servlet编译错误,大神帮忙看下
servlet开发环境应该是搭建好的,应该写helloservlet程序是没有问题的,并且用tomcat发布成功,今天写cookie,唯独不可以编译!一直提示参数错误,Cookie的构造方法,如果没有参数,反而是编译通过,我实在是无语了。rn[code=java]import java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport javax.servlet.http.Cookie;rnrnpublic class Cookie extends HttpServlet rn rn @Overridern protected void doGet(HttpServletRequest req, HttpServletResponse resp) rn throws ServletException, IOException rn for(int i = 0; i < 3; i++) rn Cookie cookie = new Cookie("session-cookie-"+i, "cookie-value-s"+i);rn cookie.setMaxAge(3600);rn resp.addCookie(cookie);rn rn rn rn @Overridern protected void doPost(HttpServletRequest req, HttpServletResponse resp)rn throws ServletException, IOException rn doGet(req, resp); rn rn[/code]rn错误提示:rn[code=java]Cookie.java:4: 错误: 已在该编译单元中定义Cookiernimport javax.servlet.http.Cookie;rn^rnCookie.java:12: 错误: 无法将类 Cookie中的构造器 Cookie应用到给定类型;rn Cookie cookie = new Cookie("session-cookie-"+i, "cookie-rn"+i);rn ^rn 需要: 没有参数rn 找到: String,Stringrn 原因: 实际参数列表和形式参数列表长度不同rnCookie.java:13: 错误: 找不到符号rn cookie.setMaxAge(3600);rn ^rn 符号: 方法 setMaxAge(int)rn 位置: 类型为Cookie的变量 cookiernCookie.java:14: 错误: 无法将接口 HttpServletResponse中的方法 addCookie应用到给定rn resp.addCookie(cookie);rn ^rn 需要: javax.servlet.http.Cookiern 找到: Cookiern 原因: 无法通过方法调用转换将实际参数Cookie转换为javax.servlet.http.Cookiern4 个错误[/code]
大神帮忙看下错在哪里
怎么运行起来后单击磁盘没有节点呢?<em>大神</em><em>帮忙</em><em>看下</em>啊,在线等rnrnimport java.awt.BorderLayout;rnimport java.awt.Color;rnimport java.awt.Component;rnimport java.awt.Container;rnimport java.awt.event.WindowAdapter;rnimport java.awt.event.WindowEvent;rnimport java.io.File;rnrnimport javax.swing.Icon;rnimport javax.swing.JFrame;rnimport javax.swing.JLabel;rnimport javax.swing.JScrollPane;rnimport javax.swing.JTree;rnimport javax.swing.event.TreeSelectionEvent;rnimport javax.swing.event.TreeSelectionListener;rnimport javax.swing.filechooser.FileSystemView;rnimport javax.swing.tree.DefaultMutableTreeNode;rnimport javax.swing.tree.DefaultTreeModel;rnimport javax.swing.tree.TreeCellRenderer;rnimport javax.swing.tree.TreePath;rnrnpublic class DiskTree extends JFrame rn rn private final class FileRenderer implements TreeCellRenderer rn @Overridern public Component getTreeCellRendererComponent(JTree tree, Object value,rn boolean selected, boolean expanded, boolean leaf, int row,rn boolean hasFocus) rn // 转换value为节点对象rn DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;rn Object userObject = node.getUserObject();rn if (!(userObject instanceof File)) rn return new JLabel(userObject.toString());rn rn File folder = (File) userObject;rn FileSystemView view = FileSystemView.getFileSystemView();rn Icon icon = view.getSystemIcon(folder);rn JLabel label = new JLabel("" + folder, icon, JLabel.LEADING);rn label.setBackground(Color.CYAN);rn if (selected) rn label.setOpaque(true);rn else rn label.setOpaque(false);rn rn return label;rn rn rn rn private DefaultMutableTreeNode rootNode;rn private JTree tree;rn private JScrollPane scrollPane;rn rn public DiskTree()rn rn addWindowListener(new WindowAdapter()rn public void windowActivated(WindowEvent e)rn do_WindowActivated(e);rn rn );rn rn rootNode = new DefaultMutableTreeNode("我的电脑");rn scrollPane = new JScrollPane();rn rn tree = new JTree();rn tree.addTreeSelectionListener(new TreeSelectionListener() rn public void valueChanged(TreeSelectionEvent e) rn do_ValueChanged(e);rn rn );rn rn rn tree.setCellRenderer(new FileRenderer());rn scrollPane.setViewportView(tree);rn rn DefaultTreeModel model = new DefaultTreeModel(rootNode);rn tree.setModel(model);rn rn Container container = getContentPane();rn container.add(scrollPane,BorderLayout.CENTER);rn rn setTitle("以树结构显示文件");rn setBounds(300,300,450,300);rn setVisible(true);rn rn rn rn public void do_WindowActivated(WindowEvent e)rn File[] dir = File.listRoots();rn for(File file:dir)rn DefaultMutableTreeNode node = new DefaultMutableTreeNode(file);rn rootNode.add(node);rn rn tree.expandPath(new TreePath(rootNode));rn rnrn public void do_ValueChanged(TreeSelectionEvent e)rn TreePath path = e.getPath();rn DefaultMutableTreeNode node = (DefaultMutableTreeNode)path.getLastPathComponent();rn Object userObject = node.getUserObject();rn if(!(userObject instanceof File))rn return;rn File folder = (File)userObject;rn if(!folder.isDirectory())rn return;rn File[] files = folder.listFiles();rn for(File file: files)rn rootNode.add(new DefaultMutableTreeNode(file));rn rn rn public static void main(String[]args)rn DiskTree application = new DiskTree();rn application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn rn rnrn
大神帮忙看下,怎么做合理
第一次做网络通信程序,各位<em>大神</em>看看该怎么设计好?rnrn这个程序每几秒跟服务器A通信,根据得到的数据进行计算得到一些数据。然后将这些数据发到一个GUI客户端绘图。rn怎么设计好?起2个进程,然后用管道通信吗?
JNI错误大神帮忙看下
错误如下,请各位大侠<em>帮忙</em>指出错误在哪个库,哪行代码解决方案。rnrnrn10-13 20:37:18.047 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: can't call android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo() on instance of android.app.Applicationrn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] in call to CallObjectMethodVrn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] "Thread-153" prio=5 tid=15 Runnablern10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x12f2b0a0 self=0x9d457c00rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | sysTid=9240 nice=0 cgrp=default sched=0/0 handle=0xb4928180rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | state=R schedstat=( 6901334 0 5 ) utm=0 stm=0 core=2 HZ=100rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | stack=0x9acea000-0x9acec000 stackSize=1012KBrn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #00 pc 00004ef0 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #01 pc 000036d5 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #02 pc 002439c9 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream >&, int, char const*, art::mirror::ArtMethod*)+68)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #03 pc 00227d71 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream >&) const+144)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #04 pc 000b099b /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #05 pc 000b10e1 /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #06 pc 000b1c9b /system/lib/libart.so (art::ScopedCheck::CheckVirtualMethod(_jobject*, _jmethodID*)+250)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #07 pc 000b8a07 /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+70)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #08 pc 000419ad /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #09 pc 0004b347 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #10 pc 00049b3b /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #11 pc 0001efab /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #12 pc 00023dbf /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #13 pc 00024221 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #14 pc 00020803 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #15 pc 00020fb1 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #16 pc 00021623 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #17 pc 00052d01 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #18 pc 00052c1d /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #19 pc 00053cdf /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #20 pc 000451ff /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #21 pc 00016eaf /system/lib/libc.so (__pthread_start(void*)+30)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #22 pc 00014deb /system/lib/libc.so (__start_thread+6)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] (no managed stack frames)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] rnrn
大神帮忙看下这段代码
public class Test rn static boolean foo(char c) rn System.out.print(c);rn return true;rn rn public static void main( String[] argv ) rn int i =0;rn for ( foo('A'); foo('B')&&(i);rn rn rn rn输出结果ABDCBDCBrn为什么
大神帮忙看下这个加密
[code=csharp]string pwd = Md5Pwd(Pwd0).ToLower();rn public string Md5Pwd(string strText)rn rn string charset = "utf-8";rn bool Is32Bit = true;rnrn string PwdKey = System.Configuration.ConfigurationManager.AppSettings["NewPayPwdKey"].Trim().ToString();rn tryrn rn strText += PwdKey;rn MD5CryptoServiceProvider MD5 = new MD5CryptoServiceProvider();rn string Md5Val = BitConverter.ToString(MD5.ComputeHash(Encoding.GetEncoding(charset).GetBytes(strText))).Replace("-", "").ToUpper();rn if (!Is32Bit)rn rn Md5Val = Md5Val.Substring(8, 16);rn rnrn if (Is32Bit)rn rn string before = Md5Val.Substring(0, 8);rnrn string middle = Md5Val.Substring(8, 16);rnrn string last = Md5Val.Substring(Md5Val.Length - 8);rnrn Md5Val = last + before + middle;rn rnrn return Md5Val;rn rn catch (Exception ex)rn rn string Errinfo = ex.Message;rn return string.Empty;rn rn rn[/code]rn我想问的是,这个md5加密看起来和常规的md5不一样啊,如果我想把这个程序加密出来的密文,还原成常规md5的密文,不知道行不行,如果可以该怎么做,如果不行,请说明原因。
android+rxjava+gson 出错,大神帮忙看下
本人新手刚自学java和安卓,现在自己摸索 SYBASE数据库+JAX-RS 和 android + retrofit + rxjava + gson : 现在总是在POST抛出异常,用CURL测试都是成功更新数据库,证明服务器端没有问题。rn08-10 12:25:36.737 2385-2500/wm.wmb E/AndroidRuntime: FATAL EXCEPTION: RxCachedThreadScheduler-1rn java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.rn at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:62)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)rn at java.util.concurrent.FutureTask.run(FutureTask.java:137)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)rn at java.lang.Thread.run(Thread.java:856)rn Caused by: java.lang.StackOverflowErrorrn at java.nio.charset.CharsetEncoderICU.getArray(CharsetEncoderICU.java:228)rn at java.nio.charset.CharsetEncoderICU.encodeLoop(CharsetEncoderICU.java:169)rn at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:415)rn at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:178)rn at java.io.OutputStreamWriter.write(OutputStreamWriter.java:324)rn at java.io.Writer.write(Writer.java:141)rn at com.google.gson.stream.JsonWriter.string(JsonWriter.java:551)rn at com.google.gson.stream.JsonWriter.writeDeferredName(JsonWriter.java:402)rn at com.google.gson.stream.JsonWriter.beginObject(JsonWriter.java:307)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:235)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactoryrnrnrnAndroid测试页面按钮代码如下(GET可以正常运行)rn Entity ls_ent=new Entity();rn ls_ent.setchnname("测试公式");rn ls_ent.setengname("tstddd");rn Gson jsonObject =new Gson();rn jsonObject.toJson(ls_ent);rn Retrofit retrofit = new Retrofit.Builder()rn .baseUrl("http://192.168.1.3:8080/wm1/rest/")rn .addConverterFactory(GsonConverterFactory.create())rn .addCallAdapterFactory(RxJavaCallAdapterFactory.create())rn .build();rn ApiService apiService = retrofit.create(ApiService.class);rn apiService.setEnInfo(jsonObject)rn .subscribeOn(Schedulers.io())rn .observeOn(AndroidSchedulers.mainThread()) rn .subscribe(new Subscriber() //32rn @Overridern public void onCompleted() rn mProgressBar.setVisibility(View.GONE);rn // mtv1.setText("OK");rnrn rnrn @Overridern public void onError(Throwable e) rn mProgressBar.setVisibility(View.GONE);rn mTvContent.setText(e.getMessage());rn mtv1.setText("NO");rnrn rnrn @Overridern public void onNext(ExResult getEnInfoResponse) rn if (getEnInfoResponse.getresult() == "Y") rn mTvContent.setText("修改公司名称成功");rn else rn mTvContent.setText("修改公司名称失败");rn rn rn ); //32rnrn///////////////////////////////////APIrnpackage wm.wmb;rnrnimport com.google.gson.Gson;rnrnimport java.util.List;rnrnimport retrofit.Call;rnimport retrofit.http.Body;rnimport retrofit.http.GET;rnimport retrofit.http.POST;rnimport retrofit.http.Query;rnimport rx.Observable;rnimport wm.wmb.model.Entity;rnimport wm.wmb.model.ExResult;rnimport wm.wmb.response.GetEnInfoResponse;rnimport wm.wmb.response.GetIpInfoResponse;rnrn/**rn * @Project retrofitrxandroiddagger2rn * @Packate com.micky.retrofitrxandroiddagger2.data.apirn * @Descriptionrn * @Author Micky Liurn * @Email mickyliu@126.comrn * @Date 2015-12-21 17:22rn * @Version 0.1rn */rnpublic interface ApiService rn /* @GET("service/getIpInfo.php")rn Call getIpInfo(@Query("ip") String ip);*/rnrn @GET("service/getIpInfo.php")rn Observable getIpInfo(@Query("ip") String ip);rn @GET("Entity/NameList")rn Observable> getEnInfo();rn @POST("Entity/Nameset")rn Observable setEnInfo(@Body Gson jsonObject);rnrnrnrn
大神帮忙看下数据库连接问题
[2015-06-09 09:00:45][com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1846)] create connection errorrncom.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.Util.getInstance(Util.java:381)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2359)rn at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:776)rn at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)rn at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:148)rn at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)rn at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)rn at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1377)rn at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1431)rn at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)rnCaused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrnThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.rn at sun.reflect.GeneratedConstructorAccessor28.newInstance(Unknown Source)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:343)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2283)rn ... 15 morernCaused by: java.net.UnknownHostException: loalhsotrn at java.net.InetAddress.getAllByName0(InetAddress.java:1157)rn at java.net.InetAddress.getAllByName(InetAddress.java:1083)rn at java.net.InetAddress.getAllByName(InetAddress.java:1019)rn at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:243)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:292)rn ... 16 morern
InflateException,哪位大神帮忙看下
android.view.InflateException: Binary XML file line #2 Error inflating class com.wudi.todo.TodoListItemView.rn一直报这个异常,不知道怎么回事,google了好多结果说是构造方法的问题,我构造方法三个都写了还是没用,[code=Java]rnpackage com.wudi.todo;rnrnimport android.content.Context;rnimport android.content.res.Resources;rnimport android.graphics.Canvas;rnimport android.graphics.Paint;rnimport android.util.AttributeSet;rnimport android.widget.TextView;rnrnpublic class ToDoListItemView extends TextView rnrn public ToDoListItemView(Context context, AttributeSet attrs, int defStyle) rn super(context, attrs, defStyle);rn init();rn // TODO Auto-generated constructor stubrn rnrn public ToDoListItemView(Context context, AttributeSet attrs) rn super(context, attrs);rn init();rn // TODO Auto-generated constructor stubrn rnrn public ToDoListItemView(Context context) rn super(context);rn init();rn // TODO Auto-generated constructor stubrn rn private Paint marginPaint;rn private Paint linePaint;rn private int paperColor;rn private float margin;rn rn public void init()rn Resources myResources=getResources();rn marginPaint=new Paint(Paint.ANTI_ALIAS_FLAG);rn rn marginPaint.setColor(myResources.getColor(R.color.notepad_margin));rn linePaint=new Paint(Paint.ANTI_ALIAS_FLAG);rn linePaint.setColor(myResources.getColor(R.color.notepad_lines));rn rn paperColor=myResources.getColor(R.color.notepad_paper);rn margin=myResources.getDimension(R.dimen.notepad_margin);rn rnrn @Overridern protected void onDraw(Canvas canvas) rn // TODO Auto-generated method stubrn super.onDraw(canvas);rn canvas.drawColor(paperColor);rn rn canvas.drawLine(0, 0, getMeasuredHeight(), 0, linePaint);rn canvas.drawLine(0, getMeasuredHeight(), getMeasuredWidth(), getMeasuredHeight(), linePaint);rn rn canvas.drawLine(margin, 0, margin, getMeasuredHeight(), marginPaint);rn rn canvas.save();rn canvas.translate(margin, 0);rn rn super.onDraw(canvas);rn canvas.restore();rn rn rnrnrnrn[/code]rn这是报错的那个类rn[code=XML]rnrn[/code]rn这是报错的那个XMLrn
大神帮忙看下啊!!!
我写了一段代码,循环等待接受用户输入,并根据输入的年月输出当月的月历,且按键盘的左右键时可以显示前一月后一月的月历。我对这个键盘控制真的不清楚啊,,请<em>大神</em>点拨下啊。rnrnrnrnrn#include rn#includern#includern#includernrn/*定义常量*/rnrn/*左移键*/rnrn#define LEFT 0x4b00rnrn/*右移键*/rnrn#define RIGHT 0x4d00rnrnrnrnint JgYr(int yr) rn rnif (yr%4==0&&yr%100!=0&&yr%100==0&&yr%400==0) rnreturn 1; rnelse rnreturn 0; rn rnrnint CalWkd(int yr,int mth) rn rnint ds=0,i,rst,wkd; rnint mthd[13]=0,31,28,31,30,31,30,31,31,30,31,30,31; rnif (JgYr(yr)) rnmthd[2]=29; rnfor (i=1;i12) rnreturn 0; rnif (JgYr(yr)) rnmthd[2]=29; rnmtd=mthd[mth]; rnwkd=CalWkd(yr,mth); rnshowcld(wkd,mtd); rnprintf("\n");rnreturn 0; rn rnrnrnrn rn
大神帮忙看下代码
本人小白一个,今天再查看一个网页源文件时遇到下面的代码,格式太复杂了,但看起来又不像是加密的,请各<em>大神</em><em>帮忙</em>鉴定一下是否是经过特殊处理的过代码?如果是该如何转换为通俗的易懂的格式。rn完整代码太长了,请看链接:http://szjj.ky51.cn/Public/Js/jquery-1.11.1.min.jsrnrn部分代码如下:rn/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */rn!function(a,b)"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a)if(!a.document)throw new Error("jQuery requires a window with a document");return b(a):b(a)("undefined"!=typeof window?window:this,function(a,b)var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h=,i=h.toString,j=h.hasOwnProperty,k=,l="1.11.1",m=function(a,b)return new m.fn.init(a,b),n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b)return b.toUpperCase();m.fn=m.prototype=jquery:l,constructor:m,selector:"",length:0,toArray:function()return d.call(this),get:function(a)return null!=a?0>a?this[a+this.length]:this[a]:d.call(this),pushStack:function(a)var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b,each:function(a,b)return m.each(this,a,b),map:function(a)return this.pushStack(m.map(this,function(b,c)return a.call(b,c,b))),slice:function()return this.pushStack(d.apply(this,arguments)),first:function()return this.eq(0),last:function()return this.eq(-1),eq:function(a)var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[]),end:function()return this.prevObject||this.constructor(null),push:f,sort:c.sort,splice:c.splice,m.extend=m.fn.extend=function()var a,b,c,d,e,f,g=arguments[0]||,h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||,h++),"object"==typeof g||m.isFunction(g)||(g=),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:,g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g,m.extend(expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a)throw new Error(a),noop:function(),isFunction:function(a)return"function"===m.type(a),isArray:Array.isArray||function(a)return"array"===m.type(a),isWindow:function(a)return null!=a&&a==a.window,isNumeric:function(a)return!m.isArray(a)&&a-parseFloat(a)>=0,isEmptyObject:function(a)var b;for(b in a)return!1;return!0,isPlainObject:function(a)var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;tryif(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1catch(c)return!1if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b),type:function(a)return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a,globalEval:function(b)b&&m.trim(b)&&(a.execScript||function(b)a.eval.call(a,b))(b),camelCase:function(a)return a.replace(o,"ms-").replace(p,q),nodeName:function(a,b)return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase(),each:function(a,b,c)var d,e=0,f=a.length,g=r(a);if(c)if(g)for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)breakelse for(e in a)if(d=b.apply(a[e],c),d===!1)breakelse if(g)for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)breakelse for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a,trim:function(a)return null==a?"":(a+"").replace(n,""),makeArray:function(a,b)var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c,inArray:function(a,b,c)var d;if(b)if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return creturn-1,merge:function(a,b)var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a,grep:function(a,b,c)for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e,map:function(a,b,c)var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i),guid:1,proxy:function(a,b)var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function()return a.apply(b||this,c.concat(d.call(arguments))),e.guid=a.guid=a.guid||m.guid++,e):void 0,now:function()return+new Date,support:k),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b)h["[object "+b+"]"]=b.toLowerCase());function r(a)var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in avar s=function(a)var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b)return a===b&&(l=!0),0,C="undefined",D=1<b;b++)if(this[b]===a)return b;return-rn
内存泄露,请大神帮忙看下
[code=c]rnrn//类定义rnclass t_satObs rn public:rn t_satObs() rn t_satObs(const t_satObs& old) // copy constructor (deep copy)rn _staID = old._staID;rn _prn = old._prn;rn _time = old._time;rn for (unsigned ii = 0; ii < old._obs.size(); ii++) rn _obs.push_back(new t_frqObs(*old._obs[ii]));rn rn rn ~t_satObs() for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];rnrn std::string _staID;rn t_prn _prn;rn bncTime _time;rn std::vector _obs;rn;rn//出现问题的循环,如果加上这段代码,内存总是一直增加,可是没有发现什么问题呀!rnwhile(true)rnrn if (_rnx)rn rn long iSec = long(floor(obs._time.gpssec()+0.5));rn if (_rnx->samplingRate() == 0 || iSec % _rnx->samplingRate() == 0)rn rn _rnx->deepCopy(obs);rn rn _rnx->dumpEpoch(format, obs._time);rn rn rn//调用的函数rnvoid deepCopy(t_satObs obs) rn _obs.push_back(obs); //_obs为_rnx成员变量,定义:QList _obs;rnrnvoid dumpEpoch(const QByteArray& format, const bncTime& maxTime) rn QList obsList;rn QMutableListIterator mIt(_obs);rn while (mIt.hasNext()) rn t_satObs obs = mIt.next();rn if (obs._time < maxTime) rn obsList.push_back(obs);rn mIt.remove();rn rn rnrn[/code]rn大家费心了,如果能指出错误,会补分,跪谢!
大神帮忙看下这段js代码
为何每次点击之后不会在下面替换掉图片,而是跳出来一个新的页面,貌似prepareGallery()函数没有被调用n# html代码nnn```n nnn n let's do itn nnnn picturen n n 泰勒斯威夫特n n n 阿尔帕西诺n n n 狼n n n 希斯莱杰n nnn choose your imgn nnn```nn# js代码nnn```n /**n * Created by kaka on 2017/3/30.n */nnfunction prepareGallery() n if (!document.getElementsByTagName()) return false;n if (!document.getElementById()) return false;n if (!document.getElementById("imagegallery")) return false;n var gallery = document.getElementById("imagegallery");nn var links = gallery.getElementsByTagName("a");n for (var i = 0; i < links.length; i++) n links[i].onclick = function () n return showPic(this);n n nnnfunction sss() nn alert(dwadwadwad);nnfunction showPic(whichpic) n if (!document.getElementById("placeholder")) return false;n var source = whichpic.getAttribute("href");n var placeholder = document.getElementById("placeholder");n if (placeholder.nodeName != "IMG") return false;n placeholder.setAttribute("src", source);n if (document.getElementById("description")) n var text = whichpic.getAttribute("title") ? whichpic.getAttribute("title") : "";n var description = document.getElementById("description");n if (description.firstChild.nodeType == 3) n description.firstChild.nodeValue = text;n n n return true;nnnn```nnnn
c#的项目求帮忙改成Dephi,急。先谢了
c#的项目,求<em>帮忙</em>改成Dephi。我真的是不会
求所有数字当中的最小值
本人虚心求教,几遍之后任然百思不得其解,求高手<em>帮忙</em>。
学习装系统
自己装系统,不用求别人<em>帮忙</em>,很简单,本人亲自实践。
midtest
老师布置的c++作业求大家<em>帮忙</em>看看啊
post模拟登录,提交表单
登录写完了,但是提交表单不成功,求<em>帮忙</em>。
Linux Mysql 启动错误 查看错误日志
n n n 启动Mysql 出现错误n不管是什么错误、先去查看Mysql的<em>错误日志</em>n主机名 ([meng@M ~]$):就是 Mn使用命令:find / -name 主机名.errnvim 进入查看error错误原因、之后上网搜索错误解决方式nn n nn...
表达式计算
7-3 n(5 分) n小明的表哥正在做家庭作业,遇到一道题困扰了很久,需要你用程序<em>帮忙</em>解决。 题目如下:根据X,Y的值求Z的值。如果X≥0而且Y≥5,则按公式Z=3X+2Y计算;如果X≥0而且Y<0,则按公式Z=3*X-Y计算。 n输入格式: n在一行中给出两个整数X,Y。中间以空格隔开。X和Y的绝对值
contact[1].html
各位<em>大神</em>,我这里需要3个积分,求<em>大神</em>赐分,在此跪谢。
强连通分量及缩点tarjan算法解析
强连通分量: 简言之 就是找环(每条边只走一次,两两可达) 孤立的一个点也是一个连通分量   使用tarjan算法 在嵌套的多个环中优先得到最大环( 最小环就是每个孤立点)   定义: int Time, DFN[N], Low[N]; DFN[i]表示 遍历到 i 点时是第几次dfs Low[u] 表示 以u点为父节点的 子树 能连接到 [栈中] 最上端的点   int
Spring3 Security3 官方中文文档.pdf下载
序言 I. 入门 1. 介绍 1.1. Spring Security是什么? 1.2. 历史 1.3. 发行版本号 1.4. 获得Spring Security 1.4.1. 项目模块 1.4.1.1. Core - spring-security-core.jar 1.4.1.2. Web - spring-security-web.jar 1.4.1.3. Config - spring-security-config.jar 1.4.1.4. LDAP - spring-security-ldap.jar 1.4.1.5. ACL - spring-securi 相关下载链接:[url=//download.csdn.net/download/x7700/2902509?utm_source=bbsseo]//download.csdn.net/download/x7700/2902509?utm_source=bbsseo[/url]
广东省云计算中心佛山市南海公共软件服务平台下载
基于红帽云计算平台,广东省佛山市南海公共软件服务平台架构、功能说明。 相关下载链接:[url=//download.csdn.net/download/michs888/2457554?utm_source=bbsseo]//download.csdn.net/download/michs888/2457554?utm_source=bbsseo[/url]
Powerdesigner 学习下载
完整的Powerdesigner 学习教程,自我编写,十分详细 相关下载链接:[url=//download.csdn.net/download/dengyongyilong/2605738?utm_source=bbsseo]//download.csdn.net/download/dengyongyilong/2605738?utm_source=bbsseo[/url]
文章热词 机器学习教程 Objective-C培训 交互设计视频教程 颜色模型 设计制作学习
相关热词 mysql关联查询两次本表 native底部 react extjs glyph 图标 java大神班 大数据大神班
我们是很有底线的