web项目启动报错,大佬们帮忙看下什么原因 大神快来啊++++ 30C

信息: validateJarFile(G:\Program Files\Java\apache-tomcat-7.0.57\webapps\ROOT\WEB-INF\lib\tomcat-embed-core-8.5.14.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
十一月 22, 2017 11:48:32 上午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(G:\Program Files\Java\apache-tomcat-7.0.57\webapps\ROOT\WEB-INF\lib\tomcat-embed-el-8.5.14.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/el/Expression.class
十一月 22, 2017 11:48:32 上午 org.apache.catalina.deploy.WebXml setVersion
警告: Unknown version string [3.1]. Default version will be used.
十一月 22, 2017 11:48:35 上午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
at sun.rmi.transport.Transport$1.run(Transport.java:177)
at sun.rmi.transport.Transport$1.run(Transport.java:174)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[2017-11-22 11:48:35,769] Artifact illegal-parking-web:war: Error during artifact deployment. See server log for details.
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoSuchMethodError: org.apache.tomcat.util.res.StringManager.getManager(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
at org.apache.tomcat.websocket.WsWebSocketContainer.(WsWebSocketContainer.java:78)
at org.apache.tomcat.websocket.server.WsSci.init(WsSci.java:131)
at org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:47)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5481)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 40 more

十一月 22, 2017 11:48:35 上午 org.apache.tomcat.util.modeler.BaseModelMBean invoke
严重: Exception invoking method manageApp
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:848)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
at sun.rmi.transport.Transport$1.run(Transport.java:177)
at sun.rmi.transport.Transport$1.run(Transport.java:174)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
上面说tomcat里面那俩jar包未加载,但是我看了下,tomcat目录下有那俩jar包

7个回答

上面说tomcat里面那俩jar包未加载,但是我看了下,tomcat目录下有那俩jar包

严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
严重: Exception invoking method manageApp
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

更改tomcat配置文件catalina.properties 。
tomcat.util.scan.DefaultJarScanner.jarsToSkip=\ 值后面加",*"。
图片说明

loveLF1314
loveLF1314 回复k872370761: tomcat7支持3.0和以下的版本,3.1的话用tomcat8
接近 2 年之前 回复
k872370761
k872370761 改了配置文件之后是没有这个了,警告: Unknown version string [3.1]. Default version will be used. 但别的错还是不变
接近 2 年之前 回复

jar包版本的问题吧

Caused by: java.lang.NoSuchMethodError: org.apache.tomcat.util.res.StringManager.getManager(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;

看看是不是引入jar冲突的问题

引入的jar的问题吧!看看是否引入相应的jar包!

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
新人求助,tomcat启动报错,大神快来啊
错误如下,我贴图片了 ,求分析分析[img=https://img-bbs.csdn.net/upload/201505/22/1432282164_893527.jpg][/img][img=https://img-bbs.csdn.net/upload/201505/22/1432282188_62105.jpg][/img]
大神们快来啊!!!小弟急急急!!!
怎么在后台获取Repeater中的绑定在文本框里面的值,有什么方法,思想,请详细说下,谢谢大家了
大神们帮忙看下啊!!!
我写了一段代码,循环等待接受用户输入,并根据输入的年月输出当月的月历,且按键盘的左右键时可以显示前一月后一月的月历。我对这个键盘控制真的不清楚啊,,请大神点拨下啊。rnrnrnrnrn#include rn#includern#includern#includernrn/*定义常量*/rnrn/*左移键*/rnrn#define LEFT 0x4b00rnrn/*右移键*/rnrn#define RIGHT 0x4d00rnrnrnrnint JgYr(int yr) rn rnif (yr%4==0&&yr%100!=0&&yr%100==0&&yr%400==0) rnreturn 1; rnelse rnreturn 0; rn rnrnint CalWkd(int yr,int mth) rn rnint ds=0,i,rst,wkd; rnint mthd[13]=0,31,28,31,30,31,30,31,31,30,31,30,31; rnif (JgYr(yr)) rnmthd[2]=29; rnfor (i=1;i12) rnreturn 0; rnif (JgYr(yr)) rnmthd[2]=29; rnmtd=mthd[mth]; rnwkd=CalWkd(yr,mth); rnshowcld(wkd,mtd); rnprintf("\n");rnreturn 0; rn rnrnrnrn rn
运行报错,大佬们帮忙看看什么原因java.util.concurrent.ExecutionException
"C:\Program Files\Java\jdk1.8.0_201\bin\java" "-Dmaven.multiModuleProjectDirectory=C:\Users\Administrator\Desktop\travel - 副本" -Dfile.encoding=gb2312 "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_rt.jar=51249:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\bin" -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.2.6 tomcat7:runrn[INFO] Scanning for projects...rn[WARNING] rn[WARNING] Some problems were encountered while building the effective model for cn.itcast:travel:war:1.0-SNAPSHOTrn[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 131, column 21rn[WARNING] rn[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.rn[WARNING] rn[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.rn[WARNING] rn[INFO] rn[INFO] ------------------------------------------------------------------------rn[INFO] Building travel 1.0-SNAPSHOTrn[INFO] ------------------------------------------------------------------------rn[INFO] rn[INFO] >>> tomcat7-maven-plugin:2.1:run (default-cli) > process-classes @ travel >>>rn[INFO] rn[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ travel ---rn[WARNING] Using platform encoding (gb2312 actually) to copy filtered resources, i.e. build is platform dependent!rn[INFO] Copying 3 resourcesrn[INFO] rn[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ travel ---rn[INFO] Changes detected - recompiling the module!rn[INFO] Compiling 40 source files to C:\Users\Administrator\Desktop\travel - 副本\target\classesrn[WARNING] /C:/Users/Administrator/Desktop/travel - 副本/src/main/java/cn/itcast/travel/dao/impl/FindDaoImpl.java: 某些输入文件使用了未经检查或不安全的操作。rn[WARNING] /C:/Users/Administrator/Desktop/travel - 副本/src/main/java/cn/itcast/travel/dao/impl/FindDaoImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。rn[INFO] rn[INFO] <<< tomcat7-maven-plugin:2.1:run (default-cli) < process-classes @ travel << #write/* in servlet mappingrn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3223)rn at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3198)rn at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1366)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1353)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:369)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 6 morernrn七月 21, 2019 5:00:21 下午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]rn at java.util.concurrent.FutureTask.report(FutureTask.java:122)rn at java.util.concurrent.FutureTask.get(FutureTask.java:192)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)rn at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335)rn at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.startContainer(AbstractRunMojo.java:1091)rn at org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo.execute(AbstractRunMojo.java:512)rn at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)rn at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)rn at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)rn at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)rn at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)rn at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)rn at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)rn at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)rn at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)rn at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)rn at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)rn at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)rn at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)rn at org.codehaus.classworlds.Launcher.main(Launcher.java:47)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask.run(FutureTask.java:266)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)rn at java.lang.Thread.run(Thread.java:748)rnCaused by: org.apache.catalina.LifecycleException: A child container failed during startrn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn ... 6 morernrn[INFO] ------------------------------------------------------------------------rn[INFO] BUILD FAILURErn[INFO] ------------------------------------------------------------------------rn[INFO] Total time: 3.989 srn[INFO] Finished at: 2019-07-21T17:00:21+08:00rn[INFO] Final Memory: 32M/279Mrn[INFO] ------------------------------------------------------------------------rn[ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (default-cli) on project travel: Could not start Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1]rn[ERROR] rn[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.rn[ERROR] Re-run Maven using the -X switch to enable full debug logging.rn[ERROR] rn[ERROR] For more information about the errors and possible solutions, please read the following articles:rn[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExceptionrnrnProcess finished with exit code 1
大虾们快来啊
我想把sqlserver 中的表导出到dbf ,我用了以下语句(dbf 的表已建好,sa登陆)rninsert intornOPENROWSET('MICROSOFT.JET.OLEDB.4.0','dBase III;HDR=NO;IMEX=2;DATABASE=C:\','select jgdh from [dwb.dbf]') select jgdh from dwbrn执行时出现以下错误:rnrnOLE DB 提供程序 'MICROSOFT.JET.OLEDB.4.0' 报错。提供程序指出用户没有执行该操作的权限。rn[OLE/DB provider returned message: 不能更新。数据库或对象为只读。]rnrn这种情况我就该如何纠正?rnrn
大虾们,快来啊!!!!!!!!!!!!!!!!
有两张表如下rn1: 2:(加班的情况:名字出现一次就记一次) rn (name1统计白天) (name2统计夜里天)rn~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~rnname sex age date name1 name2rn张三 03-07-09 周七 李四rn李四 03-07-06 周七 王五rn王五 03-07-04 张三 周七 rn周七 03-07-03 周七 王五 rn车八 03-07-01 张三 车八 rn 03-06-31 周七 NULL rn 03-06-03 NULL 张三 rn 03-06-01 NULL NULLrnrnrn现在 要得到如下报表的 形式rn rn 白天 黑夜rn———————————————————————————— rn张三 加班的次数 加班的次数rn李四 加班的次数 加班的次数rn王五 加班的次数 加班的次数 rn周七 加班的次数 加班的次数 rn车八 加班的次数 加班的次数 rnrn请问该如何得到?先谢了rn如果这上面不好写就rnE_Mail: jsnhlr5907@sina.comrn rnrnrnrn
高手们,快来啊
我用c++builder中的DBGrid控件显示数据rn现在我想有点击右建 进行操作rn当点击不同的区域时(比如 title,column cell 这两个不同的区域)想弹出不同的PopMenue 该如何解决rn在线等待
tomcat启动报错,大神们帮忙分析分析
严重: Error configuring application listener of class org.springframework.web.context.request.RequestContextListenernjava.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListenern at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)n at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)n at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)n at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)n at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)n at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5034)n at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)n at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)n at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)n at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)n at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)n at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)n at java.util.concurrent.FutureTask.run(FutureTask.java:262)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)n at java.lang.Thread.run(Thread.java:745)
weblogic 启动报错 帮忙看下
报错如下:rnrnThere are 1 nested errors:rnrnrnThere are 1 nested errors:rnrnweblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavairnlablern at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CornmmonSecurityServiceManagerDelegateImpl.java:916)rn at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurrnityServiceManagerDelegateImpl.java:1050)rn at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:8rn73)rn at weblogic.security.SecurityService.start(SecurityService.java:141)rn at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)rnrn纠结了好久了 。。。rn
大神快快看进来啊!!!!!
![图片说明](https://img-ask.csdn.net/upload/201602/12/1455269458_32932.png)n红色框起来的地方我不懂啊,求大神解答
大神快来啊,急急急
一。[img=https://img-bbs.csdn.net/upload/201407/28/1406544173_475172.jpg][/img]这代码前边一行蓝色虚线是神马情况啊,有快捷键么?rnrn二。//var query = from l1 in listrn // from l2 in l1.Split(' ')rn //where l2.Substring(0, 1) == "X"|| l2.Substring(0, 1) == "v" || l2.Substring(0, 1) == "2"rn //select l2;rnvar query =listrn .....rn如上查询语句,我改成查询方法,from要怎么搞啊rn 三。转义字符问题,能否将首尾引号转义,中间的引号不动rn比如:rnstring s1 = " You say \" goodbye \"\" goodbye \"\" goodbye \"\" goodbye \"\" goodbye \"";rnConsole.WriteLine(s1);rn中间有很多 引号 我难道每一个都要转义么,有没有首尾引号转义而中间的都不用动啦 rn rn
sharepoint高手们快来啊
我不懂sharepoint,公司使用的sharepoint升级之后或者添加有其他同事操作之后出现错误。有一个[color=#FF0000]Correlation ID: ea51db63-0ecb-4a13-94d2-8d2ca5d8b604[/color] 根据这个ID找到错误日志。rnrn[code=C#]rnName=Request (GET:http://sharepoint:80/Task/default.aspx)rnrnSite=/rnrnLeaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=13.9967rnrnSystem.Threading.ThreadAbortException: Thread was being aborted. at SNIReadSync(SNI_Conn* , SNI_Packet** , Int32 ) at SNINativeMethodWrapper.SNIReadSync(SafeHandle pConn, IntPtr& packet, Int32 timeout) at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket() at System.Data.SqlClient.TdsParserStateObject.ReadBuffer() at System.Data.SqlClient.TdsParserStateObject.ReadByteArray(Byte[] buff, Int32 offset, Int32 len) at System.Data.SqlClient.TdsParserStateObject.ReadString(Int32 length) at System.Data.SqlClient.TdsParser.ReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj)...rnrnrn... at System.Data.SqlClient.TdsParser.ReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ReadColumnData() at System.Data.SqlClient.SqlDataReader.ReadColumn(Int32 i, Boolean setTimeout) at System.Data.SqlClient.SqlDataReader.GetSqlString(Int32 i) at System.Data.SqlClient.SqlDataReader.GetChars(Int32 i, Int64 dataIndex, Char[] buffer, Int32 bufferIndex, Int32 length) at Microsoft.SharePoint.SPSqlClient.setMappedOleDBTypes(Object[]& row, UInt16[] columnTypes, SqlDataReader reader) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock)rnrnrnERROR: ManagedObjectFactory failed to GetObject. HR=0x80131530, ObjectType=2rnrnCould not get SPSqlClient object from managed object factory. 0x80131530rnrnNULL SqlClient interface. Database Id = DD511E06-8A19-4AF3-9176-0C034C594548. ExternalSqlClient=0. 0x80131530rnrnUnable to execute query: Error 0x80004004rnrnUnknown SPRequest error occurred. More information: 0x80004004rnrnLeaving Monitored Scope (EnsureListItemsData). Execution Time=119243.288rnrnError while executing web part: System.Threading.ThreadAbortException: Thread was being aborted. at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSAC...rnrnrn...allback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPart...rnrnrn...Pages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)rnrnLeaving Monitored Scope (DataBinding DataFormWebPart (Pugster Tasks)). Execution Time=119246.7635rnrnSystem.Web.HttpException: Request timed out. rnrnLeaving Monitored Scope (Request (GET:http://sharepoint:80/Task/default.aspx)). Execution Time=119307.6096rnrnrn[/code]rnrnrn哪个高手帮忙看下是什么问题。
帮忙看下这是什么原因
尝试对参数 http://tempuri.org/ 进行序列化时出错: grbgk。InnerException 消息是“不应为数据协定名称为“Grbgk:http://schemas.datacontract.org/2004/07/Winning.Yngr.Core”的类型“Winning.Yngr.Core.Grbgk”。请考虑使用 DataContractResolver,或将任何未知类型以静态方式添加到已知类型的列表。例如,可以使用 KnownTypeAttribute 特性,或者将未知类型添加到传递给 DataContractSerializer 的已知类型列表。”。有关详细信息,请参见 InnerException。
帮忙看下这是什么原因?
rnrnrn//提示错误信息....Element type "jaws" must be declaredrn false//提示错误信息....Element type "debug" must be declaredrn java:/MSSQLDS>//提示错误信息....Element type "datasources" must be declaredrnrn MS SQLSERVER2000>//提示错误信息....Element type "type-mapping" must be declaredrnrnrn
请帮忙看下什么原因?
#include rn#include rnrnclass account rnrnprivate:rn char* name;rn char* ID;rn char* address;rn char zhanghao[20];rnpublic:rn account* next;rn account* creat();rn account* serach(char* e);rn;rnrnaccount a;rnrnaccount* head;rnrnaccount* account::creat()rnrn int s=1;rn account *p,*p1;rn p=new account;rn cout<<"输入你的帐号:"<>p->zhanghao;rn cout<<"输入你的姓名:"<>p->name;rn cout<<"输入你的身份证:"<>p->ID;rn cout<<"输入你的地址:"<>p->address;rn head=NULL;rn p1=p;rn while(s)rn rn if(head==NULL)rn rn head=p;rn rn elsern rn p1->next=p;rnrn rn p=new account;rn cout<<"1.继续输入"<>s;rn if(s==1)rn rn cout<<"输入你的帐号:"<>p->zhanghao;rn cout<<"输入你的姓名:"<>p->name;rn cout<<"输入你的身份证:"<>p->ID;rn cout<<"输入你的地址:"<>p->address;rn rn elsern rn s=0;rn rn rn delete p;rn return head;rnrnrnrn rnrnmain()rnrn int s=1,sec;rn while(s)rn rn cout<<"1.新建帐户."<>sec;rn if(sec==1)rn rn head=a.creat();rn rnrnrnrnrnrnrnrn程序运行到cout<<"输入你的帐号:"<>p->zhanghao;rn处就出错,我把account类中的char* zhanghao改成char zhanghao[20]运行就可以,请问这个是为什么?还有->和.2个符号有什么不同?各在什么情况下用?
大佬们,求帮忙
[img=https://img-bbs.csdn.net/upload/201808/30/1535617908_474864.jpg][/img] 这个情况怎么解决啊,求大神们指导,
大佬们求帮忙
#includern#includern#includernusing namespace std;rntypedef structrn float data;rn int index;rnElement;rnclass Polynomialrn public:rn void create();rn void print();rn void add(Polynomial &a,Polynomial &b); rn //private:rn vectorPolynomial_vector;rn;rnvoid Polynomial::create()rn int m,i;rn Element p;rn cout<<"输出一元多项式的项数:";rn cin>>m;rn for(i=0;i>p.data>>p.index;rn Polynomial_vector.push_back(p);rn rnrnvoid Polynomial::print()rn vector::iterator iter;rn for(iter=Polynomial_vector.begin();iter!=Polynomial_vector.end();iter++)rn if((*iter).data!=0)rn if((*iter).index==0)rn cout<<(*iter).data<::iterator iter1=a.Polynomial_vector.begin();rn vector::iterator iter2=Polynomial_vector.begin(); rn vector::iterator iter3;rn Element t;rn int temp;rn nomial_vector.end()))rn temp=(*iter1).index;rn iter3=find(Polynomial_vector.begin(),Polynomial_vector.end(),temp);rn if(iter3!=Polynomial_vector.end())rn if((*iter1).data+(*iter2).data!=0)rn t.index=(*iter1).index;rn t.data=(*iter1).data+(*iter2).data;rn b.Polynomial_vector.push_back(t) ;rn iter1++;rn iter2++;rn rn elsern iter1++;rn iter2++;rn rn rn elsern b.Polynomial_vector.push_back((*iter1));rn iter1++;rn rn rn if(iter1!=a.Polynomial_vector.end())rn b.Polynomial_vector.push_back(*iter1++);rn rn if(iter2!=Polynomial_vector.end())rn b.Polynomial_vector.push_back(*iter2++);rn rn rnrnrnbool com(Element e1,Element e2)rn return e1.index
求大神们帮忙看下哪里问题。
use school_MSrngorncreate procedure Proclnsertrn(@hao varchar(20),@ke varchar(20),@tai varchar(20))rnasrnbeginrnselect sname,score,cnamernfrom course b join student c join student_course arnon b.cno=a.tcidrnon a.sno=c.snornbeginrnif @hao='B0451101'and @ke=30020108rnupdate student_coursernset @tai=-101rnwhere @hao='B0451101' and @ke=30020108rnprint '该学生已经在该门课程的成绩已经存在';rnelse  rn update student_coursernset @tai=10rnprint '该条记录可以添加'rnendrnendrngo
新手学习JSP 大神们帮忙看下!
我整理好了一个 操作数据库的类 代码如下, 单独测试数据库连接没有任何问题,但是把类引入到JSP页面后 执行会报 连接不上数据 rnrnimport java.sql.*;rnrnpublic class OperateOracle rn // orcl为oracle数据库中的数据库名,localhost表示连接本机的oracle数据库rn // 1521为连接的端口号rn private static String url = "jdbc:oracle:thin:@10.135.108.104:1521:ora11gp";rn // system为登陆oracle数据库的用户名rn private static String user = "ll";rn // manager为用户名system的密码rn private static String password = "512228";rn public static Connection conn; //创建用于连接数据库的Connection对象 rn public static PreparedStatement ps;rn public static ResultSet rs;rn public static Statement st;rn rn public static void main(String[] args) rn // TODO Auto-generated method stubrn getConnection();rn if(conn==null)rn System.out.print("NO");rn else rn System.out.print("yes");rn rnrn rn /* 获取数据库连接的函数*/ rn public static Connection getConnection() rn rn try rn Class.forName("oracle.jdbc.driver.OracleDriver");// 加载oracle数据驱动 rn rn conn = DriverManager.getConnection(url, user, password);// 创建数据连接 rn rn catch (Exception e) rn e.printStackTrace();rn //System.out.println("数据库连接失败" + e.getMessage()); rn rn return conn; //返回所建立的数据库连接 rn rnrn /* 插入数据记录,并输出插入的数据记录数*/ rn public static void insert(String sql) rn rn conn = getConnection(); // 首先要获取连接,即连接到数据库 rn rn try rn st = (Statement)conn.createStatement(); // 创建用于执行静态sql语句的Statement对象 rn rn int count = st.executeUpdate(sql); // 执行插入操作的sql语句,并返回插入数据的个数 rn rn System.out.println("向t1表中插入 " + count + " 条数据!!"); //输出插入操作的处理结果 rn rn conn.close(); //关闭数据库连接 rn rn catch (SQLException e) rn System.out.println("插入数据失败" + e.getMessage()); rn rn rn rnrn单独测试数据库连接没有任何问题,但是把类引入到JSP页面后 执行会报 连接不上数据 JSP 代码如下:rnrn<%@ page language="java" contentType="text/html; charset=UTF-8"rn pageEncoding="UTF-8"%>rn<%@page import="dao.OperateOracle"%>rnrnrnrn rn 提交处理rnrnrn<%rnString name = request.getParameter("xm");rnString age = request.getParameter("nl");rnString dianhua = request.getParameter("dh");rn//System.out.print(name);rn//System.out.print(age);rn//System.out.print(dianhua);rnrnrnString sq = "insert into t3(name,age,dianhua) values('"+name+"',"+age+",'"+dianhua+"');";rnOperateOracle.insert(sq);rn%>rnrnrn
大佬们帮忙看看。
/* 登录系统; 可注册密码。可修改密码;*/rnrn#includern#include rn#include rn#includern void dengluxitong();rnint main()rnrn dengluxitong(10);rn rn return 0;rn rn rn rn void dengluxitong(int n) rn rn rn while(1) rn rn rn char (*p)[10]=malloc(sizeof(char[10])*n);rn rn FILE *fp=NULL;rn int a=0,i=0;rn do rn a=0,i=0;rn printf("1.登录\n2.注册\n3.修改密码\n");rn scanf("%d",&a);rn fflush(stdin);rn rn if(a<1||a>3)rn printf("\n无效的序号!"); Sleep(1000); rn rn system("cls");rn rn while(a<1||a>3);rn rn rn switch(a)rn rn case 3: while(1) rn rn printf("账号:");rn scanf("%s",p[0]);rn printf("原密码:");rn scanf("%s",p[1]);rn printf("新密码:");rn scanf("%s",p[2]);rn rn fp=NULL;rn fp=fopen("Sl.txt","r+");rn rn if(fp==NULL)rn printf("文件打开失败!"); return ;rn rn for(i=4;i=n) rn printf("此账号不存在!"); Sleep(1000); system("cls"); continue; //因达到循环次数上限导致循环结束的 表明并没有此账号 (如果有此账号 将会break 直接结束循环 ) rnrn rn rn if(strcmp(p[1],p[i+1])==0) //账号后面就是该账号的密码 ;判断密码如果无误 就对密码进行更换 rn strcpy(p[i+1],p[2]); system("cls"); break; //用新密码将原密码替换掉 rn elsern printf("原密码错误!"); Sleep(1000); system("cls");rn rn rn rn rn for(i=4;i=n)rn printf("此账号不存在!"); Sleep(1000); system("cls"); free(p); continue;rn rn rn rn if(strcmp(p[1],p[i+1])==0 ) //核对输入密码是否与存入密码相符; rn printf("登录成功!"); Sleep(1000); system("cls"); free(p); return ;rn elsern printf("密码错误!"); Sleep(1000); system("cls"); rn rn fclose(fp); rn rn rn rn rn rn rn rn rn rn free(p);rn rn rn rn rnrn[img=https://img-bbs.csdn.net/upload/201801/27/1517015534_474100.png][/img] 注册账号发现文件写入那么多(如图) 就写不进去了。 再写入的时候没有提示,就是账号信息并没有在文件中。 能写入多少似乎和我的数组大小有关。rnrn rn但是当我使用a 再次打开一次文件后再读写就没问题了rn[img=https://img-bbs.csdn.net/upload/201801/27/1517016097_821747.png][/img]rn
js大神们,帮忙看下代码
function get()rn for(var i=1;i<=9;i++)rn for(var j=1;j<=i;j++)rn document.getElementById("demo").innerHTML=(i+"*"+j+"="+i*j+" ");rn rn document.getElementById("demo").innerHTML=" "rn rnrnrn乘法表rn
webservice+cxf整合问题,大佬快来啊
![图片说明](https://img-ask.csdn.net/upload/201710/19/1508345234_813360.jpg)n![图片说明](https://img-ask.csdn.net/upload/201710/19/1508345252_866214.jpg)n![图片说明](https://img-ask.csdn.net/upload/201710/19/1508345268_522874.jpg)n![图片说明](https://img-ask.csdn.net/upload/201710/19/1508345286_700807.jpg)nn2017-10-19 0:42:33 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClassn信息: Creating Service http://server.hsy.com/HelloWorld from class com.hsy.server.HelloWorldn2017-10-19 0:42:34 org.apache.cxf.endpoint.ServerImpl initDestinationn信息: Setting the server's publish address to be http://localhost:8080/helloWorldnException in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)Vn at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:607)n at org.eclipse.jetty.util.log.JettyAwareLogger.warn(JettyAwareLogger.java:431)n at org.eclipse.jetty.util.log.Slf4jLog.warn(Slf4jLog.java:69)n at org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed(AbstractLifeCycle.java:204)n at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:74)n at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:414)n at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179)n at org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49)n at org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:95)n at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:896)n at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)n at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:362)n at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)n at org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:155)n at javax.xml.ws.Endpoint.publish(Endpoint.java:170)n at com.hsy.server.webServiceApp.main(webServiceApp.java:14)
看过算法导论的大神们来啊
关于里面的证明你们都看懂了吗??还有课后题都会做吗,我才看到第一部分的随机算法的证明部分就十分悲剧了,看到课后题更是一头雾水,求指导!!!
web项目启动报错!
项目中使用了spring框架,错误提示:rnrn2011-08-24 16:59:29 [main] DEBUG org.springframework.beans.TypeConverterDelegate - Cannot create copy of Map type [java.util.LinkedHashMap] - injecting original Map as-isrnjava.lang.InstantiationException: intrn at java.lang.Class.newInstance0(Class.java:340)rn at java.lang.Class.newInstance(Class.java:308)rn at org.springframework.beans.TypeConverterDelegate.convertToTypedMap(TypeConverterDelegate.java:634)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:236)rn at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:104)rn at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:419)rn at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:657)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:191)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1044)rn at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(AbstractUrlHandlerMapping.java:369)rn at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUrlHandlerMapping.java:129)rn at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(SimpleUrlHandlerMapping.java:104)rn at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)rn at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:71)rn at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)rn at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:99)rn at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:82)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1396)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:443)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:459)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:340)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:307)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)rn at javax.servlet.GenericServlet.init(GenericServlet.java:212)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)rn at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)rn at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)rn at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)rn at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)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:519)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:581)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:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
大佬帮忙看下这个问题
[code=java]rnHttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();rn[/code]rnrn为什么这一行会报空指针呢,而且我在web.xml中已经配置了RequestContextListener监听器。该怎么解决呢。
这是什么原因?求高手~~~~快来啊
(.text.startup+0x33b)undefined reference to `ceres::Problem::~Problem()' (.text.startup+0x33b)rn这是什么原因?后面表示的是什么原因?高手可以详细解释一下吗?
大神们快来啊!求助!汇编莫名进入死循环。。。
目的:16x16打印00-ff的ascii字符rn问题:成功打印16x16的ascii字符,但是一直循环打印rnrnrnrnassume cs:code ss:stackrnstack segmentrn db 16 dup('0')rnstack endsrnrncode segmentrnstart: mov sp, 16rn mov ax, 0rn mov dx, 0rn mov cx, 16rn mov bx, 0rnL1: push cx rn mov cx, 16rnL2: cmp bl, 07hrn jb printrn cmp bl, 10hrn ja printrn jmp a1rn rn rnprint: mov al, 0rn mov dl, bl rna2: mov ah, 02hrn int 21hrn mov dl, 20hrn mov ah, 02hrn int 21hrn inc blrn loop L2 rnrn mov dl, 0dhrn mov ah, 02hrn int 21hrn mov dl, 0ahrn mov ah, 02hrn int 21hrn pop cxrn loop L1rnrna1: mov dl, 23hrn jmp a2rnrnrnending: mov ax, 4c00hrn int 21hrnrncode endsrnrnend start
大神们看看这是什么原因
[code=text]#include rn#include rn#include rn#include rnint MERGE_SORT(int* pt,int p,int r);rnvoid MERGE(int* ptr,int p,int q,int r);rnvoid main()rn rn int i=0;rn int a[]=3,1,4,6,2,9,8,6;rnrn MERGE_SORT(a,0,7);rn /*输出数组*/rn while(i<=7)rn printf("%d",a[i++]);rnrnint MERGE_SORT(int* pt,int p,int r)rnrn int q=floor((p+r)/2);rn if(p=r) return 0;rn if(pf:\visual studio\6.1\6.1\1.c(19): warning C4244: “初始化”: 从“double”转换到“int”,可能丢失数据rn1>f:\visual studio\6.1\6.1\1.c(41): error C2143: 语法错误 : 缺少“;”(在“类型”的前面)rn1>f:\visual studio\6.1\6.1\1.c(42): error C2143: 语法错误 : 缺少“;”(在“类型”的前面)rn1>f:\visual studio\6.1\6.1\1.c(43): error C2143: 语法错误 : 缺少“;”(在“类型”的前面)rn1>f:\visual studio\6.1\6.1\1.c(44): error C2065: “k”: 未声明的标识符rn1>f:\visual studio\6.1\6.1\1.c(44): error C2065: “k”: 未声明的标识符rn1>f:\visual studio\6.1\6.1\1.c(44): error C2065: “k”: 未声明的标识符rn1>f:\visual studio\6.1\6.1\1.c(47): error C2065: “k”: 未声明的标识符rn1>f:\visual studio\6.1\6.1\1.c(48): error C2065: “k”: 未声明的标识符rn1>rn1>生成失败。
SpringMVC+Hibernate启动报错 求大神帮忙!
现在需要搭建一个SpringMVC+Hibernate的一个项目。启动时一直报错rnError creating bean with name 'transactionManager' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.service.UnknownUnwrapTypeException: Cannot unwrap to requested type [javax.sql.DataSource]rn这个是application.xml文件rn[code=java]rnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn [/code]rn请问大神们怎么解决
环境启动报错,请大神帮忙看下,谢谢,送积分。
2016-12-30 11:27:55,732rnERROR: Catalina.start:rnorg.apache.catalina.LifecycleException: Failed to start component [StandardServer[8288]]rnat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rnat org.apache.catalina.startup.Catalina.start(Catalina.java:684)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rnat java.lang.reflect.Method.invoke(Method.java:601)rnat org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:341)rnat org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]rnat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rnat org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732)rnat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn... 7 morernCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]rnat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)rnat org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)rnat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn... 9 morernCaused by: org.apache.catalina.LifecycleException: A child container failed during startrnat org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1096)rnat org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302)rnat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn... 11 morern2016-12-30 11:27:55,732rnINFO: Server startup in 8950 ms
[Btrace 启动报错]大侠们帮忙
控制台输入命令,什么原因呢??rnC:\Java\btrace\bin>btrace 3440 Btest.javarnException in thread "main" java.lang.NoClassDefFoundError: com/sun/source/util/TaskListenerrn at com.sun.btrace.client.Client.compile(Client.java:169)rn at com.sun.btrace.client.Client.compile(Client.java:152)rn at com.sun.btrace.client.Main.main(Main.java:152)rnCaused by: java.lang.ClassNotFoundException: com.sun.source.util.TaskListenerrn at java.net.URLClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClassInternal(Unknown Source)rn ... 3 morern
各位大神帮忙看下
templaternclass Arn…;rnrntemplaternvector*> vec;rnrn这段代码有啥问题?
大神帮忙看下 多谢
我们最近用clocklingIT 感觉保存的时候特别慢,我找到save_log这个方法,想在里面加几个时间戳,看看到底是哪里耗时,请问我用logger记日志可以么 怎么log下当前时间呢?多谢
大神帮忙看下
2012-11-15 14:07:45 org.apache.coyote.http11.Http11Protocol pausern信息: Pausing Coyote HTTP/1.1 on http-80rn2012-11-15 14:07:46 org.apache.catalina.core.StandardService stoprn信息: Stopping service Catalinarn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: A web application registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThreadrn严重: A web application appears to have started a TimerThread named [Timer-0] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThreadrn严重: A web application appears to have started a TimerThread named [timerFactory] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled. rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-1] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-2] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-3] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearReferencesThreadsrn严重: A web application appears to have started a thread named [chartAppStart_Worker-4] but has failed to stop it. This is very likely to create a memory leak.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1c6f0bd]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1e743ad]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@c17ef]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@f90303]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@34bd88]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@874fba]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@183553a]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@9737a7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@15054a3]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:47 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMaprn严重: A web application created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1a24060]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@130770e]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.rn2012-11-15 14:07:47 org.apache.coyote.http11.Http11Protocol destroyrn信息: Stopping Coyote HTTP/1.1 on http-80rnrnrnrn
大神帮忙看下。。。
七月 22, 2014 10:47:27 上午 org.apache.catalina.core.AprLifecycleListener initrnINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;F:\app\zhangchaowu\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.7.0_10\bin;C:\Program Files (x86)\Java\jdk1.7.0_10\jre\bin;;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;F:\工作\eclipse\eclipse;;.rn七月 22, 2014 10:47:27 上午 org.apache.tomcat.util.digester.SetPropertiesRule beginrnWARNING: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:TellingB2B' did not find a matching property.rn七月 22, 2014 10:47:27 上午 org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["http-bio-8080"]rn七月 22, 2014 10:47:27 上午 org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["ajp-bio-8009"]rn七月 22, 2014 10:47:27 上午 org.apache.catalina.startup.Catalina loadrnINFO: Initialization processed in 303 msrn七月 22, 2014 10:47:27 上午 org.apache.catalina.core.StandardService startInternalrnINFO: Starting service Catalinarn七月 22, 2014 10:47:27 上午 org.apache.catalina.core.StandardEngine startInternalrnINFO: Starting Servlet Engine: Apache Tomcat/7.0.29rn七月 22, 2014 10:47:33 上午 org.apache.catalina.core.ApplicationContext logrnINFO: No Spring WebApplicationInitializer types detected on classpathrn七月 22, 2014 10:47:33 上午 org.apache.catalina.core.ApplicationContext logrnINFO: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rnlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.rnrn启项目到这个地方就一直不动了,有没有遇到同样情况的?
求助大神帮忙看下!!!
麻烦哪位大神能帮忙看下 下面代码中的$testid是哪里来的,小弟谢谢啦!rnrn rn";rnif (!isset($_SESSION[alogin]))rnrn echo " You are not Logged On Please Login to Access this Page";rn echo " Click Here for Login";rn exit();rnrnecho " Add Question ";rnif($_POST[submit]=='Save' || strlen($_POST['testid'])>0 )rnrnextract($_POST);rnmysql_query("insert into mst_question(test_id,que_desc,ans1,ans2,ans3,ans4,true_ans) values ('$testid','$addque','$ans1','$ans2','$ans3','$ans4','$anstrue')",$cn) or die(mysql_error());rnecho " Question Added Successfully.";rnunset($_POST);rnrn?>rn rn rn rn rn Select Test Name rn rn rn$row[2]";rnrnelsernrnecho "$row[2]";rnrnrn?>rn rn rn rn Enter Question rn rn rn rn rn Enter Answer1 rn rn rn rn rn Enter Answer2 rn rn rn rn rn Enter Answer3 rn rn rn rn rn Enter Answer4rn rn rn rn rn Enter True Answer rn rn rn rn rn rn rn rn rn rnrn rn
师傅们帮忙看下!!!!
[b]在KM2_CarInfo表中修改CarQF字段里面的数据 ,单机保存按钮为什么会提示“不是有效的整型数据”这个错误?????[/b]rn[img=https://img-bbs.csdn.net/upload/201501/13/1421115026_922626.png][/img]rn[img=https://img-bbs.csdn.net/upload/201501/13/1421115036_814997.png][/img]rnrn下边是按钮的源码 ,我是新手麻烦知道的师傅给予指点,小弟在此谢过~~~~rnprocedure TForm1.Button1Click(Sender: TObject);rnbeginrn ADOQuery2.Close;rn ADOQuery2.SQL.Clear;rn ADOQuery2.SQL.Text:='update KM2_CarInfo set CarQF=:CarQF where ID=:2';rn ADOQuery2.Parameters.ParamByName('CarQF').Value:=StrToInt(Trim('Edit1.Text'));rn ADOQuery2.ExecSQL;rnend;
很简单的问题,帮忙看下什么原因
eclipse3.2 + tomcat5 + myeclipse 5rntomcat已经显示setup了rnrn刚装的环境,运行一个很简单的测试页,出现错误如下:rnNo server associated with launch configuration. Aborting launch.rnrn是哪里缺了什么设置吗?大家不要笑我啊
大侠们,帮忙看下
public void BindGridView()//绑定数据rn rn SqlConnection cn = zjportCommon.DataAccess.GetConnection();rn cn.Open();rn SqlCommand cmd = new SqlCommand("select Berth ,IO from Application where ShipStatus='6'", cn);rn rn SqlDataAdapter da = new SqlDataAdapter(cmd);rn DataSet ds = new DataSet();rn da.Fill(ds);rn rn this.GridView1.DataSource = ds;rn this.GridView1.DataBind();rn cn.Close();rn rn rn报错:There is no row at position 0,这是为啥呢?
快帮忙啊!!这是什么原因?
adCmdSPStoredProc = 4rn adParamReturnValue = 4rn adParaminput = 1rn adParamOutput = 2rn adInteger = 3rn adVarChar = 200rnstrTemp = chr(34) + "@RETURN_VALUE" +chr(34)+ ",adInteger,adParamReturnValue,,4:"rn strTemp = strTemp + chr(34) + "@au_lname" +chr(34)+ ",adVarChar,adParaminput,20," + chr(34) + "M" +chr(34)+":"rn strTemp = strTemp + chr(34) + "@intID" +chr(34)+ ",adInteger,adParamInput,,5:"rn strTemp = strTemp + Chr(34) + "@intIDOut" +chr(34)+ ",adInteger,adParamOutput,,3"rn Set ObjCmd = Server.CreateObject("ADODB.Command")rn ObjCmd.ActiveConnection = "Driver=SQL Server;server=(local);Uid=sa;Pwd=123;Database=Pubs"rn ObjCmd.CommandText = "sp_PubsTest"rn ObjCmd.CommandType = adCmdSPStoredProcrnrnIf strTemp<>Empty Thenrn varArry = Split(strTemp,":")rn For i=LBound(varArry) to UBound(varArry)rn strTemp = varArry(i)rn vbNewLinern ObjCmd.Parameters.Append ObjCmd.CreateParameter(strTemp)rn vbNewLinern Response.Write(" ObjCmd.Parameters.Append ObjCmd.CreateParameter(" + strTemp + ")")rn Nextrn End Ifrnrn Set Procedure = ObjCmd.Executern While (Not Procedure.Eof)rn Response.Write(Procedure("au_lname") + " ")rn Procedure.MoveNextrn Wendrnrnrn输出的语句是:rnObjCmd.Parameters.Append ObjCmd.CreateParameter("@RETURN_VALUE",adInteger,adParamReturnValue,,4)rnObjCmd.Parameters.Append ObjCmd.CreateParameter("@au_lname",adVarChar,adParaminput,20,"M")rnObjCmd.Parameters.Append ObjCmd.CreateParameter("@intID",adInteger,adParamInput,,5)rnObjCmd.Parameters.Append ObjCmd.CreateParameter("@intIDOut",adInteger,adParamOutput,,3)rn如果用这几句是可以的是对的,那么为什么我用rnFor i=LBound(varArry) to UBound(varArry)rn strTemp = varArry(i)rn vbNewLinern ObjCmd.Parameters.Append ObjCmd.CreateParameter(strTemp)rn vbNewLinern Response.Write(" ObjCmd.Parameters.Append ObjCmd.CreateParameter(" + strTemp + ")")rn Nextrn这样创建怎么就不行呢总是运行超时如果直接用那些输出的语句执行速度很快,这样用的原因是我在写函数,参数是以字符串的形式传入的!!!现急用请大家帮忙,要有现成的函数可以返回记录可以取输出值的执行存储过程的函数给小弟一个!!!rn
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数