发布项目没多少时间页面就打不开了,但项目还在运行,具体报错log如下,有没有大神帮忙解决一下 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
Bbs2
本版专家分:310
Bbs1
本版专家分:23
Blank
脉脉勋章 绑定脉脉第三方账户获取
Blank
GitHub 绑定GitHub第三方账户获取
Blank
领英 绑定领英第三方账户获取
Bbs1
本版专家分:95
Bbs2
本版专家分:225
昨天还能打开的项目,今天就打开了?为甚?
昨天还能打开的<em>项目</em>,今天<em>就打</em>不<em>开了</em>?为甚?rn提示:visual studio .net 无法创建或打开应用程序.问题很可能是因为本地Web服务器上没有安装所需要的组件.请<em>运行</em>Visual Studio .net安装程序并添加Web开发组件. 如果真打不开,那不惨了
jdbc连接MySQL报错, 有没有大神帮忙解决一下
![代码](https://img-ask.csdn.net/upload/201812/08/1544267773_298311.png)rnrn<em>报错</em><em>如下</em>:rn![图片说明](https://img-ask.csdn.net/upload/201812/08/1544269249_3555.png)rnrnrnrn这是日志:rn![rizhi](https://img-ask.csdn.net/upload/201812/08/1544267922_658274.png)rnrnrnrn小白用JDBC连接MySQL数据库, 向数据表里面插入数据, <em>报错</em>, <em>大神</em>可不可以<em>帮忙</em>看看
项目报错,但启动失败的原因
有些时候,我们的<em>项目</em>没有<em>报错</em>,但是就是无法启动,或者是启动部署成功,但是部署的<em>时间</em>远远少于应有的<em>时间</em>(原本部署需要二十秒,现在2秒完成,明显不正常),这时候我们需要做的就是 1:清理缓存,IDEA缓存,浏览器缓存, 2:clean<em>一下</em>你的maven <em>项目</em>,并且重新ininstall<em>一下</em> 3:删除你在开发工具中部署的服务器(汤姆猫,jetty等等),然后重新添加并部署<em>一下</em>你的<em>项目</em> ...
原来建的项目,为什和到现在就打开了具体提示请进来看一下,谢谢!
该文件的语言不支持必需的代码分析和生成服务。请确保您正在打开的文件是<em>项目</em>的成员,然后尝试再次打开该文件。rnrnrn我是把原来做的一个<em>项目</em>加入到现在的新的<em>项目</em>中,可是原来的就是打不开,一找开就出上面的错误,而且看不着代码。请高手指点一二,谢谢!
struts2项目在tomcat6.0发布正常,但发布至weblogic9.2 报错,有谁能帮忙解决
我的<em>项目</em>在tomcat6.0<em>发布</em>正常,但<em>发布</em>至web<em>log</em>ic9.2 报<em>如下</em>错误,望高人指点:rnINFO - Parsing configuration file [struts-default.xml]rnINFO - Parsing configuration file [struts-plugin.xml]rnINFO - Parsing configuration file [struts.xml]rnINFO - Overriding property struts.configuration.xml.reload - old value: false new value: truernINFO - Loading global messages from messageResourcern
运行项目总是报错
八月 10, 2017 2:47:04 下午 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor run 严重: Unexpected death of background thread ContainerBackgroundProcessor[StandardEngine[Catalina]] java.lan
运行项目报错
An internal error occurred during: "Launching oa on Tomcat 6.x"."Launching oa on Tomcat 6.x".java.lang.NullPointerExceptionrnrnjava.lang.NullPointerExceptionrnat org.eclipse.core.runtime.Path.(Path.java:153)rnat com.genuitec.eclipse.ast.deploy.core.DeploymentManager.computeDeploymentLocation(Unknown Source)rnat com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)rnat com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)rnat com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.ā(Unknown Source)rnat com.genuitec.eclipse.ast.deploy.core.ui.debug.RunOnServerLaunchConfigurationDelegate.launch(Unknown Source)rnat org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)rnat org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)rnat org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)rnat org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)rnat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)rn
运行项目报错
Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\develop\Java\jdk1.8.0_60\bin\java.exe'' f
奇怪问题,页面关闭了,但还在运行
我用asp.net做了一个<em>页面</em>,里面跑了一个循环并不断往数据库写数据,rn我把<em>页面</em>关了,但好像程序一直在<em>运行</em>,数据库里面的记录一直在增多
项目工具类 log调试页面
package com.c03.jy.wanandroid.wanandroidmy.utils; import android.util.Log; import java.util.Locale; /** adb shell setprop <em>log</em>.tag.{@link #PRIVATE_TAG} LOG_LEVEL Created by taofu on 2018/06/07. eg: ...
获取报错具体log
-
android项目运行不了了,求大神解决。。。。。。。。。。
求<em>大神</em><em>解决</em>rnrn昨天<em>运行</em>还是好好的,今天<em>运行</em>就不行了rnrn<em>具体</em>提示如图:rn[img=https://img-bbs.csdn.net/upload/201310/14/1381740034_81075.jpg][/img]
我的项目在自己的机器上运行一切正常,可是放在指定的网页服务器上就打开了
aspnet_regiis.exe -u -i -r 全执行过了,还不行,又重新安装的.net framework还是不行,下面是在服务器上<em>运行</em>时的错误信息。请高手指点。rnrn“/smsoa”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn未将对象引用设置到对象的实例。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rnrn源错误: rnrn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[NullReferenceException: 未将对象引用设置到对象的实例。]rn Dxcf.WebLogin.OnInit(EventArgs e) in c:\inetpub\wwwroot\smsoa\WebLogin.aspx.cs:50rn System.Web.UI.Control.InitRecursive(Control namingContainer) +241rn System.Web.UI.Page.ProcessRequestMain() +174
WebStorm移除项目,但项目还在创建项目的路径下
WebStorm移除<em>项目</em>,但<em>项目</em><em>还在</em>创建<em>项目</em>的路径下,操作方法:1、使用快捷键打开界面:ctrl+alt+s   或者是  File(文件) — Settings(设置),界面打开如图:2、点击右边<em>项目</em>的 &quot;x&quot;;3、点击确认按钮4、最后点击右下角的OK按钮...
ssh2+tomcat+sqlserver2005 的一个项目配置jndi时报错,具体如下
tomcat中context.xml配置<em>如下</em>:rnrn rnrnspring中dataSource配置<em>如下</em>:rnrnrnrnjava:comp/env/jdbc/firstrnrnrn<em>报错</em><em>如下</em>:rnrnctory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in file [E:\WorkBeach\Java-WorkBeach8.5\.metadata\.me_tcat\webapps\BookManagement\WEB-INF\classes\applicationContext-actions.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\WorkBeach\Java-WorkBeach8.5\.metadata\.me_tcat\webapps\BookManagement\WEB-INF\classes\applicationContext-actions.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [E:\WorkBeach\Java-WorkBeach8.5\.metadata\.me_tcat\webapps\BookManagement\WEB-INF\classes\applicationContext-actions.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'jdbc/first' of bean class [org.springframework.jndi.JndiObjectFactoryBean]: Bean property 'jdbc/first' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?rnrn求高手赐教,先谢了啊!
为什么到三级页面我的链接就打开了
从http://211.100.4.210/CAAM/CAAM.Web/Default.asp进入,然后点击导航下的菜单,然后进入列表<em>页面</em>,但是当点击列表<em>页面</em>中的某一条信息的时候,弹出的最终页的所有链接都无法响应http://211.100.4.210/CAAM/CAAM.Web/Detail.asp?id=90rn。请指教!
项目log
遇到的<em>项目</em>中<em>log</em>处理和crash捕获和分析工具记录。因leader没有分配做此项工作,作为开发,也看不到封起来的framework文件。
当messagebox运行后,汉字输入条就打开了
在一个dbedit的keypress事件里,有一处调用messagebox(),当messagebox弹出后,汉字输入条自动关闭,并且再也打不开,只有焦点转到下一个控件时才好用。rn怎么回事?
在线等:Access连接数据库后页面就打开了~~~~~
如题。。。<em>具体</em>情况加QQ谈,8148346rnrn谢谢各位大侠~
不知道什么原因 突然就打开了
http://www.dq1717.com/GenericErrorPage.htm?aspxerrorpath=/Default.aspxrnwww.dq1717.com 这个是我的网站rn麻烦帮我看看rn一访问域名就变成了上面的地址 是什么原因rn请教了rn
vs2008项目本地运行不错,发布IIS就报错。错误如下。大虾帮忙
“/cc”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn未将对象引用设置到对象的实例。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rnrn源错误: rnrnrn行 22: this.repNotice.DataBind();rn行 23: //读取工商新闻rn行 24: int childID = InforTypeManager.GetByTitle(this.hfGSXX.Value).Id;rn行 25: this.repBusiness.DataSource = GetByType(Convert.ToInt32(ConstValue.InformationParentType.GSXX), childID, ConstValue.records);rn行 26: this.repBusiness.DataBind();rn rnrn源文件: C:\Documents and Settings\Administrator\桌面\end\Web\Web\index.aspx.cs 行: 24 rnrn堆栈跟踪: rnrnrn[NullReferenceException: 未将对象引用设置到对象的实例。]rn Web.Default.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\桌面\end\Web\Web\index.aspx.cs:24rn System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14rn System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35rn System.Web.UI.Control.OnLoad(EventArgs e) +99rn System.Web.UI.Control.LoadRecursive() +50rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPointrn rn
我的eclipse突然就打开了
[img=https://img-bbs.csdn.net/upload/201610/03/1475492198_532330.png][/img]
我恢复数据库后就打开了
Server Message Number: 950rnDatabase 'luxin' is currently offline. Please wait and try your command again later.rn是Sybase数据库。
oracle 数据库 掉线 就打开了
我用的是9irn里面有两个数据库rn一个是连接外网的rn一个是本地的rn可是一断线后rn本地的也打不开 不明白为什么rn请问这个属性在哪里修改
410c的板子wifi突然就打开了
没改什么东西,之前还可以用,后来wifi<em>就打</em>不<em>开了</em>,这是什么情况,回退了修改还是不能用,怎么办?
一直使用Ubuntu,突然就打开了
我也是今天早上遇到的问题,进到vmare里面突然变了脸一样了,别担心,大家点击 ‘打开虚拟机’ 然后会跳出然后,进入到Window系统里找到安转的Ubuntu后点击打开就行了本人的是window里面安装的Ubuntu系统好了,如果我的文章给你带来帮助就点个赞吧!...
换个机子程序就打开了,为什么?
我把web程序copy回家,创建一个虚拟目录,但是却打不开<em>项目</em>,错误<em>如下</em>:rnrn无法从web服务器获取<em>项目</em>文件。无法打开web<em>项目</em>Wangzhan,文件路径"c:\inetpub\wwwroot\Wangzhan"与url"http://localhost/Wangzhan"不符,这两者需要映射到相同的服务器位置,http错误404:object not found。rnrn请大家多多指教!rn
数据库莫名其妙就打开了!求救!
提示:无法打开数据库,数据库已经损坏!或者说在对该数据库进行一致性检查!问题会出在哪里呢?rnrn请问:<em>有没有</em>办法恢复?rn 如何查找数据库突然损坏的原因?<em>有没有</em>可能是由于数据过多的原因?rnrn请教高手!!!或者有类似经历的朋友!请赐教!
大神帮忙解决一下
请各位<em>大神</em>给出源程序,不胜感激!rnrn1.编写一个C++程序,计算并输出两个无符号大整数m与n的和、差、积、整商及余数(其中| m | ≤ 101000 ,| n | ≤ 101000)。用类来实现这个无符号大整数的和、差、积、整商及求余运算以及插入符(<> )的重载。rnrn2.编程求解皇后问题。在m*m的棋盘上有n个皇后(n ≤ m),输出所有合法的皇后排列(即在任何一行、一列或一条对角线上,仅能放置一个皇后)。rnrn3.实现图书馆借书系统,其功能包括:rn申请新的图书证;rn注销图书证;rn图书查询,方式包括按书名、作者、关键字查询等;rn借书(包括续借、预约);rn书到期后,发送还书的通知;rn还书(包括过期罚款);rn读者状态查询;rn读者个人信息修改(包括修改密码)。rnrn4.编写一个C++程序,它能根据读入的某二叉树的中序序列和后序序列(两个英文字母串,每个串长不大于80,各占一行),构造该二叉树,并输出该二叉树的前序序列、叶的个数、二度结点个数及其从根节点开始的最长路径上的各结点。rnrn5.编写一个C++程序,它能根据读入的某带权有向图G的边、权,来构造图G,并输出G的邻接矩阵、拓扑序列、各顶点之间的最短路经。输入时用三个非负整数i、j、w表示一条边(顶点Vi到顶点Vj的边)及该边的权(w);三个-1(-1 -1 -1) 表示输入结束。其中,i和j的值都不大于40,i、j值中最大者再加1是图G的顶点个数。
大神帮忙解决一下
[img=https://img-bbs.csdn.net/upload/201408/28/1409228843_418446.png][/img]rn请问这个是什么原因出现的提示:如何让它取消掉?求<em>大神</em><em>解决</em>,
Spring+hibernate项目在linuxTomcat6.0.18下发布报错
[code=text]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [/home/tomcat/apache-tomcat-6.0.18/temp/31-bank/WEB-INF/classes/applicationContext-dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/home/tomcat/apache-tomcat-6.0.18/temp/31-bank/WEB-INF/classes/applicationContext-dao.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerErrorrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:481)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)rn at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:883)rn at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:593)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:351)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:46)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)rn at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1247)rn at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:604)rn at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:129)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:527)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:662)rnCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [/home/tomcat/apache-tomcat-6.0.18/temp/31-bank/WEB-INF/classes/applicationContext-dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/home/tomcat/apache-tomcat-6.0.18/temp/31-bank/WEB-INF/classes/applicationContext-dao.xml]: Invocation of init method failed; rnrn在本地可以<em>发布</em>不会<em>报错</em>.
解决程序错误运行项目
Maven下载安装及环境搭建,Mave创建控制台小程序,MAVEN常用命令详解,MAVEN依赖范围,依赖传递,依赖继承,聚合,.MAVEN整合SSH。
VS运行正常。,。。发布到IIS报错如下
“/cc”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn未将对象引用设置到对象的实例。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rnrn源错误: rnrnrn行 19: //读取政策法规rn行 20: InforType inforType = InforTypeManager.GetByTitle(this.hfZCFG.Value);rn行 21: int childID = inforType.Id;rn行 22: this.repLawy.DataSource = GetByType(Convert.ToInt32(ConstValue.InformationParentType.GSXX), childID, ConstValue.deRecods);rn行 23: this.repLawy.DataBind();rn rnrn源文件: C:\Documents and Settings\Administrator\桌面\end\Web\Web\UserControl\zcfg.ascx.cs 行: 21 rnrn堆栈跟踪: rnrnrn[NullReferenceException: 未将对象引用设置到对象的实例。]rn Web.UserControl.zcfg.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\桌面\end\Web\Web\UserControl\zcfg.ascx.cs:21rn System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14rn System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35rn System.Web.UI.Control.OnLoad(EventArgs e) +99rn System.Web.UI.Control.LoadRecursive() +50rn System.Web.UI.Control.LoadRecursive() +141rn System.Web.UI.Control.LoadRecursive() +141rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627rnrn rnrnrn--------------------------------------------------------------------------------rn版本信息: Microsoft .NET Framework 版本:2.0.50727.3615; ASP.NET 版本:2.0.50727.3618
weblogic发布项目页面无法显示
<em>项目</em>在自己电脑上能跑,<em>发布</em>到web<em>log</em>ic服务器上有一张<em>页面</em>无法显示,这张<em>页面</em>有两个地方用到,其中rn一个<em>页面</em>能显示,另一个报下面的错:rn[code=java]rnError 404--Not Found rnFrom RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:rn10.4.5 404 Not FoundrnThe server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.rnrnIf the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.rn rnrn[/code]rnrn自己电脑上好好的,<em>发布</em>到web<em>log</em>ic上有一个<em>页面</em>不能显示了,路径没写错,<em>大神</em><em>帮忙</em>分析下??rn
发布项目到阿里云服务器,页面异常
这是我将war<em>发布</em>到Tomcat后的,正常访问,没有任何问题。n![图片说明](https://img-ask.csdn.net/upload/201711/05/1509813177_481564.png)nn上传到ftp上面的,也不知道是不是应该这样上传n![图片说明](https://img-ask.csdn.net/upload/201711/05/1509813699_915397.png)nn结果访问的时候就出现了问题n![图片说明](https://img-ask.csdn.net/upload/201711/05/1509813866_537826.png)nnURL的问题吗?还是存在别的问题了?请<em>大神</em>们指点,感谢
Jenkins+docker发布运行jar项目
第一步在Jenkins构建maven<em>项目</em> 配置git地址 设置触发条件 提交到git3分钟后自动触发   build选项中使用<em>一下</em>命令不执行单元测试用例(clean install -Dmaven.test.skip=true) 设置构建前删除<em>项目</em>的target目录(rm -rf /var/lib/jenkins/workspace/business/target/) ...
idea运行项目总是报错
<em>项目</em>总是<em>报错</em>,将<em>项目</em>删除重新导入还是会变错。<em>项目</em>是不会错得,所以想来肯定是idea或者是环境或者配置的问题。 idea重新安照步骤导入了很多次,还是<em>报错</em>。所以排除导入时的各种错误。 最后定位是配置的错误。首先把tomcat重新配置甚至删除重新安装tomcat,最后还是<em>报错</em>。 后来自动导入需要的包,还是会<em>报错</em>,而后去检查java的环境和maven的环境。检查都是好的。 然后检查jdk是配置好...
vue-cli项目运行eslint 报错
vue-cli<em>项目</em><em>运行</em> eslint <em>报错</em> 原因 eslint检查严格,代码不规范导致<em>报错</em>。 <em>解决</em>方法 修改eslint的代码检查规则,在 .eslintrc.js 中修改规则; 去除eslint检查 ...
ssh项目运行一段时间报错
<em>报错</em>信息<em>如下</em>:rn2010-05-05 11:02:08,058 WARN RequestProcessor:516 - Unhandled Exception thrown: class org.springframework.jdbc.UncategorizedSQLExceptionrn2010-05-05 11:02:27,840 WARN JDBCExceptionReporter:77 - SQL Error: 0, SQLState: 08S01rn2010-05-05 11:02:27,840 ERROR JDBCExceptionReporter:78 - Communications link failure due to underlying exception: rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.io.EOFExceptionrnrnSTACKTRACE:rnrnjava.io.EOFExceptionrn at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1956)rn at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2368)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2867)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708)rn at com.mysql.jdbc.Connection.execSQL(Connection.java:3255)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1293)rn at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1428)rn at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)rn at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)rn at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)rn at org.hibernate.loader.Loader.doQuery(Loader.java:674)rn at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)rn at org.hibernate.loader.Loader.doList(Loader.java:2220)rn at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)rn at org.hibernate.loader.Loader.list(Loader.java:2099)rn at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)rn at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)rn at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)rn at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)rn at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)rn at org.springframework.orm.hibernate3.HibernateTemplate$31.doInHibernate(HibernateTemplate.java:853)rn at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)rn at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:844)rn at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:836)rn at com.sihan.dream.dao.subject.impl.SubjectDaoImpl.queryMenu(SubjectDaoImpl.java:32)rn at com.sihan.dream.service.subject.SubjectService.queryMenu(SubjectService.java:40)rn at com.sihan.dream.service.subject.SubjectService$$FastClassByCGLIB$$1923a24b.invoke()rn at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)rn at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:615)rn at com.sihan.dream.service.subject.SubjectService$$EnhancerByCGLIB$$894c11aa.queryMenu()rn at com.sihan.dream.web.action.init.IndexAction.execute(IndexAction.java:43)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)rn at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)rn at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)rn at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)rn at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)rn at java.lang.Thread.run(Unknown Source)
android项目运行报错
Android resource linking failed Output: F:\Qoqonuts\app\build\intermediates\incremental\mergeDevDebugResources\merged.dir\values-v26\values-v26.xml:7: error: resource android:attr/colorError not foun...
运行vue项目报错
一直在提示找不到模块,一直下载安装这些依赖也不行<em>解决</em>方法:先删除模块的目录,然后<em>运行</em>cnpm cache clear,然后再<em>运行</em>cnpm install
运行react-native项目报错
<em>运行</em>react-native<em>项目</em>时<em>报错</em>。 Application MyTest has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent. 第一:检查<em>项目</em>名是
Android项目运行报错
SensorManagerFlow: registerListenerImplrn java.lang.Exceptionrn at android.hardware.SystemSensorManager.registerListenerImpl(SystemSensorManager.java:118)rn at android.hardware.SensorManager.registerListener(SensorManager.java:775)rn at android.hardware.SensorManager.registerListener(SensorManager.java:682)rn at com.securityguard.securitybody.SensorManagerUtils.i(Unknown Source)rn at com.securityguard.securitybody.SensorManagerUtils.a(Unknown Source)rn at com.securityguard.securitybody.b.run(Unknown Source)rn at android.os.Handler.handleCallback(Handler.java:739)rn at android.os.Handler.dispatchMessage(Handler.java:95)rn at android.os.Looper.loop(Looper.java:135)rn at android.app.ActivityThread.main(ActivityThread.java:5593)rn at java.lang.reflect.Method.invoke(Native Method)rn at java.lang.reflect.Method.invoke(Method.java:372)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)rn查资料说是传感器管理器,可是我的<em>项目</em>中并没有使用到传感器的地方,不知道该从哪里下手<em>解决</em>了,求<em>大神</em><em>帮忙</em>rn
用eclipse刚一创建android项目报错,有大神帮忙解决一下吗?
[2019-01-05 16:57:38 - TextDemo] D:\eclipse_workspace\TextDemo\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2019-01-05 16:57:38 - TextDemo] rn[2019-01-05 16:57:38 - TextDemo] D:\eclipse_workspace\TextDemo\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2019-01-05 16:57:38 - TextDemo] rn[2019-01-05 16:57:38 - TextDemo] D:\eclipse_workspace\TextDemo\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.rn[2019-01-05 16:57:38 - TextDemo] rn[2019-01-05 16:57:40 - TextDemo] D:\eclipse_workspace\TextDemo\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2019-01-05 16:57:40 - TextDemo] rn[2019-01-05 16:57:40 - TextDemo] D:\eclipse_workspace\TextDemo\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2019-01-05 16:57:40 - TextDemo] rn[2019-01-05 16:57:40 - TextDemo] D:\eclipse_workspace\TextDemo\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.rn[2019-01-05 16:57:40 - TextDemo] rn[2019-01-05 16:57:41 - TextDemo] D:\eclipse_workspace\TextDemo\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2019-01-05 16:57:41 - TextDemo] rn[2019-01-05 16:57:41 - TextDemo] D:\eclipse_workspace\TextDemo\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.rn[2019-01-05 16:57:41 - TextDemo] rn[2019-01-05 16:57:41 - TextDemo] D:\eclipse_workspace\TextDemo\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.rn[2019-01-05 16:57:41 - TextDemo] rn
大神帮忙,项目启动报错如下:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'accbookSettlementService' for bean class [com.yonyougov.fcfa.asset.service.accbook.AccbookSettlementService] conflicts with existing, non-compatible bean definition of same name and class [com.yonyougov.fcfa.service.accbook.AccbookSettlementService]n at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:413) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) ~[spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) ~[spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) ~[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:540) ~[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454) ~[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.server.Server.doStart(Server.java:282) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-webapp-8.1.16.v20140903.jar:8.1.16.v20140903]n at com.yonyougov.fcfa.QuickStart.main(QuickStart.java:25) [test-classes/:na]nCaused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'accbookSettlementService' for bean class [com.yonyougov.fcfa.asset.service.accbook.AccbookSettlementService] conflicts with existing, non-compatible bean definition of same name and class [com.yonyougov.fcfa.service.accbook.AccbookSettlementService]n at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:314) ~[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:253) ~[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:85) ~[spring-context-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1424) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1414) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:187) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:141) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:110) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:391) ~[spring-beans-4.0.5.RELEASE.jar:4.0.5.RELEASE]n ... 25 common frames omitted
eclipse 中 tommatlocalhost:8080/不显示 ,但具体项目显示
eclipse 中 tommatlocalhost:8080/不显示 ,但<em>具体</em><em>项目</em>显示 转载: https://b<em>log</em>.csdn.net/wuting3680278/article/details/70196232
发布android项目是的log管理
通常写一个工具类   package cn.itcast.mobilesafe.util; import android.util.Log; public class Logger { private static int LOGLEVEL = 6;//<em>发布</em>后 改变<em>log</em>level的值 就可以控制日志的显示 private static int VERBOSE =
Intellij启动项目,控制台不报错项目登录首页报错
[TOC] 查看此处配置的是否正确。
Android项目运行不起来也不报错,什么原因
RT。rnrn08-06 17:18:53.457: I/AndroidRuntime(4060): Heap size: -Xmx32mrn08-06 17:18:54.167: W/ActivityManager(185): No content provider found for: rn08-06 17:18:54.197: I/PackageHelper(3197): Size of container 3 MB 1244286 bytesrn08-06 17:18:54.287: I//system/bin/newfs_msdos(131): /system/bin/newfs_msdos: warning, /dev/block/dm-1 is not a character devicern08-06 17:18:54.287: I//system/bin/newfs_msdos(131): /system/bin/newfs_msdos: Skipping mount checksrn08-06 17:18:54.287: I//system/bin/newfs_msdos(131): Bogus heads from kernel - setting sane valuern08-06 17:18:54.287: I//system/bin/newfs_msdos(131): Bogus sectors from kernel - setting sane valuern08-06 17:18:54.287: I//system/bin/newfs_msdos(131): /dev/block/dm-1: 6248 sectors in 781 FAT32 clusters (4096 bytes/cluster)rn08-06 17:18:54.287: I//system/bin/newfs_msdos(131): bps=512 spc=8 res=32 nft=2 sec=6300 mid=0xf0 spt=63 hds=64 hid=0 bspf=7 rdcl=2 infs=1 bkbs=2rn08-06 17:18:54.317: I/Vold(131): Filesystem formatted OKrn08-06 17:18:54.327: I/PackageHelper(3197): Created secure container smdl2tmp1 at /mnt/asec/smdl2tmp1rn08-06 17:18:54.327: I/DefContainer(3197): Created container for smdl2tmp1 at path : /mnt/asec/smdl2tmp1rn08-06 17:18:54.748: I/DefContainer(3197): Copied /data/local/tmp/edu.cmu.pocketsphinx.demo.PocketSphinxDemo.apk to /mnt/asec/smdl2tmp1/pkg.apkrn08-06 17:18:54.768: I/DefContainer(3197): Finalized container smdl2tmp1rn08-06 17:18:54.778: I/DefContainer(3197): Unmounting smdl2tmp1 at path /mnt/asec/smdl2tmp1rn08-06 17:18:55.088: W/ActivityManager(185): No content provider found for: rn08-06 17:18:55.909: W/PackageManager(185): Mounting container edu.cmu.pocketsphinx.demo-2rn08-06 17:18:56.390: I/PackageManager(185): Succesfully renamed smdl2tmp1 to edu.cmu.pocketsphinx.demo-2 at new path: /mnt/asec/edu.cmu.pocketsphinx.demo-2rn08-06 17:18:56.390: I/PackageHelper(185): Forcibly destroying container edu.cmu.pocketsphinx.demo-2rn08-06 17:18:56.810: I/AndroidRuntime(4060): NOTE: attach of thread 'Binder Thread #3' failedrnrn———————————————————————————————————————————————————————rnrn以上是LOG
有没有大神帮忙精简一下,欢迎私信。
//在一个排好序的数组中间插入一个数 #include"stdio.h" int main() {  int i, n, c;  printf("please a n:");  scanf_s("%d", &n);  int arr[6] = { 1, 3, 4, 4, 7, 9 };  for (i = 0; i  {   if (i = 6)   {    for (
解决webpack项目在ie下报错
引起的主要原因是,ie无法解析es6语法。需要引入babel-polyfill 第一步:npm install babel-polyfill --save-dev 第二步:在webpack.base.config.js中 require('babel-polyfill') module.exports = { entry: { app: ['babel-polyf...
Android 项目 报错 XX 解决
1、ActivityManager: Warning: Activity not started, its current task has been brought to the front出现这个提示的<em>解决</em>办法,退出模拟器中<em>运行</em>的程序,再次<em>运行</em>即可<em>解决</em>!清理<em>一下</em>2、emulator: ERROR: the user data image is used by another emulator.
ASP.NET项目在局域网中发布具体流程
新建一个asp,net<em>项目</em>,并在局域网<em>发布</em>的<em>具体</em>流程: 计算机-&amp;gt;右键管理-&amp;gt;服务与应用程序-&amp;gt;IIS-&amp;gt;网站-&amp;gt;右键添加网站 网站名称:自行命名,我这里用的名称是b<em>log</em>_show;内容目录:这里选定一个文件夹,在VS2017中,将需要把<em>项目</em><em>发布</em>在这个文件夹中。IP地址:选择自己本机ip端口号:默认为80,如果你已有其他<em>项目</em>用了80这个端口,需要把80改成其他,这里...
spring boot 的项目在idea下报错,错误信息如下
spring boot 的<em>项目</em>在idea下<em>报错</em>,错误信息<em>如下</em>: java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholder
weblogic的项目,引用jstl报错,错误如下
org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "bundleentry://275.fwk5403001/web/WEB-INF/lib/standard.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLVn at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)n at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)n at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:179)n at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:181)n at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)n at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)n at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)n at org.apache.jasper.compiler.Parser.parse(Parser.java:126)n at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)n at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)n at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)n at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)n at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)n at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)n at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)n at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)n at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)n at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)n at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)n at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:111)n at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)n at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)n at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)n at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:28)n at com.ufgov.gmap.license.filter.licenseInfoFilter.doFilter(Unknown Source)n at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:65)n at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:25)n at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)n at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:65)n at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:25)n at com.anyi.gp.context.ApplusContextSetHandler$ContextAdapterFilter.doFilter(Unknown Source)n at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:65)n at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:25)n at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132)n at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:70)n at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)n at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:210)n at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)n at com.ufgov.app.manager.http.internal.RequestWrappingFilter.doFilter(RequestWrappingFilter.java:62)n at web<em>log</em>ic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)n at web<em>log</em>ic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)n at web<em>log</em>ic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)n at web<em>log</em>ic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)n at web<em>log</em>ic.security.service.SecurityManager.runAs(SecurityManager.java:120)n at web<em>log</em>ic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)n at web<em>log</em>ic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)n at web<em>log</em>ic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)n at web<em>log</em>ic.work.ExecuteThread.execute(ExecuteThread.java:256)n at web<em>log</em>ic.work.ExecuteThread.run(ExecuteThread.java:221)
ssh项目tomcat启动时报错错误如下
2012-8-20 13:15:28 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\china unicom\jdk\jdk1.6.0_16\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:/china unicom/jdk/jdk1.6.0_16/bin/../jre/bin/client;D:/china unicom/jdk/jdk1.6.0_16/bin/../jre/bin;D:/china unicom/jdk/jdk1.6.0_16/bin/../jre/lib/i386;C:\Program Files\Common Files\NetSarang;D:\360Downloads\maven\apache-maven-2.2.1\bin;D:\Program Files\TortoiseSVN\bin;D:\china unicom\jdk\jdk1.6.0_16\bin;C:\WINDOWS\system32;C:\Program Files\SlikSvn\bin;D:\china unicom\eclipse3.6;rn2012-8-20 13:15:28 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2012-8-20 13:15:28 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 407 msrn2012-8-20 13:15:28 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2012-8-20 13:15:28 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.14rn2012-8-20 13:15:28 org.apache.catalina.core.ApplicationContext <em>log</em>rn信息: Initializing Spring root WebApplicationContextrn<em>log</em>4j:WARN No appenders could be found for <em>log</em>ger (org.springframework.web.context.ContextLoader).rn<em>log</em>4j:WARN Please initialize the <em>log</em>4j system properly.rn<em>log</em>4j:WARN See http://<em>log</em>ging.apache.org/<em>log</em>4j/1.2/faq.html#noconfig for more info.rn2012-8-20 13:15:29 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.NoClassDefFoundError: org/hibernate/SessionFactoryrn at java.lang.Class.getDeclaredMethods0(Native Method)rn at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)rn at java.lang.Class.getDeclaredMethods(Class.java:1791)rn at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:194)rn at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:176)rn at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:122)rn at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:277)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:493)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn 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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.ClassNotFoundException: org.hibernate.SessionFactoryrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 35 morern2012-8-20 13:15:29 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2012-8-20 13:15:29 org.apache.catalina.core.StandardContext startrn严重: Context [/paas-ts-mq-mgmt] startup failed due to previous errorsrn2012-8-20 13:15:29 org.apache.catalina.core.ApplicationContext <em>log</em>rn信息: Closing Spring root WebApplicationContextrn2012-8-20 13:15:29 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-8-20 13:15:29 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2012-8-20 13:15:29 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/15 config=nullrn2012-8-20 13:15:29 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1266 msrn
orcl出问题,还请大神帮忙解决一下报错问题
orcl<em>报错</em>,有点蒙圈了[img=https://img-bbs.csdn.net/upload/201904/04/1554342692_779830.jpg][/img][img=https://img-bbs.csdn.net/upload/201904/04/1554342715_284362.jpg][/img]
oracle插入数据时报错,跪求各位大神帮忙解决一下
问题是:在插入表数据时总是报某个字段有NULL值导致插入表失败,入表的SQL语句太长,我就简单的写下了rn insert into table1 (select 字段1,字段2,字段3 from table2 union select 字段1,字段2,字段3 from table3)rn16年1月1日前的数据还是正常的,但是之后这个语句就开始<em>报错</em>。因为table1表中字段全部不允许为空,报的错误是插入时有某个字段有NULL值存在,但是数据我查询了3天都没找到哪个字段有NULL值,并且我重新建了一张跟系统一模一样的表将查询到的数据直接导入到这张表中是正常的。那么问题来了,这个到底是那边的错误?rnrn跪求各位<em>大神</em><em>帮忙</em><em>解决</em><em>一下</em>
数据添加的时候报错~那位大神帮忙解决一下
org.springframework.dao.InvalidDataAccessResourceUsageException: could not insert: [com.train.pojo.TicketInfo]; SQL [insert into train.ticket_info (trainid, userid, username, trainnum, from, to, stringtype, sitetype, price, stime) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; nested exception is org.hibernate.exception.SQLGrammarException: could not insert: [com.train.pojo.TicketInfo]rn org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:629)rn org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)rn org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)rn org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)rn org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:683)rn com.train.dao.impl.TicketInfoDAOImpl.doCreate(TicketInfoDAOImpl.java:19)rn com.train.dao.impl.TicketInfoDAOImpl.doCreate(TicketInfoDAOImpl.java:1)rn com.train.service.impl.TicketInfoServiceImpl.insert(TicketInfoServiceImpl.java:15)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)rn org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)rn $Proxy7.insert(Unknown Source)rn com.train.action.TicketInfoAction.insert(TicketInfoAction.java:50)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rnrnrnrnorg.hibernate.exception.SQLGrammarException: could not insert: [com.train.pojo.TicketInfo]rnrnrncom.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax torn后台<em>报错</em>:rn10:48:43,875 WARN JDBCExceptionReporter:100 - SQL Error: 1064, SQLState: 42000rn10:48:43,890 ERROR JDBCExceptionReporter:101 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from, to, stringtype, sitetype, price, stime) values (10, 1, '?ó??', 'T5302', '°' at line 1rnrn<em>页面</em>上的参数传递:rnrn rn
CMake 编译 TrinityCore时报错大神帮忙解决一下~
想自己搭建一个WOW私服下载的是 VS2015 下载完源码后 编译出现这个错误~在网上找了很多都<em>解决</em>不了希望哪位<em>大神</em><em>帮忙</em><em>解决</em><em>一下</em>~谢谢好人一生平安~!
求教大神,IDEA运行项目时,报错:java.lang.NoSuchMethodError
我在使用IDEA sprinboot<em>运行</em><em>项目</em>时<em>报错</em>,在前一分钟都正常的跑起来,我重启下我的IDEA后,就跑不起来了。n并且代码拿到其他机器上也能跑起来,目测是因为IDEA的关系,但是实在不知道如何着手。n在打包后, 我也能找到jar包,并且版本并未冲突。求教<em>大神</em>帮<em>帮忙</em>!不甚感激!n出错信息<em>如下</em>:nn
pom文件报错项目可以运行,求大神支援!ArtifactDescriptorException
<em>报错</em><em>如下</em>:看见红色就有点强迫症,奈何实力不够,望洋兴叹!rnArtifactDescriptorException: Failed to read artifact descriptor for org.apache.poi:poi:jar:$poi.version: ArtifactResolutionException: Could not transfer artifact org.apache.poi:poi:pom:$poi.version from/to central (http://repo.maven.apache.org/maven2): Illegal character in path at index 56: http://repo.maven.apache.org/maven2/org/apache/poi/poi/$poi.version/poi-$poi.version.pom
项目还在蚁行,队友还在请假
所谓<em>项目</em>,学长说过:“我们不知道自己在干什么。别人问的时候也不知道该怎么描述,所以我们统称自己做的事情叫做<em>项目</em>”,虽然这个有点歪,但我挺有同感的。最近在做android的应用开发,没有什么开发经验,也没有搞过<em>项目</em>团队,技术也是一窍不通,就这么上路了。 让我搞个团队户外素质拓展什么的这个没问题,第一次搞技术性团队还真是有点晕。全队四个人,一个美女做<em>项目</em>答辩的(各种汇报各种展示,其实她...
log报错的原因解决
一个Maven<em>项目</em>,IDE使用的是IntelliJ IDEA,导入后可以编译<em>运行</em>。但是输出日志的<em>log</em>.xxxx();语句中的‘<em>log</em>’都显示为红色,鼠标放上去后显示:Cannot resolve symbol '<em>log</em>'。         首先检查了pom文件中跟日志相关的依赖,没发现什么问题。同时,<em>项目</em><em>运行</em>时是可以输出日志的,只是红色的标记让人太纠结了。       idea未装lombo...
项目在Tomcat下运行不了了
新手。。。之前重装了<em>一下</em>eclipse。然后重装tomcat 装了 7.0.56版本的。然后<em>项目</em>就<em>运行</em>不起来了。也不<em>报错</em>。点开8080出现猫。直接把<em>项目</em>丢到webapps下面也是404
为什么偶cs文件不上传就打开了网页?
为什么偶cs文件不上传<em>就打</em>不<em>开了</em>网页?
uwsgi 启动pyramid项目 不打印log
# pyramid dev.ini 配置文件 [<em>log</em>gers] keys = root, etable_api, sqlalchemy [handlers] keys = console, info<em>log</em>, debug<em>log</em>, warn<em>log</em> [formatters] keys = generic [<em>log</em>ger_root] level = WARN handlers = warnlo...
一个不报错运行失败的问题
这里我陈列<em>一下</em>简版代码:rn[code=Java]rnpublic class IsiCamera extends Activity rn ...rn public void onCreate()rn final CameraSurfaceView cameraView = ...;rn setOnClickListener()rn cameraView.takeAPicture()....rn rn rn ...rn[/code]rn程序正常<em>运行</em>rnrn现在由于setOnClickListener()方法过于长,我把它外包出去,记作rn[code=Java]rnprivate void setListener() rn setOnClickListener()rn cameraView.takeAPicture()....rn rn[/code]rn因为setOnClickListener()里用到cameraView对象,把cameraView实例化的语句放到了public void onCreate()的外面,使之成为Member data.rn总的代码<em>如下</em>:rn[code=Java]rnpublic class IsiCamera extends Activity rn ...rn final CameraSurfaceView cameraView = ...;rn rn public void onCreate()rn setListener(); rn rnrn private void setListener() rn setOnClickListener()rn cameraView.takeAPicture()....rn rn[/code]rneclipse没有<em>报错</em>,但程序跑不起来了,求解答。
SpringBoot项目没有报错项目启动不了
以下是启动日志,可以发现并没有Exception,但是<em>项目</em>却启动不起来。当然这种诡异的情况导致的原因多重多样,我这里只是列举自己遇到的两个。 2019-07-10 15:28:00 [INFO] - Starting QualityTrainingApplication on nelson with PID 10696 (F:\gitResp\quality_training\target\cl...
发布项目
SSM 打成war包,复制粘贴到webapp文件夹下 点击startup启动tomcat容器 tomcat配置参数: SpringBoot 1.jar包形式 由于SpringBoot内置tomcat,因此可以采用cmd命令行java -jar url形式<em>发布</em><em>项目</em> ...
帮忙解决一下这个问题。代码如下
rnrn rn rn rnrn我想一个每5秒加1,rn 另一个每1秒加1,5秒后又从新开始每1秒加1。rnclearTimeout该怎么加才可以。
有没有大神帮忙解决SQL2008问题
右键执行编辑命令就会提示这个,求<em>大神</em><em>帮忙</em><em>解决</em>
各位大神求助!mybatis项目启动时报错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'generalDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mybatis.spring.SqlSessionTemplate com.word4one.hotel.dao.GeneralDaoImpl.sqlSessionTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1120)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mybatis.spring.SqlSessionTemplate com.word4one.hotel.dao.GeneralDaoImpl.sqlSessionTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:514)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)rn ... 26 morernCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)rn at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:629)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1049)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLisrntableBeanFactory.java:891)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:834)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:749)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486)rn ... 28 morernCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn[img=https://img-bbs.csdn.net/upload/201607/04/1467646639_656273.png][/img]rnrnrn
asp.net项目启动运行出错,详细信息如下
rn试力<em>运行</em><em>项目</em>出错:无法在web服务器上启动调试,您没有调试该服务器的权限。rn验证您是服务上"调试器用户"组的成员,rnrn十万火急,望各位大侠告之!奖不胜感激。 rn
音乐发布项目音乐发布项目
音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>音乐<em>发布</em><em>项目</em>
试图运行项目时出错,提示如下
======================================rn试图<em>运行</em><em>项目</em>时出错:无法在web服务器上启动调试.服务器不支持asp.net或atl.server应用程序的调试。请<em>运行</em>安装程序以安装visualstudio.net服务器组件。如果已经安装程序,请验证是否已指定有效的url;rn......rn====================================================================rnrnrn不会是让我重新安装vs.net吧 ?:(
在MyEclipse里开了两个项目,如何设置另一个启动项目和初始页面运行
如题
【求大神帮忙】SSh框架的项目运行,404路径问题!
本小白最近在自学SSH框架,看着教程做了一个小<em>项目</em>,在中途调试<em>运行</em>的时候发现出现这个错误,让我很是不解,我查了<em>一下</em>配置文件,一直没找到错误的地方在哪,麻烦各位<em>大神</em>帮我看<em>一下</em>出现的问题所在,谢谢!rn[img=https://img-bbs.csdn.net/upload/201511/10/1447158150_693237.png][/img]rnrnStruts配置文件:rnrnrnrn rn rn rn rn rn rn rn /users/Users_<em>log</em>in_success.jsprn /users/Users_<em>log</em>in.jsprn /users/Users_<em>log</em>in.jsprn rn rn rn rnrnweb.xml配置文件:rnrnrn rn rn /users/Users_<em>log</em>in.jsprn rnrn org.springframework.web.context.ContextLoaderListenerrn rnrn contextConfigLocationrn classpath:bean.xml rnrn rn struts2rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterrn rn rn struts2rn /*rn rn rnrnrnhibernate.cfg.xml配置文件:rn rn rn rn rn rootrn 123456rn com.mysql.jdbc.Driver rn jdbc:mysql:// 127.0.0.1:3306/students-ssh rn org.hibernate.dialect.MySQLDialect rn true rn true rn update rn threadrn rn rn rn rn
有没有大神帮忙一下
对一个表进行排序,把行首单元格相同的行排到一起rnrnFor i = 2 To T_Sheet.UsedRange.Rows.CountrnFor j = i + 1 To T_Sheet.UsedRange.Rows.Countrn If T_Sheet.Cells(i, 1) = T_Sheet.Cells(j, 1) Thenrn Rows(i & ":" & i).Select rn Selection.Cutrn Rows(j + 1 & ":" & j + 1).Selectrn Selection.Insert Shift:=xlDown rn Range("R2").Select rn Exit Forrn Elsern End Ifrn Next jrnNext i
redis启动时报错大神帮忙解决
2019-07-08 10:48:10,014 WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunnerDeadlockDetector@1a6955fb−−APPARENTDEADLOCK!!!Creatingemergencythrea...
VB报错462,请大神帮忙解决
[code=vb]Private Sub CommandButton输出通知到Word文件_Click()rn Dim Word对象 As New Word.Application, 当前路径, 导出文件名, 导出路径文件名, i, jrn Dim Str1, Str2rn 当前路径 = ThisWorkbook.Pathrn 最后行号 = Sheets("数据").Range("B65536").End(xlUp).Rowrn 判断 = 0rn For i = 2 To 最后行号rn 导出文件名 = "标准说明-"rn FileCopy 当前路径 & "\模板.docx", 当前路径 & "\" & 导出文件名 & Sheets("数据").Range("A" & i) & ".doc"rn 导出路径文件名 = 当前路径 & "\" & 导出文件名 & Sheets("数据").Range("A" & i) & ".doc"rn With Word对象rn .Documents.Open 导出路径文件名rn .Visible = Falsern rn With ActiveDocument.Sections(4).Headers(wdHeaderFooterPrimary)‘调用第二次在这爆出462rn .Range.Text = VBA.Replace(.Range.Text, "<em>项目</em>名称", Sheets("数据").Range("A" & i).Text, 1, 1, vbTextCompare)rn End Withrn Do While .Selection.Find.Execute("<em>项目</em>名称") '寻找客户这个关键词,将其用表格中的姓名来代替rn .Selection.Text = Sheets("数据").Range("A" & i).Textrn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("设计编号值")rn .Selection.Text = Sheets("数据").Range("E" & i).Textrn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("<em>项目</em>编码")rn .Selection.Text = Sheets("数据").Range("F" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("月份一")rn .Selection.Text = Sheets("数据").Range("G" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("月份二")rn .Selection.Text = Sheets("数据").Range("H" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("工程描述")rn .Selection.Text = Sheets("数据").Range("I" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("工程总投资值")rn .Selection.Text = Sheets("数据").Range("J" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("安装工程费值")rn .Selection.Text = Sheets("数据").Range("K" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("设备购置费值")rn .Selection.Text = Sheets("数据").Range("L" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("勘察设计费值")rn .Selection.Text = Sheets("数据").Range("M" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("地勘费值")rn .Selection.Text = Sheets("数据").Range("N" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("检测费值")rn .Selection.Text = Sheets("数据").Range("O" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("工程监理费值")rn .Selection.Text = Sheets("数据").Range("P" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("安全生产费值")rn .Selection.Text = Sheets("数据").Range("Q" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("机构审计费值")rn .Selection.Text = Sheets("数据").Range("R" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("基站机房装修值")rn .Selection.Text = Sheets("数据").Range("S" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("外电引入值")rn .Selection.Text = Sheets("数据").Range("T" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("选址费值")rn .Selection.Text = Sheets("数据").Range("U" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("增值税总计")rn .Selection.Text = Sheets("数据").Range("W" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("设备税金")rn .Selection.Text = Sheets("数据").Range("X" & i).Textrn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("勘察税金")rn .Selection.Text = Sheets("数据").Range("Y" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("地勘税金")rn .Selection.Text = Sheets("数据").Range("Z" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("检测费税金")rn .Selection.Text = Sheets("数据").Range("AA" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("监理费税金")rn .Selection.Text = Sheets("数据").Range("AB" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("审计费税金")rn .Selection.Text = Sheets("数据").Range("AC" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("地址值")rn .Selection.Text = Sheets("数据").Range("D" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("经度值")rn .Selection.Text = Sheets("数据").Range("B" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("纬度值")rn .Selection.Text = Sheets("数据").Range("C" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("运营商值")rn .Selection.Text = Sheets("数据").Range("AD" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("塔桅信息")rn .Selection.Text = Sheets("数据").Range("AE" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("其他费用值")rn .Selection.Text = Sheets("数据").Range("V" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn Do While .Selection.Find.Execute("<em>项目</em>名称") '查找到指定字符串rn .ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader '设置位置在页眉rn .Selection.HomeKey Unit:=wdStory '光标置于文件首rn .Selection.Text = Sheets("数据").Range("A" & i).Text '替换字符串rn .Selection.HomeKey Unit:=6rn Looprn End Withrn Word对象.Documents.Savern Word对象.Quitrn Set Word对象 = Nothingrn Next irnEnd Sub[/code]
shell脚本报错,求大神帮忙解决
shell脚本内容<em>如下</em>rnrn#!/bin/shrnexport NLS_LANG=AMERICAN_AMERICA.ZHS16GBKrnora_path='abp_query/bhp2pz_P@new_hss'rnrntable_name='tmp_pldx_warn'rnrn#获得文件地址rnrncd /home/abp/zjprnmyFile="`date '+%Y%m%d'`*.csv"rn echo $myFilern#检查文件是否存在 rn if [ ! -f "myFile" ]; rnthen rn#登录数据库 rn sqlplus -s $ora_path <
报错,不会解决了。。。求大神帮忙一下
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Linq;rnusing System.Text;rnusing System.Windows.Forms;rnusing System.Runtime.InteropServices;rnusing System.Management;rnusing System.Net.NetworkInformation;rnusing System.Text.RegularExpressions;rnrn rnrnnamespace WebPagesrnrn public partial class Form1 : Formrn rn ConfigFile cf = ConfigFile.Instanse; rn public Form1()rn rn InitializeComponent();rn rnrn private void button1_Click(object sender, EventArgs e)rn rn Dia<em>log</em>Result choice;  // 用户的选择rn choice = MessageBox.Show("确定要退出吗?", "退出系统", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);rnrn if (choice == Dia<em>log</em>Result.OK)rn rn Application.Exit(); // 退出应用程序rn rn rnrnrn ////ShellExecute函数ShowCmd参数可选值 rnrn /// rn /// 小程序rn /// rnrnrn //开始删除IE缓存、打开计算器、打开记事本rnrn public enum ShowCommands : int rn rn SW_HIDE = 0, rn SW_SHOWNORMAL = 1, rn SW_NORMAL = 1, rn SW_SHOWMINIMIZED = 2, rn SW_SHOWMAXIMIZED = 3, rn SW_MAXIMIZE = 3, rn SW_SHOWNOACTIVATE = 4, rn SW_SHOW = 5, rn SW_MINIMIZE = 6, rn SW_SHOWMINNOACTIVE = 7, rn SW_SHOWNA = 8, rn SW_RESTORE = 9, rn SW_SHOWDEFAULT = 10, rn SW_FORCEMINIMIZE = 11, rn SW_MAX = 11 rn rn rn //调用Win32 API rn [DllImport("shell32.dll")] rn static extern IntPtr ShellExecute(IntPtr hwnd, string lpOperation, string lpFile, rn string lpParameters, string lpDirectory, ShowCommands nShowCmd); rnrn private void button43_Click(object sender, EventArgs e)rn rn //删除IE临时文件rn ShellExecute(IntPtr.Zero, "open", "rundll32.exe",rn "InetCpl.cpl,ClearMyTracksByProcess 255", "", ShowCommands.SW_SHOWMAXIMIZED);rn rnrn private void button44_Click(object sender, EventArgs e)rn rn //调用calc.exe打开计算器 rn ShellExecute(this.Handle, "open", "calc.exe", null, null, ShowCommands.SW_FORCEMINIMIZE); rn rnrn private void button45_Click(object sender, EventArgs e)rn rn //调用NOTEPAD.EXE打开记事本 rn ShellExecute(this.Handle, "open", "NOTEPAD.EXE", null, null, ShowCommands.SW_SHOWNORMAL); rn rn //结束删除IE缓存、打开计算器、打开记事本rnrn ///rnrn #region 加载配置文件中的信息 rn /// rn /// 加载配置文件中的信息 rn /// rn protected void loadConfig() rn rn cf.fileName = AppDomain.CurrentDomain.BaseDirectory + "\\config.ini"; rn txtIP.Text = cf["ip地址"]; rn txtSubMark.Text = cf["子网掩码"]; rn txtGateWay.Text = cf["默认网关"]; rn txtDNS1.Text = cf["主DNS"]; rn txtDNS2.Text = cf["备用DNS"]; rn rn #endregion rn rn #region 设置ip信息到网卡 rn private void btnSettingNetwork_Click(object sender, EventArgs e) rn rn rn try rn rn if (!IsIpaddress(txtIP.Text.Trim())) rn rn MessageBox.Show("ip格式不正确!"); return; rn rn if (!IsIpaddress(txtSubMark.Text.Trim())) rn rn MessageBox.Show("子网掩码格式不正确!"); return; rn rn if (!IsIpaddress(txtGateWay.Text.Trim())) rn rn MessageBox.Show("网关格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS1.Text.Trim())) rn rn MessageBox.Show("DNS1格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS2.Text.Trim())) rn rn MessageBox.Show("DNS2格式不正确!"); return; rn rn string[] ip = new string[] txtIP.Text.Trim() ; rn string[] SubMark = new string[] txtSubMark.Text.Trim() ; rn string[] GateWay = new string[] txtGateWay.Text.Trim() ; rn string[] DNS = new string[] txtDNS1.Text.Trim(),txtDNS2.Text.Trim() ; rn SetIpInfo(ip, SubMark, GateWay, DNS); rn cf["ip地址"] = txtIP.Text.Trim(); rn cf["子网掩码"] = txtSubMark.Text.Trim(); rn cf["默认网关"] = txtGateWay.Text.Trim(); rn cf["主DNS"] = txtDNS1.Text.Trim(); rn cf["备用DNS"] = txtDNS2.Text.Trim(); rn MessageBox.Show("ip信息设置成功!","成功提示",MessageBoxButtons.OK,MessageBoxIcon.Information); rn rn catch(Exception er) rn rn MessageBox.Show("设置出错:"+er.Message,"出错提示",MessageBoxButtons.OK,MessageBoxIcon.Error); rn rn rn rn protected void SetIpInfo(string []ip,string []SubMark,string []GateWay,string []DNS) rn rn ManagementBaseObject inPar = null; rn ManagementBaseObject outPar = null; rn ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); rn ManagementObjectCollection moc = mc.GetInstances(); rn foreach (ManagementObject mo in moc) rn rn if (!(bool)mo["IPEnabled"]) continue; rn inPar = mo.GetMethodParameters("EnableStatic"); rn inPar["IPAddress"] = ip;//ip地址 rn inPar["SubnetMask"] =SubMark; //子网掩码 rn mo.InvokeMethod("EnableStatic", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetGateways"); rn inPar["DefaultIPGateway"] = GateWay; //设置网关地址 1.网关;2.备用网关 rn outPar = mo.InvokeMethod("SetGateways", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetDNSServerSearchOrder"); rn inPar["DNSServerSearchOrder"] = DNS; //设置DNS 1.DNS 2.备用DNS rn mo.InvokeMethod("SetDNSServerSearchOrder", inPar, null);// 执行 rn break; //只设置一张网卡,不能多张。 rn rn rn rn #endregion rn rn #region 从网卡获取ip设置信息 rn /// rn /// 从网卡获取ip设置信息 rn /// rn /// rn /// rn private void btnGetFromNetwork_Click(object sender, EventArgs e) rn rn NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); rn foreach (NetworkInterface adapter in nics) rn rn bool Pd1 = (adapter.NetworkInterfaceType == NetworkInterfaceType.Ethernet); //判断是否是以太网连接 rn if (Pd1) rn rn IPInterfaceProperties ip = adapter.GetIPProperties(); //IP配置信息 rn if (ip.UnicastAddresses.Count > 0) rn rn txtIP.Text = ip.UnicastAddresses[0].Address.ToString();//IP地址 rn txtSubMark.Text = ip.UnicastAddresses[0].IPv4Mask.ToString();//子网掩码 rn rn rn if (ip.GatewayAddresses.Count > 0) rn rn txtGateWay.Text = ip.GatewayAddresses[0].Address.ToString();//默认网关 rn rn int DnsCount = ip.DnsAddresses.Count; rn Console.WriteLine("DNS服务器地址:"); rn if (DnsCount > 0) rn rn try rn rn txtDNS1.Text = ip.DnsAddresses[0].ToString(); //主DNS rn txtDNS2.Text = ip.DnsAddresses[1].ToString(); //备用DNS地址 rn rn catch(Exception er) rn rn throw er; rn rn rn rn rn rn #endregion rn rn #region 判断是否是正确的ip地址 rn /// rn /// 判断是否是正确的ip地址 rn /// rn /// rn /// rn protected bool IsIpaddress(string ipaddress) rn rn string[] nums = ipaddress.Split('.'); rn if (nums.Length != 4) return false; rn foreach (string num in nums) rn rn if ( Convert.ToInt32(num) < 0 || Convert.ToInt32(num) > 255) return false; rn rn return true; rn rn #endregion rn rn #region Form1_Load rn private void Form1_Load(object sender, EventArgs e) rn rn loadConfig(); rn rn #endregion rn rnrn rn rnrnrn<em>报错</em>:rn未能找到类型或命名空间名称“ManagementBaseObject”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementClass”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementObjectCollection”(是否缺少 using 指令或程序集引用?)rnrnrn
Jboss 发布web项目报错却能运行,同样的项目在tomcat中不报错运行
[img=https://img-bbs.csdn.net/upload/201407/21/1405945029_847533.jpg][/img][img=https://img-bbs.csdn.net/upload/201407/21/1405945071_848817.jpg][/img]rn同样的<em>项目</em>在Tomcat中部<em>报错</em>能<em>运行</em>,在Jboss中部署时报了一堆下面的错,但是却又能在浏览器访问,求<em>大神</em>指点rnrnrn20:08:40,114 WARN [com.opensymphony.xwork2.util.FileManager] (MSC service thread 1-1) Could not create JarEntryRevision!: java.io.FileNotFoundException: vfs:\D:\jboss7.1\standalone\deployments\StrutsDay02.war\WEB-INF\lib\struts2-core-2.1.8 (文件名、目录名或卷标语法不正确。)rn at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_51]rn at java.util.zip.ZipFile.(ZipFile.java:215) [rt.jar:1.7.0_51]rn at java.util.zip.ZipFile.(ZipFile.java:145) [rt.jar:1.7.0_51]rn at java.util.jar.JarFile.(JarFile.java:153) [rt.jar:1.7.0_51]rn at java.util.jar.JarFile.(JarFile.java:117) [rt.jar:1.7.0_51]rn at com.opensymphony.xwork2.util.FileManager$JarEntryRevision.build(FileManager.java:297) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:133) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:93) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:887) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:143) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:110) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:168) [xwork-core-2.1.6.jar:]rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55) [xwork-core-2.1.6.jar:]rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:374) [struts2-core-2.1.8.jar:]rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:418) [struts2-core-2.1.8.jar:]rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69) [struts2-core-2.1.8.jar:]rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51) [struts2-core-2.1.8.jar:]rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [jbossweb-7.0.13.Final.jar:]rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269) [jbossweb-7.0.13.Final.jar:]rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:3865) [jbossweb-7.0.13.Final.jar:]rn at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]rn at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)rn at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]rn at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
项目log日志打印
①使用到的jar包: 大概是这几个,<em>具体</em>我也不知道是哪一个,下次使用的时候自己测试下。 commons-<em>log</em>ging-1.2.jar commons-discovery-0.5.jar <em>log</em>4j-1.2.17.jar ②<em>log</em>4j.properties 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ...
项目内存溢出,log乱码解决
-Xms800m -Xmx800m -XX:MaxNewSize=256m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8
项目log的过滤
-
关于项目log
日志的代码片段#定义LOG输出级别 <em>log</em>4j.rootLogger=debug,Console,File,Error #定义日志输出目的地为控制台 <em>log</em>4j.appender.Console=org.apache.<em>log</em>4j.ConsoleAppender <em>log</em>4j.appender.Console.Target=System.out #可以灵活地指定日志输出格式,下面两行是指定<em>具体</em>的格式 l
项目log】人脸识别
matlab调用caffe1)学习matlab调用caffe的接口http://www.cnb<em>log</em>s.com/linyuanzhou/p/5913505.htmlhttp://b<em>log</em>.csdn.net/eagelangel/article/details/524120682)人脸识别https://cloud.baidu.com/product/bfr.htmlhttp://open.yout...
tomcat 发布项目 ,打开后 一会儿自动关闭, 日志如下,请大神帮忙看看解决方法!
2013-8-23 21:59:36 org.apache.catalina.core.AprLifecycleListener initrn信息: 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\Java\jdk1.6.0_25\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\app\hl\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Techno<em>log</em>ies\ATI.ACE\Core-Static;C:\Program Files\Java\jdk1.6.0_25\bin;C:\Program Files\Java\jdk1.6.0_25\jre\bin;D:\tomcat\apache-tomcat-7.0.35\lib;D:\ArcGIS sde\ArcSDE\ora11gexe\binrn2013-8-23 21:59:36 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-bio-8080"]rn2013-8-23 21:59:36 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-bio-8009"]rn2013-8-23 21:59:36 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 412 msrn2013-8-23 21:59:36 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn2013-8-23 21:59:36 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.35rn2013-8-23 21:59:36 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor D:\tomcat\apache-tomcat-7.0.35\conf\Catalina\localhost\MobileInspectServer.xmlrn2013-8-23 21:59:36 org.apache.catalina.startup.SetContextPropertiesRule beginrn警告: [SetContextPropertiesRule]Context Setting property 'debug' to '0' did not find a matching property.rn2013-8-23 21:59:36 org.apache.catalina.loader.WebappClassLoader validateJarFilern信息: validateJarFile(E:\SZCG\webApp\MobileInspectServer\WEB-INF\lib\geronimo-servlet_3.0_spec-1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classrn2013-8-23 21:59:40 net.sf.ehcache.CacheManager detectAndFixDiskStorePathConflictrn警告: Creating a new instance of CacheManager using the diskStorePath "D:\tomcat\apache-tomcat-7.0.35\temp" which is already used by an existing CacheManager.rnThe source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$InputStreamConfigurationSource@394ffa.rnThe diskStore path for this CacheManager will be set to D:\tomcat\apache-tomcat-7.0.35\temp\ehcache_auto_created_1377266380980.rnTo avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.rn
tomcat 项目启动失败 不输出具体错误
https://www.cnb<em>log</em>s.com/sxdcgaq8080/p/8005886.html 在classpath下新建 <em>log</em>ging.properties文件 handlers = org.apache.juli.FileHandler, java.util.<em>log</em>ging.ConsoleHandler org.apache.ju...
noteexpresso精细讲解下载
很好用的,我就是用这个学会的啊。大家快来下啊,欢迎交流 相关下载链接:[url=//download.csdn.net/download/c909975122/2666190?utm_source=bbsseo]//download.csdn.net/download/c909975122/2666190?utm_source=bbsseo[/url]
HOOK注入框架源码.下载
HOOK注入源代码,可以注入任何可执行程序,外挂必备 相关下载链接:[url=//download.csdn.net/download/damen2006/3422612?utm_source=bbsseo]//download.csdn.net/download/damen2006/3422612?utm_source=bbsseo[/url]
串口调试助手下载
软件为绿色软件,解压后在“串口调试助手V2.2.EXE”上右击,再选“发送桌面快捷方式”即可将程序快捷方式放在桌面上。 相关下载链接:[url=//download.csdn.net/download/u010436906/5295392?utm_source=bbsseo]//download.csdn.net/download/u010436906/5295392?utm_source=bbsseo[/url]
相关热词 c# gdi 占用内存 c#中遍历字典 c#控制台模拟dos c# 斜率 最小二乘法 c#进程延迟 c# mysql完整项目 c# grid 总行数 c# web浏览器插件 c# xml 生成xsd c# 操作sql视图
我们是很有底线的