求大神帮忙看下红圈是怎么来的 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
Bbs9
本版专家分:66324
Blank
红花 2014年5月 其他开发语言大版内专家分月排行榜第一
2014年4月 其他开发语言大版内专家分月排行榜第一
2014年3月 其他开发语言大版内专家分月排行榜第一
2014年1月 其他开发语言大版内专家分月排行榜第一
2013年12月 其他开发语言大版内专家分月排行榜第一
2013年3月 Windows专区大版内专家分月排行榜第一
2010年7月 其他开发语言大版内专家分月排行榜第一
2010年3月 其他开发语言大版内专家分月排行榜第一
2007年6月 其他开发语言大版内专家分月排行榜第一
2007年5月 其他开发语言大版内专家分月排行榜第一
2006年8月 其他开发语言大版内专家分月排行榜第一
2006年5月 其他开发语言大版内专家分月排行榜第一
2005年7月 其他开发语言大版内专家分月排行榜第一
2003年4月 其他开发语言大版内专家分月排行榜第一
Blank
黄花 2016年3月 其他开发语言大版内专家分月排行榜第二
2014年10月 其他开发语言大版内专家分月排行榜第二
2013年7月 Windows专区大版内专家分月排行榜第二
2013年5月 其他开发语言大版内专家分月排行榜第二
2013年4月 其他开发语言大版内专家分月排行榜第二
2012年11月 其他开发语言大版内专家分月排行榜第二
2012年6月 其他开发语言大版内专家分月排行榜第二
2011年11月 其他开发语言大版内专家分月排行榜第二
2011年9月 其他开发语言大版内专家分月排行榜第二
2010年6月 其他开发语言大版内专家分月排行榜第二
2007年4月 其他开发语言大版内专家分月排行榜第二
2006年12月 其他开发语言大版内专家分月排行榜第二
2006年11月 其他开发语言大版内专家分月排行榜第二
2005年6月 其他开发语言大版内专家分月排行榜第二
2003年5月 其他开发语言大版内专家分月排行榜第二
2003年3月 其他开发语言大版内专家分月排行榜第二
Blank
蓝花 2013年11月 其他开发语言大版内专家分月排行榜第三
2013年8月 其他开发语言大版内专家分月排行榜第三
2012年12月 其他开发语言大版内专家分月排行榜第三
2012年9月 其他开发语言大版内专家分月排行榜第三
2012年8月 其他开发语言大版内专家分月排行榜第三
2012年5月 其他开发语言大版内专家分月排行榜第三
2011年12月 其他开发语言大版内专家分月排行榜第三
2010年12月 其他开发语言大版内专家分月排行榜第三
2010年9月 其他开发语言大版内专家分月排行榜第三
Bbs1
本版专家分:0
求xzy21com大神帮忙
http://bbs.csdn.net/topics/390739600 对你提供的答复是非常满意,真是膜拜呀!!额的<em>大神</em>!rnrnrn请再赐教以下两个问题,万分感谢!rn[img=https://img-bbs.csdn.net/upload/201403/25/1395678836_231374.jpg][/img]
来正则大神,求帮忙
[code=csharp]rnrt = Regex.Match(siteUrl, @"view/([\w]+)/").Groups[1].Value;rnif (String.IsNullOrEmpty(rt)) rt = Regex.Match(siteUrl, @"/([\w]+)\.html").Groups[1].Value; [/code]rnrn上面的两个正则能不能只用一个就解决问题的,假如获得的方式远不只2个,有3,4,5,6...用我这种太坑爹了。帮<em>帮忙</em>。
各位大神帮忙看下
templaternclass Arn…;rnrntemplaternvector*> vec;rnrn这段代码有啥问题?
大神帮忙看下 多谢
我们最近用clocklingIT 感觉保存的时候特别慢,我找到save_log这个方法,想在里面加几个时间戳,看看到底是哪里耗时,请问我用logger记日志可以么 <em>怎么</em>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启项目到这个地方就一直不动了,有没有遇到同样情况的?
求助大神帮忙看下!!!
麻烦哪位<em>大神</em>能<em>帮忙</em><em>看下</em> 下面代码中的$testid是哪里来的,小弟谢谢啦!rnrn rn";rnif (!isset($_SESSION[alogin]))rnrn echo " You are not Logged On Please Login to Access this Page";rn echo " Click Here for Login";rn exit();rnrnecho " Add Question ";rnif($_POST[submit]=='Save' || strlen($_POST['testid'])>0 )rnrnextract($_POST);rnmysql_query("insert into mst_question(test_id,que_desc,ans1,ans2,ans3,ans4,true_ans) values ('$testid','$addque','$ans1','$ans2','$ans3','$ans4','$anstrue')",$cn) or die(mysql_error());rnecho " Question Added Successfully.";rnunset($_POST);rnrn?>rn rn rn rn rn Select Test Name rn rn rn$row[2]";rnrnelsernrnecho "$row[2]";rnrnrn?>rn rn rn rn Enter Question rn rn rn rn rn Enter Answer1 rn rn rn rn rn Enter Answer2 rn rn rn rn rn Enter Answer3 rn rn rn rn rn Enter Answer4rn rn rn rn rn Enter True Answer rn rn rn rn rn rn rn rn rn rnrn rn
我的jboss启动错误,求大神帮忙看下
===============================================================================rnrn JBoss Bootstrap Environmentrnrn JBOSS_HOME: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GArnrn JAVA: D:\Program Files (x86)\java\jdk1.8.0_25\bin\javarnrn JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=25rn6m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsrnun.rmi.dgc.server.gcInterval=3600000rnrn CLASSPATH: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\bin\run.jarrnrn===============================================================================rnrnJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; suprnport was removed in 8.0rn21:00:47,714 INFO [ServerImpl] Starting JBoss (Microcontainer)...rn21:00:47,715 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVrnNTag=JBoss_5_0_0_GA date=200812042120)rn21:00:47,715 INFO [ServerImpl] Bootstrap URL: nullrn21:00:47,715 INFO [ServerImpl] Home Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jrnboss-5.0.0.GArn21:00:47,716 INFO [ServerImpl] Home URL: file:/E:/J2EE/我的j2ee/jboss-5.0.0.GA-rnjdk6/jboss-5.0.0.GA/rn21:00:47,717 INFO [ServerImpl] Library URL: file:/E:/J2EE/我的j2ee/jboss-5.0.0.rnGA-jdk6/jboss-5.0.0.GA/lib/rn21:00:47,719 INFO [ServerImpl] Patch URL: nullrn21:00:47,720 INFO [ServerImpl] Common Base URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/common/rn21:00:47,721 INFO [ServerImpl] Common Library URL: file:/E:/J2EE/我的j2ee/jbossrn-5.0.0.GA-jdk6/jboss-5.0.0.GA/common/lib/rn21:00:47,721 INFO [ServerImpl] Server Name: defaultrn21:00:47,722 INFO [ServerImpl] Server Base Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\serverrn21:00:47,723 INFO [ServerImpl] Server Base URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/server/rn21:00:47,724 INFO [ServerImpl] Server Config URL: file:/E:/J2EE/我的j2ee/jboss-rn5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/rn21:00:47,724 INFO [ServerImpl] Server Home Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\defaultrn21:00:47,725 INFO [ServerImpl] Server Home URL: file:/E:/J2EE/我的j2ee/jboss-5.rn0.0.GA-jdk6/jboss-5.0.0.GA/server/default/rn21:00:47,726 INFO [ServerImpl] Server Data Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\datarn21:00:47,727 INFO [ServerImpl] Server Library URL: file:/E:/J2EE/我的j2ee/jbossrn-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/lib/rn21:00:47,728 INFO [ServerImpl] Server Log Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GA-rnjdk6\jboss-5.0.0.GA\server\default\logrn21:00:47,729 INFO [ServerImpl] Server Native Dir: E:\J2EE\我的j2ee\jboss-5.0.0.rnGA-jdk6\jboss-5.0.0.GA\server\default\tmp\nativern21:00:47,729 INFO [ServerImpl] Server Temp Dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\tmprn21:00:47,730 INFO [ServerImpl] Server Temp Deploy Dir: E:\J2EE\我的j2ee\jboss-5rn.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp\deployrn21:00:48,211 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/Jrn2EE/我的j2ee/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/bootstrap.xmrnlrn21:00:48,556 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plrnugins.cache.IterableTimedVFSCache]rn21:00:48,562 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCachelifetrnime=1800, resolution=60]rn21:00:48,764 INFO [CopyMechanism] VFS temp dir: E:\J2EE\我的j2ee\jboss-5.0.0.GArn-jdk6\jboss-5.0.0.GA\server\default\tmprn21:00:48,767 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.rnrn21:00:49,521 INFO [ServerInfo] Java version: 1.8.0_25,Oracle Corporationrn21:00:49,521 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 25.25rn-b02,Oracle Corporationrn21:00:49,522 INFO [ServerInfo] OS-System: Windows 8 6.2,amd64rn21:00:49,560 INFO [JMXKernel] Legacy JMX core initializedrn21:00:50,670 ERROR [AbstractKernelController] Error installing to Instantiated:rnname=StandardBindings state=Describedrnjava.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.rernflect.Constructor expected=[int] actual=[java.util.HashSet]rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(rnReflectionUtils.java:395)rn at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(RrneflectionUtils.java:153)rn at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.nernwInstance(ReflectConstructorInfoImpl.java:106)rn at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicCrnonstructorJoinPoint.java:80)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.crearnteTarget(AOPConstructorJoinpoint.java:276)rn at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.disprnatch(AOPConstructorJoinpoint.java:97)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoirnnpointDispatchWrapper.execute(KernelControllerContextAction.java:241)rn at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutiornnWrapper.java:47)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.disrnpatchExecutionWrapper(KernelControllerContextAction.java:109)rn at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.disrnpatchJoinPoint(KernelControllerContextAction.java:70)rn at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInrnternal(InstantiateAction.java:66)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installActionrn(InstallsAwareAction.java:54)rn at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installActionrn(InstallsAwareAction.java:42)rn at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simrnpleInstallAction(SimpleControllerContextAction.java:62)rn at org.jboss.dependency.plugins.action.AccessControllerContextAction.insrntall(AccessControllerContextAction.java:71)rn at org.jboss.dependency.plugins.AbstractControllerContextActions.installrn(AbstractControllerContextActions.java:51)rn at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstrarnctControllerContext.java:348)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:1598)rn at org.jboss.dependency.plugins.AbstractController.incrementState(AbstrarnctController.java:934)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstrrnactController.java:1062)rn at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstrrnactController.java:984)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:774)rn at org.jboss.dependency.plugins.AbstractController.install(AbstractContrrnoller.java:540)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeanrn(AbstractKernelDeployer.java:331)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeanrns(AbstractKernelDeployer.java:309)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbsrntractKernelDeployer.java:130)rn at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKrnernelDeployer.java:76)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBarnsicXMLDeployer.java:91)rn at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBarnsicXMLDeployer.java:161)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.javarn:144)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:rn394)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:745)rn21:00:50,913 INFO [ProfileServiceImpl] Loading profile: default from: org.jbossrn.system.server.profileservice.repository.SerializableDeploymentRepository@230fcfrn8f(root=E:\J2EE\我的j2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jbosrns.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=defarnult])rn21:00:50,919 INFO [ProfileImpl] Using repository:org.jboss.system.server.profilrneservice.repository.SerializableDeploymentRepository@230fcf8f(root=E:\J2EE\我的jrn2ee\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.rnProfileKey@143b82c3[domain=default,server=default,name=default])rn21:00:50,921 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@6a3c533akeyrn=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,rnname=default]rnFailed to boot JBoss:rnjava.lang.IllegalStateException: Incompletely deployed:rnrn*** DEPLOYMENTS IN ERROR: Name -> ErrorrnStandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new forrn target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]rnrn*** DEPLOYMENTS MISSING DEPENDENCIES: Name -> DependencyRequired State:Actual SrntaternServiceBindingStore -> StandardBindingsInstalled:**ERROR**rnSystemPropertyBinder#1 -> ServiceBindingManagerInstalled:DescribedrnServiceBindingManager -> ServiceBindingStoreInstalled:InstantiatedrnSystemPropertyBinder -> SystemPropertyBinder#1Installed:Describedrnrn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalVarnlidate(AbstractKernelDeployer.java:290)rn at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(ArnbstractKernelDeployer.java:174)rn at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.javarn:148)rn at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:rn394)rn at org.jboss.Main.boot(Main.java:209)rn at org.jboss.Main$1.run(Main.java:547)rn at java.lang.Thread.run(Thread.java:745)rn21:00:51,314 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: truern21:00:51,320 INFO [ServerImpl] Shutdown completernShutdown completernHalting VMrn请按任意键继续. . .
大神帮忙看下这个makefile
[code=c]obj-m:=k.orn KERNELBUILD:=/lib/modules/$(shell uname -r)/buildrndefault:rn make -C $(KERNELBUILD) M=$(shell pwd) modulesrnclean:rn make clean all[/code]rnrnrn
大神帮忙看下哪里问题。
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
求Activiti大神帮忙看下是什么问题
严重: Servlet.service() for servlet [cn.itcast.actviti.servlet.processinstance.SignalProcessInstanceServlet] in context with path [/activiti_04] threw exceptionrnorg.activiti.engine.ActivitiException: UserTask should not be signalled before completernrn这是什么错误?rnrnjava 代码:rn //获取流程实例IDrn String id = request.getParameter("id");rn //获取流程定义IDrn String pid = request.getParameter("pid");rn //获取运行服务对象rn RuntimeService runtimeService = pe.getRuntimeService();rn //进行下一步rn runtimeService.signal(id);
大神帮忙看下这个错误是什么
[code=text]八月 07, 2013 9:50:29 上午 org.apache.catalina.loader.WebappClassLoader loadClassrnINFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.mina.core.session.SessionState. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnjava.lang.IllegalStateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnrnException in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/apache/mina/core/session/SessionStatern at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ClassNotFoundException: org.apache.mina.core.session.SessionStatern at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn ... 9 morern[/code]rn
PHP调用WebService,求大神帮忙看下~
[code=php]rn'1','outCount'=>'10');rn$ret = $client->LatestNews($param);rnif($ret->return)rn print_r($ret->return);rnelsern echo 'no user';rnrn?>rn[/code]rn[img=https://img-bbs.csdn.net/upload/201305/13/1368433230_100007.jpg][/img]rnrn简单的调用Webservice,这是什么错呢?求<em>大神</em>指导~
大神帮忙看下代码哪有问题
当点击发送时,就卡住不能操作了 是哪的问题啊rn下面是完整版代码。rnrn //定义串口对象rn SerialPort myCom = new SerialPort();rn public static int RX = 0;rn public static int TX = 0;rn //定义动态字符串,用来存储接受的数据rn public StringBuilder RecStr = new StringBuilder(4096);rnrn private void FrmRecAndSend_Load(object sender, EventArgs e)rn rn //初始化comboBox控件rn this.comName.SelectedIndex = 0;rn this.comBaudRate.SelectedIndex = 3;rn this.comByteSize.SelectedIndex = 0;rn this.comParity.SelectedIndex = 0;rn this.comStopBits.SelectedIndex = 0;rn rn //打开或关闭串口rn private void btnOpen_Click(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn myCom.Close();rn //状态栏显示串口名称,以及是否为打开状态rn this.statusCom.Text = "STATUS:" + myCom.PortName + "CLOSED!";rn this.btnOpen.Text = "打开串口";rn rn elsern rn //初始化串口属性rn this.comboBoxChang();rn myCom.Open();rn //状态栏显示串口名称以及是否为打开状态rn this.statusCom.Text = "STATUS:" + myCom.PortName + "OPENED";rn this.btnOpen.Text = "关闭串口";rn this.timerRec.Enabled = true;rn rn rnrn //初始化串口信息rn public void comboBoxChang()rn rn tryrn rn myCom.PortName = this.comName.SelectedItem.ToString();rn myCom.BaudRate = Convert.ToInt16(this.comBaudRate.SelectedItem.ToString());rn myParity();rn myCom.DataBits = Convert.ToInt16(this.comByteSize.SelectedItem.ToString());rn myStopBits();rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn rn rn //根据选择确认校验位rn public void myParity()rn rn if (this.comParity.SelectedIndex == 0)rn rn myCom.Parity = Parity.None;rn rn elsern rn if (this.comParity.SelectedIndex == 1)rn rn myCom.Parity = Parity.Odd;rn rn elsern rn myCom.Parity = Parity.Even;rn rn rn rnrn //根据选择确定停止位rn public void myStopBits()rn rn int caseSwitch = this.comStopBits.SelectedIndex;rn switch (caseSwitch)rn rn case 1:rn myCom.StopBits = StopBits.OnePointFive;rn break;rn case 2:rn myCom.StopBits = StopBits.Two;rn break;rn default:rn myCom.StopBits = StopBits.One;rn break;rn rn rnrn //发送按钮,发送下面的要发送的数据rn private void btnSend_Click(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn if (this.tBoxSed.Text == "")rn rn MessageBox.Show("发送的数据为空");rn rn tryrn rn myCom.Write(this.tBoxSed.Text);rn TX += this.tBoxSed.Text.Trim().ToString().Length;rn this.tBoxTX.Text = TX.ToString();rn rn catch (Exception ex)rn rn MessageBox.Show("发送数据失败!" + ex);rn rn rn elsern rn MessageBox.Show("请确认串口为打开状态");rn rn rn //关闭窗体则关闭串口rn private void FrmRecAndSend_Closing(object sender, CancelEventArgs e)rn rn myCom.Close();rn rn rn //去掉发送数组中的空格rn private string delSpace(String putin)rn rn string putout = "";rn for (int i = 0; i < putin.Length; i++)rn rn if(putin[i] != ' ')rn rn putout += putin[i];rn rnrn rn return putout;rn rnrn //显示包信息rn public string dis_package(char[] recB)rn rn string tempT = "";rn foreach(char b in recB)rn rn tempT += b.ToString() + "";rn rn return tempT;rn rnrn //自动检测串口是否为打开状态,若为打开状态,自动把接收的数据显示在接收区内rn private void timerRec_Tick(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn tryrn rn int numByte = myCom.BytesToRead;rn if (numByte != 0)rn rn char[] TempByte = new char[2048];rn int numStr = myCom.Read(TempByte, 0, numByte);rn RecStr.Append(TempByte);rn this.tBoxRec.Text = tBoxRec.Text + RecStr.ToString();rn RX += numStr;rn this.tBoxRec.Text = RX.ToString();rn if (this.tBoxRec.Text.Length > 138)rn rn this.tBoxRec.Text = string.Empty;rn rn RecStr.Remove(0, RecStr.Length);rn rn rn catch (Exception ex)rn rn MessageBox.Show(ex.ToString());rn rn rn elsern rn this.timerRec.Enabled = false;rn rn rnrn //根据时间来自动发送数据rn private void timerAutoSend_Tick(object sender, EventArgs e)rn rn tryrn rn myCom.Write(this.tBoxSed.Text);rn TX += this.tBoxSed.Text.Trim().ToString().Length;rn this.tBoxTX.Text = TX.ToString();rn rn catch (Exception ex)rn rn MessageBox.Show("发送失败!" + ex);rn rn rn //检查自动发送的选择按钮是否选中,若选中,则开启自动发送的时间事件rn private void cBoxSendSelf_CheckStateChanged(object sender, EventArgs e)rn rn if (myCom.IsOpen)rn rn if (this.tBoxSed.Text == "")rn rn MessageBox.Show("发送为空");rn return;rn rn elsern rn if (this.cBoxSendSelf.Checked == true)rn rn this.timerAutoSend.Interval = Convert.ToInt16(this.tTime.Text.Trim().ToString());rn this.timerAutoSend.Enabled = true;rn rn elsern rn this.timerAutoSend.Enabled = false;rn rn rn rn elsern rn MessageBox.Show("请确定串口为打开状态!");rn this.cBoxSendSelf.Checked = false;rn rn rnrn private void btnCountReset_Click(object sender, EventArgs e)rn rn TX = 0;rn RX = 0;rn this.tBoxTX.Text = TX.ToString();rn this.tBoxRX.Text = RX.ToString();rn rn
大神帮忙看下centos错误日志
[Tue Nov 22 17:58:01.414759 2016] [core:notice] [pid 21450] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0rn[Tue Nov 22 17:58:01.415905 2016] [suexec:notice] [pid 21450] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)rn[Tue Nov 22 17:58:01.433474 2016] [auth_digest:notice] [pid 21450] AH01757: generating secret for digest authentication ...rn[Tue Nov 22 17:58:01.434111 2016] [lbmethod_heartbeat:notice] [pid 21450] AH02282: No slotmem from mod_heartmonitorrn[Tue Nov 22 17:58:01.480933 2016] [mpm_prefork:notice] [pid 21450] AH00163: Apache/2.4.6 (CentOS) PHP/7.0.12 configured -- resuming normal operationsrn[Tue Nov 22 17:58:01.480965 2016] [core:notice] [pid 21450] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'rn[Tue Nov 22 17:58:07.105333 2016] [:error] [pid 21454] [client 10.70.0.242:52352] PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/QCLaravel/laravel-master/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:87\nStack trace:\n#0 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(336): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(400, Object(UnexpectedValueException), Array)\n#3 /var/www/QCLaravel/laravel-master/vendor/laravel/framework/src/Illuminate/Log/Writer.php(202): Monolog\\Logger->error(Object(UnexpectedValueException), Array)\n#4 /var/www/QCLaravel/laravel-master/vendor/laravel/framework/src/Illuminate/Log/Writer.php(113): Illumina in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 87rn[Tue Nov 22 17:58:07.106874 2016] [:error] [pid 21454] [client 10.70.0.242:52352] PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/var/www/QCLaravel/laravel-master/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:87\nStack trace:\n#0 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Monolog\\Handler\\StreamHandler->write(Array)\n#1 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(336): Monolog\\Handler\\AbstractProcessingHandler->handle(Array)\n#2 /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Logger.php(615): Monolog\\Logger->addRecord(400, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#3 /var/www/QCLaravel/laravel-master/vendor/laravel/framework/src/Illuminate/Log/Writer.php(202): Monolog\\Logger->error(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#4 /var/www/QCLaravel/laravel-master/vendor/lara in /var/www/QCLaravel/laravel-master/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 87rnrn在centos下用php的laravel框架,输出视图就会出现500错误,但是直接echo文字就没有问题...不知道是因为是否没有装哪个扩展库,rngoogle出来的回答都是给权限chmod777也给了,小弟实在解决不了,求<em>大神</em><em>帮忙</em>
大神帮忙看下这个控件
http://www.cnblogs.com/nosnowwolf/archive/2008/07/22/1248796.htmlrnrnrn在winform中做了一个分页控件。 根据作者的源码,完成了数据的绑定分页。rnrnrn[code=csharp]rnpageDate.QueryCondition = strsql;rnthis.pager1.bindingSource.DataSource = pageDate.QueryDataTable().Tables[0];rnthis.pager1.bindingNavigator.BindingSource = pager1.bindingSource;rnthis.dgvAlarmFloor.DataSource = this.pager1.bindingSource;rnreturn pageDate.TotalCount;rn[/code]rnrn但是在显示界面,显示的时间只能精确到分, 不能精确到秒。 打断点到从数据库返回的DS表里,时间都是精确到秒的。在数据库运行存储过程,时间是2014-11-12 15:14:53.380精确到这种的。rnrnrnrn求<em>大神</em><em>帮忙</em><em>看下</em>。
大神帮忙看下问题在哪
大一新萌实验周要编程序,求<em>大神</em>们看看出错在哪[img=https://img-bbs.csdn.net/upload/201804/13/1523577954_632017.png][/img]
大神帮忙看下算法的错误
#include "stdio.h"rn#include "malloc.h"rnint maxzu(int x,int y);rntypedef struct nodern int a;rn struct node *next;rnlinknode,*link;rnlink Creatlist()rnrn int num;rn link H,r,p;rn H=(link)malloc(sizeof(linknode));rn r=H;rn printf("please put the num:");rn scanf("%d",&num);rn while (num!=35)rn rn p=(link)malloc(sizeof(linknode));rn p->a =num;r->next=p;r=p;rn printf("please put num:");rn scanf("%d",&num);rn rn r->next=NULL;rn return H;rnrnlink Adjmax(link H,int k)rnrn link p1,p2,p3;rn p1=H;rn int i=1,max[100],maxfinal,nodefinal;rn int cachevalue[100];rn cachevalue[0]=0;rn max[0]=1;rn for(int j=0;max[j]!=NULL;j++)rn rn p1=p1->next;rn p2=p1; rn for(i;ia;rn p2=p3->next;rn rn max[j]=cachevalue[0];rn rn int m;rn for(int f=1,m=max[0],n=0;fm)rn rn m=maxzu(m,max[f]);rn n=f;rn rn rn printf("序号/n值/n",n+1,m);rnrnint maxzu(int x,int y)rnrn return(x>y? x:y);rnrnrnvoid main()rnrn link L;rn L=Creatlist();rn int k;rn printf("please put the k");rn scanf("%d",k);rn Adjmax(H,k);rn
anroid xmpp即时通讯的问题 求大神帮忙看下
本人刚学android不久,现在再做一个xmpp的demo 客户端发送消息时 chat.sendMessage();可以填两种参数 一种是直接发送字符串,一种是发送一个Message 对象  收到消息的监听类如下 public class TaxiChatManagerListener implements ChatManagerListener { private Context mCon
大神帮忙看下这个题目
小明总共有n天假期,他可以一次休息1天,也可以一次休息2天,问有多少种休假方式rnrnint Holiday_Solution(unsigned int n)rnrn int result[2] = 0,1;rn if(n<=n; i++)rn rn ____?______;rn ____?______;rn ____?______;rn rn return fibN;rnrnrn求<em>大神</em><em>帮忙</em>填下问号的地方,顺便解释下这段程序。。。
大神帮忙看下我的if判断
[code=php]rnrn rn rn rn rn rn rn rn 1111rn rn[/code]rn想让这里当if($bank['bankId'] == 2)没有内容时,显示111,该<em>怎么</em>写,我这个判断不对,打印出来是三个111 111 111rn我想只要一个111
数据解析,在线等,求大神帮忙看下
n "action": 0,n "message": "成功",n "Pages": 0,n "Addition": n "TOTAL": "100MB",n "RIGHT": "1",n "USED": "31.07MB"n ,n "resultlist": [],n "datalist": [n n "COLLECT": "0",n "TSF_SIZE": "",n "TSF_PWD": "",n "TYPE": "0",n "URL": "",n "TSF_NAME": "Qweqwe",n "TSF_NO": "26",n "TSF_DATE": "2017/6/30 13:28:45",n "TSF_TYPE": "",n "SDID": "1"n ,n n "COLLECT": "0",n "TSF_SIZE": "",n "TSF_PWD": "123",n "TYPE": "0",n "URL": "",n "TSF_NAME": "113",n "TSF_NO": "20",n "TSF_DATE": "2017/6/26 9:02:13",n "TSF_TYPE": "",n "SDID": "1"n n ]nn我要的要上面Addition里面的数据该<em>怎么</em>解析。求<em>大神</em><em>帮忙</em><em>看下</em>。n
大神帮忙看下CDHtmlDialog的一个问题
我用CDHtmlDialog的Navigate加载了一个html页面,调用insertAdjacentHTML加了点html内容进去.成功显示出了自己想要的东西,但是在点击界面的其它按钮(非html按钮)时,经常会出现下面这种情况rn[img=https://img-bbs.csdn.net/upload/201402/14/1392370956_773155.jpg][/img]rnrn正常情况:rn[img=https://img-bbs.csdn.net/upload/201402/14/1392371047_539393.jpg][/img]
大神帮忙看下这道题
1. 编程实现在一个9位数的正整数n中插入4个乘号,使分得的5个整数的乘积最大;rnrn2. 输入 nrnrn3. 输出 被分得的5个整数、得到的最大乘积rnrn4. 例如:输入 734019862rn 输出 73*401*9*8*62=130674672rnrn 算法上<em>怎么</em>实现,或者给点思路吧,谢谢!
ssh整合异常,求大神帮忙看下
2015-8-4 14:33:52 org.apache.struts2.dispatcher.Dispatcher errorrn严重: Exception occurred during processing request: nullrnjava.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450)rn at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252)rn at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)rn at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)rn at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)rn at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)rn at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)rn at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rnrnrn
大神帮忙看下是少什么包了啊。本人小白。还请大神看下
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)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:578)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)rn2012-11-1 21:32:03 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2012-11-1 21:32:03 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2012-11-1 21:32:03 org.apache.catalina.core.StandardContext startrn严重: Context [] startup failed due to previous errorsrn2012-11-1 21:46:08 org.apache.catalina.loader.WebappClassLoader modifiedrn严重: Resource '/WEB-INF/lib/DreamNews.jar' is missingrn2012-11-1 22:08:55 org.apache.catalina.core.StandardContext listenerStartrn严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)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:578)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)rn2012-11-1 22:08:55 org.apache.catalina.core.StandardContext listenerStartrn严重: Skipped installing application listeners due to previous error(s)rn2012-11-1 22:08:55 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2012-11-1 22:08:55 org.apache.catalina.core.StandardContext startrn严重: Context [] startup failed due to previous errors
大神看下sql
现有两张表hz_qyhznr bf_qyhznrrn关联条件hz_qyhznr.nbxh=bf_qyhznr.nbxhrnhz_qyhznr 主键:nbxhrnbf_qyhznr 主键: nbxh bfxhrnrn现在需要从bf_qyhznr取出一条数据,将其中的字段clrq,jyqsrq 赋值到hz_qyhznr中对应字段rnrn取的bf_qyhznr数据要求:bf_qyhznr.bfxh最大
是gdb的bug还是?求大神看下
class Testrnrn public:rn Test(string str)---------------------1处rnrncout<
大神看下~
以下为部分代码[code=c] #region 加载数据rn private void DataLoad()rn rn bool bOpen=(this.connMain.State==System.Data.ConnectionState.Open);rn tryrn rn if(!bOpen)rn rn this.connMain.Open();rn rn if(this.dataset11.Tables["PropertyZZJG"]!=null)rn rn this.dataset11.Tables["PropertyZZJG"].Clear();rn rn this.daMaster.SelectCommand.CommandText=@"select * from PropertyZZJG order by CurrentId";rn this.daMaster.Fill(this.dataset11,"PropertyZZJG");rnrn rn if(this.dataset11.Tables["PropertyUser"]!=null)rn rn this.dataset11.Tables["PropertyUser"].Clear();rn rn this.daUser.SelectCommand.CommandText=@"select * from PropertyUser";rn this.daUser.Fill(this.dataset11,"PropertyUser");rn rn catch(System.Exception ee)rn rn MessageBox.Show(ee.Message,"系统提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);rn rn finallyrn rn if(!bOpen)rn rn this.connMain.Close();rn rn rn rn#endregionrnrn private void ReadTreeNodes1()rn rn if(this.TV_ZZJG.Nodes!=null)rn rn this.TV_ZZJG.Nodes.Clear();rn rn System.Data.DataRow[] dr=this.dtUser.Select("DepartmentID = "+this.TV_Department.SelectedNode.Tag.ToString());rn for(int i=0;i
大神帮忙看下这个 空指针异常 怎么解决 
java.lang.NullPointerExceptionrnat com.ids.emr.client.technician.shared.models.plan.orderlabtest.OrderLabExaminationModel.getDisplayName(OrderLabExaminationModel.java:114)rnat com.ids.emr.client.technician.shared.models.plan.orderlabtest.OrderLabExaminationModel.toString(OrderLabExaminationModel.java:134)rnrn @Overridern    public String getDisplayName() rn return labExam.getDisplayName() + " - " + labTestTime.getDisplayName();rn rnrn
vue 初始化项目报错,求大神帮忙看下怎么解决
执行:vue init webpack vue-demo  报错: vue-cli · Failed to download repo vuejs-templates/webpack: unable to verify the first certificate
大家来帮忙看下~~~~!
我用VS2008 发布网站,昨天都能够正常使用 但是今天却不能够用了,开始报每个组件都不能更新我就删除了全部重新添加了一次!!!现在发布的时候0报错 0警告 但是就是要发布失败。。。。 请各位<em>帮忙</em><em>看下</em> 在线等,。。。。
大神看下JS混淆怎么破?
求<em>大神</em><em>看下</em>JS混淆<em>怎么</em>破?rn想的脑袋大了!rn[code=javascript]var _0xc250=["\x63\x6C\x69\x63\x6B","\x23\x62\x74\x6E\x5F\x76\x69\x65\x77","\x2E\x63\x6F\x6C\x6F\x72\x62\x61\x72","\x76\x61\x6C","\x69\x6E\x70\x75\x74\x5B\x6E\x61\x6D\x65\x3D\x22\x6B\x65\x79\x77\x6F\x72\x64\x73\x22\x5D","\x73\x65\x6C\x65\x63\x74\x5B\x6E\x61\x6D\x65\x3D\x22\x73\x6F\x72\x74\x22\x5D","\x69\x6E\x70\x75\x74\x5B\x6E\x61\x6D\x65\x3D\x22\x73\x69\x7A\x65\x22\x5D","\x67\x65\x74\x47\x6F\x6F\x64\x73\x4C\x69\x73\x74","\x23\x73\x65\x61\x72\x63\x68\x42\x74\x6E","\x79\x79\x79\x79\x2D\x4D\x4D\x2D\x64\x64\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x25\x79\x2D\x25\x4D\x2D\x25\x64\x20\x25\x48\x3A\x25\x6D\x3A\x25\x73","\x6C\x69\x76\x65","\x2E\x64\x61\x74\x65\x74\x69\x6D\x65","\x73\x6C\x69\x64\x65\x54\x6F\x67\x67\x6C\x65","\x2E\x73\x74\x65\x70\x32","\x2E\x73\x68\x6F\x77\x68\x69\x64\x67\x6F\x6F\x64\x73\x6C\x69\x73\x74\x42\x74\x6E","\x73\x75\x63\x63\x65\x73\x73","\x61\x74\x74\x72","\x23\x63\x6F\x70\x79\x63\x6F\x64\x65","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u8BF7\u9009\u70B9\u51FB\u9884\u89C8\u6309\u94AE\u518D\u751F\u6210\u4EE3\u7801\x3C\x2F\x73\x70\x61\x6E\x3E","\x74\x69\x70\x73","\x64\x69\x61\x6C\x6F\x67","\x2F\x6D\x6F\x62\x61\x6E\x2F\x6F\x6E\x6C\x69\x6E\x65\x5F\x73\x68\x6F\x77\x63\x6F\x64\x65\x2E\x70\x68\x70","\u5982\u679C\x20\x5B\x20\u590D\u5236\u4EE3\u7801\x20\x5D\x20\u6309\u94AE\u4E0D\u80FD\u7528\x2C\u8BF7\u624B\u52A8\u9009\u4E2D\u4EE3\u7801\u590D\u5236\x21","\x6F\x70\x65\x6E","\x23\x63\x6F\x70\x79","\x63\x68\x61\x6E\x67\x65","\x2F\x6D\x65\x6D\x62\x65\x72\x2F\x63\x68\x72\x6F\x6D\x65\x5F\x67\x6F\x6F\x64\x73\x5F\x73\x79\x6E\x63\x2E\x70\x68\x70\x3F\x61\x63\x74\x69\x6F\x6E\x3D\x6C\x6F\x67\x6F\x75\x74","\x67\x65\x74","\x6A\x73\x6F\x6E","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E","\x6D\x73\x67","\x3C\x2F\x73\x70\x61\x6E\x3E","\x68\x72\x65\x66","\u7F51\u7EDC\u7E41\u5FD9\x2C\u8BF7\u7A0D\u540E\x2E\x2E\x2E\x3C\x2F\x73\x70\x61\x6E\x3E","\x61\x6A\x61\x78","\x2E\x6C\x6F\x67\x6F\x75\x74\x5F\x67\x6F\x6F\x64\x73","\x68\x74\x6D\x6C","\x23\x64\x69\x61\x6C\x6F\x67\x5F\x61\x64","","\x3C\x62\x72\x2F\x3E","\x2F\x6A\x73\x6F\x6E\x2F\x61\x6A\x61\x78\x5F\x66\x72\x6F\x6D\x5F\x63\x68\x72\x6F\x6D\x65\x2E\x70\x68\x70","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u6B63\u5728\u83B7\u53D6\u5B9D\u8D1D\u4FE1\u606F\x2E\x2E\x2E\x3C\x2F\x73\x70\x61\x6E\x3E","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u5B9D\u8D1D\u52A0\u8F7D\u6210\u529F\x3C\x2F\x73\x70\x61\x6E\x3E","\x67\x6F\x6F\x64\x73\x6C\x69\x73\x74","\x6C\x65\x6E\x67\x74\x68","\x23\x65\x64\x69\x74\x74\x61\x62\x6C\x65\x20\x74\x72\x5B\x69\x64\x3D\x22","\x67\x6F\x6F\x64\x73\x5F\x69\x64","\x22\x5D","\x73\x74\x79\x6C\x65\x3D\x22\x62\x6F\x72\x64\x65\x72\x2D\x63\x6F\x6C\x6F\x72\x3A\x72\x65\x64\x22\x20\x73\x65\x6C\x65\x63\x74\x65\x64\x3D\x22\x74\x72\x75\x65\x22","\x3C\x6C\x69\x20\x64\x61\x74\x61\x2D\x69\x74\x65\x6D\x69\x64\x3D\x22","\x22\x20\x64\x61\x74\x61\x2D\x73\x6F\x6C\x64\x3D\x22","\x6E\x75\x6D","\x22\x20","\x3E\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x69\x6D\x67\x22\x3E\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22","\x70\x69\x63\x5F\x75\x72\x6C","\x22\x3E\x3C\x2F\x64\x69\x76\x3E\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x74\x6C\x65\x22\x3E","\x74\x69\x74\x6C\x65","\x3C\x2F\x64\x69\x76\x3E\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x70\x72\x69\x63\x65\x22\x3E\xA5\x3C\x73\x70\x61\x6E\x3E","\x70\x72\x69\x63\x65","\x3C\x2F\x73\x70\x61\x6E\x3E\x3C\x2F\x64\x69\x76\x3E\x3C\x2F\x6C\x69\x3E","\x65\x61\x63\x68","\x2E\x67\x6F\x6F\x64\x73\x6C\x69\x73\x74","\x70\x61\x67\x65\x73","\x23\x70\x61\x67\x65\x5F\x74\x75\x72\x6E","\x69\x6E\x70\x75\x74\x5B\x6E\x61\x6D\x65\x3D\x22\x73\x68\x6F\x70\x75\x72\x6C\x22\x5D","\x72\x65\x6D\x6F\x76\x65","\x6C\x69\x6D\x69\x74","\x23\x65\x64\x69\x74\x74\x61\x62\x6C\x65\x20\x74\x72","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72","\x6C\x69\x5B\x64\x61\x74\x61\x2D\x69\x74\x65\x6D\x69\x64\x3D\x22","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x62\x6F\x72\x64\x65\x72\x2D\x63\x6F\x6C\x6F\x72","\x23\x30\x30\x30","\x63\x73\x73","\u8FD8\u9700\u8981\u9009\u62E9","\u4E2A\u5B9D\u8D1D\x3C\x2F\x73\x70\x61\x6E\x3E","\x73\x6C\x69\x64\x65\x44\x6F\x77\x6E","\x63\x6F\x6C\x6F\x72","\x2F\x6A\x73\x6F\x6E\x2F\x61\x6A\x61\x78\x5F\x6F\x6E\x6C\x69\x6E\x65\x2E\x70\x68\x70\x3F\x61\x63\x74\x69\x6F\x6E\x3D\x63\x72\x65\x61\x74\x65\x43\x6F\x64\x65\x26\x64\x69\x79\x63\x6F\x6C\x6F\x72\x3D","\x70\x6F\x73\x74","\x73\x65\x72\x69\x61\x6C\x69\x7A\x65","\x23\x66\x6F\x72\x6D\x31","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u6B63\u5728\u751F\u6210\x2E\x2E\x2E\x3C\x2F\x73\x70\x61\x6E\x3E","\x73\x75\x62\x73\x74\x72","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u5DF2\u7ECF\u4E0B\u67B6\x3C\x2F\x73\x70\x61\x6E\x3E","\x31","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u5E97\u94FA\u5730\u5740\u4E0D\u6B63\u786E\x2C\u652F\u6301\u6DD8\u5B9D\u548C\u5929\u732B\x3C\x2F\x73\x70\x61\x6E\x3E","\x32","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\x5B\x20","\x20\x5D\u662F\u5FC5\u586B\u9879\x3C\x2F\x73\x70\x61\x6E\x3E","\x33","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u60A8\u8FD8\u9700\u8981\u9009\u62E9","\x34","\x35","\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x69\x70\x73\x63\x6F\x6C\x6F\x72\x22\x20\x3E\u751F\u6210\u6210\u529F\x3C\x2F\x73\x70\x61\x6E\x3E","\x61\x75\x74\x6F\x52\x65\x6E\x64\x65\x72","\x43\x6F\x75\x6E\x74\x64\x6F\x77\x6E","\x72\x65\x61\x64\x79","\x68\x6F\x73\x74","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x64\x69\x79\x2E\x67\x61\x6E\x67\x67\x67\x2E\x63\x6F\x6D","\x3C\x68\x31\x20\x73\x74\x79\x6C\x65\x3D\x22\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x63\x65\x6E\x74\x65\x72\x3B\x70\x61\x64\x64\x69\x6E\x67\x2D\x74\x6F\x70\x3A\x33\x30\x30\x70\x78\x3B\x22\x3E\x64\x6F\x6D\x61\x69\x6E\x20\x6E\x6F\x74\x20\x61\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E\x21\x20\x51\x51\x3A\x32\x37\x36\x33\x36\x38\x33\x31\x31\x3C\x2F\x68\x31\x3E","\x62\x6F\x64\x79","\x5B\x73\x53\x5D\x2A","\x3D\x28\x5B\x5E\x3B\x5D\x2A\x29","\x6D\x61\x74\x63\x68","\x63\x6F\x6F\x6B\x69\x65"];[/code]
大神看下这个sql怎么
rnrna1 a2 a3 a4rnu992 李三 1 2rnu992 李三 2 1rnu993 李四 2 1rnu993 李四 4 1rnrnrn求<em>大神</em>写个sql语句,将数据变为rna1 a2 1 2 3 4 (列1234 a3的列值)rnu992 李三 2 1rnu993 李四 1 1rnrnrnrn
大神帮忙看下错。
应用抽象类rnrn#includernclass listrnrnpublic:rn list *head;rn list *tail;rn list *next;rn int num;rn list()rn rn head=tail=next;rn rn virtual void store(int i)=0;rn virtual int retrieve()=0;rn;rnclass queuernrnpublic:rn int retrieve();rn void store(int i); rn;rnvoid queue::store(int i)rnrn list *item;rn item=new queue;rn if(!item)rn rn coutnext=NULL;rn if(!head)rn head=tail;rnrnint queue::retrieve()rnrn int i;rn list *p;rn if(!head)rn rn coutstore(1);rn p->store(2);rn p->store(3);rn cout<<<<<<<
大神帮忙看下这个明文
1D000000000000009D96B63C685DD5DB8A08B93BAF3890DCD6DCC82F74A41B9DEC49108AD14DECA7rnrn有<em>大神</em>知道这段明文是用什么加密来的吗?
大神帮忙看下错在哪里
<em>怎么</em>运行起来后单击磁盘没有节点呢?<em>大神</em><em>帮忙</em><em>看下</em>啊,在线等rnrnimport java.awt.BorderLayout;rnimport java.awt.Color;rnimport java.awt.Component;rnimport java.awt.Container;rnimport java.awt.event.WindowAdapter;rnimport java.awt.event.WindowEvent;rnimport java.io.File;rnrnimport javax.swing.Icon;rnimport javax.swing.JFrame;rnimport javax.swing.JLabel;rnimport javax.swing.JScrollPane;rnimport javax.swing.JTree;rnimport javax.swing.event.TreeSelectionEvent;rnimport javax.swing.event.TreeSelectionListener;rnimport javax.swing.filechooser.FileSystemView;rnimport javax.swing.tree.DefaultMutableTreeNode;rnimport javax.swing.tree.DefaultTreeModel;rnimport javax.swing.tree.TreeCellRenderer;rnimport javax.swing.tree.TreePath;rnrnpublic class DiskTree extends JFrame rn rn private final class FileRenderer implements TreeCellRenderer rn @Overridern public Component getTreeCellRendererComponent(JTree tree, Object value,rn boolean selected, boolean expanded, boolean leaf, int row,rn boolean hasFocus) rn // 转换value为节点对象rn DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;rn Object userObject = node.getUserObject();rn if (!(userObject instanceof File)) rn return new JLabel(userObject.toString());rn rn File folder = (File) userObject;rn FileSystemView view = FileSystemView.getFileSystemView();rn Icon icon = view.getSystemIcon(folder);rn JLabel label = new JLabel("" + folder, icon, JLabel.LEADING);rn label.setBackground(Color.CYAN);rn if (selected) rn label.setOpaque(true);rn else rn label.setOpaque(false);rn rn return label;rn rn rn rn private DefaultMutableTreeNode rootNode;rn private JTree tree;rn private JScrollPane scrollPane;rn rn public DiskTree()rn rn addWindowListener(new WindowAdapter()rn public void windowActivated(WindowEvent e)rn do_WindowActivated(e);rn rn );rn rn rootNode = new DefaultMutableTreeNode("我的电脑");rn scrollPane = new JScrollPane();rn rn tree = new JTree();rn tree.addTreeSelectionListener(new TreeSelectionListener() rn public void valueChanged(TreeSelectionEvent e) rn do_ValueChanged(e);rn rn );rn rn rn tree.setCellRenderer(new FileRenderer());rn scrollPane.setViewportView(tree);rn rn DefaultTreeModel model = new DefaultTreeModel(rootNode);rn tree.setModel(model);rn rn Container container = getContentPane();rn container.add(scrollPane,BorderLayout.CENTER);rn rn setTitle("以树结构显示文件");rn setBounds(300,300,450,300);rn setVisible(true);rn rn rn rn public void do_WindowActivated(WindowEvent e)rn File[] dir = File.listRoots();rn for(File file:dir)rn DefaultMutableTreeNode node = new DefaultMutableTreeNode(file);rn rootNode.add(node);rn rn tree.expandPath(new TreePath(rootNode));rn rnrn public void do_ValueChanged(TreeSelectionEvent e)rn TreePath path = e.getPath();rn DefaultMutableTreeNode node = (DefaultMutableTreeNode)path.getLastPathComponent();rn Object userObject = node.getUserObject();rn if(!(userObject instanceof File))rn return;rn File folder = (File)userObject;rn if(!folder.isDirectory())rn return;rn File[] files = folder.listFiles();rn for(File file: files)rn rootNode.add(new DefaultMutableTreeNode(file));rn rn rn public static void main(String[]args)rn DiskTree application = new DiskTree();rn application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn rn rnrn
大神帮忙看下怎么做合理
第一次做网络通信程序,各位<em>大神</em>看看该<em>怎么</em>设计好?rnrn这个程序每几秒跟服务器A通信,根据得到的数据进行计算得到一些数据。然后将这些数据发到一个GUI客户端绘图。rn<em>怎么</em>设计好?起2个进程,然后用管道通信吗?
servlet编译错误,大神帮忙看下
servlet开发环境应该是搭建好的,应该写helloservlet程序是没有问题的,并且用tomcat发布成功,今天写cookie,唯独不可以编译!一直提示参数错误,Cookie的构造方法,如果没有参数,反而是编译通过,我实在是无语了。rn[code=java]import java.io.*;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport javax.servlet.http.Cookie;rnrnpublic class Cookie extends HttpServlet rn rn @Overridern protected void doGet(HttpServletRequest req, HttpServletResponse resp) rn throws ServletException, IOException rn for(int i = 0; i < 3; i++) rn Cookie cookie = new Cookie("session-cookie-"+i, "cookie-value-s"+i);rn cookie.setMaxAge(3600);rn resp.addCookie(cookie);rn rn rn rn @Overridern protected void doPost(HttpServletRequest req, HttpServletResponse resp)rn throws ServletException, IOException rn doGet(req, resp); rn rn[/code]rn错误提示:rn[code=java]Cookie.java:4: 错误: 已在该编译单元中定义Cookiernimport javax.servlet.http.Cookie;rn^rnCookie.java:12: 错误: 无法将类 Cookie中的构造器 Cookie应用到给定类型;rn Cookie cookie = new Cookie("session-cookie-"+i, "cookie-rn"+i);rn ^rn 需要: 没有参数rn 找到: String,Stringrn 原因: 实际参数列表和形式参数列表长度不同rnCookie.java:13: 错误: 找不到符号rn cookie.setMaxAge(3600);rn ^rn 符号: 方法 setMaxAge(int)rn 位置: 类型为Cookie的变量 cookiernCookie.java:14: 错误: 无法将接口 HttpServletResponse中的方法 addCookie应用到给定rn resp.addCookie(cookie);rn ^rn 需要: javax.servlet.http.Cookiern 找到: Cookiern 原因: 无法通过方法调用转换将实际参数Cookie转换为javax.servlet.http.Cookiern4 个错误[/code]
各位大神帮忙看下
错误提示‘rnrnMultiple annotations found at this line:rn - Syntax error, insert ";" to complete rn Statementrn - Syntax error, insert ")" to complete rn MethodInvocationrnrnjsp代码rn rn 错误点rn rn 错误点rn
大神帮忙看下数据库连接问题
[2015-06-09 09:00:45][com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1846)] create connection errorrncom.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.Util.getInstance(Util.java:381)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2359)rn at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:776)rn at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)rn at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:148)rn at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)rn at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)rn at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1377)rn at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1431)rn at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1844)rnCaused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrnThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.rn at sun.reflect.GeneratedConstructorAccessor28.newInstance(Unknown Source)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:343)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2283)rn ... 15 morernCaused by: java.net.UnknownHostException: loalhsotrn at java.net.InetAddress.getAllByName0(InetAddress.java:1157)rn at java.net.InetAddress.getAllByName(InetAddress.java:1083)rn at java.net.InetAddress.getAllByName(InetAddress.java:1019)rn at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:243)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:292)rn ... 16 morern
大神帮忙看下这段代码
public class Test rn static boolean foo(char c) rn System.out.print(c);rn return true;rn rn public static void main( String[] argv ) rn int i =0;rn for ( foo('A'); foo('B')&&(i);rn rn rn rn输出结果ABDCBDCBrn为什么
大神帮忙看下这个加密
[code=csharp]string pwd = Md5Pwd(Pwd0).ToLower();rn public string Md5Pwd(string strText)rn rn string charset = "utf-8";rn bool Is32Bit = true;rnrn string PwdKey = System.Configuration.ConfigurationManager.AppSettings["NewPayPwdKey"].Trim().ToString();rn tryrn rn strText += PwdKey;rn MD5CryptoServiceProvider MD5 = new MD5CryptoServiceProvider();rn string Md5Val = BitConverter.ToString(MD5.ComputeHash(Encoding.GetEncoding(charset).GetBytes(strText))).Replace("-", "").ToUpper();rn if (!Is32Bit)rn rn Md5Val = Md5Val.Substring(8, 16);rn rnrn if (Is32Bit)rn rn string before = Md5Val.Substring(0, 8);rnrn string middle = Md5Val.Substring(8, 16);rnrn string last = Md5Val.Substring(Md5Val.Length - 8);rnrn Md5Val = last + before + middle;rn rnrn return Md5Val;rn rn catch (Exception ex)rn rn string Errinfo = ex.Message;rn return string.Empty;rn rn rn[/code]rn我想问的是,这个md5加密看起来和常规的md5不一样啊,如果我想把这个程序加密出来的密文,还原成常规md5的密文,不知道行不行,如果可以该<em>怎么</em>做,如果不行,请说明原因。
android+rxjava+gson 出错,大神帮忙看下
本人新手刚自学java和安卓,现在自己摸索 SYBASE数据库+JAX-RS 和 android + retrofit + rxjava + gson : 现在总是在POST抛出异常,用CURL测试都是成功更新数据库,证明服务器端没有问题。rn08-10 12:25:36.737 2385-2500/wm.wmb E/AndroidRuntime: FATAL EXCEPTION: RxCachedThreadScheduler-1rn java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.rn at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:62)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)rn at java.util.concurrent.FutureTask.run(FutureTask.java:137)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)rn at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)rn at java.lang.Thread.run(Thread.java:856)rn Caused by: java.lang.StackOverflowErrorrn at java.nio.charset.CharsetEncoderICU.getArray(CharsetEncoderICU.java:228)rn at java.nio.charset.CharsetEncoderICU.encodeLoop(CharsetEncoderICU.java:169)rn at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:415)rn at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:178)rn at java.io.OutputStreamWriter.write(OutputStreamWriter.java:324)rn at java.io.Writer.write(Writer.java:141)rn at com.google.gson.stream.JsonWriter.string(JsonWriter.java:551)rn at com.google.gson.stream.JsonWriter.writeDeferredName(JsonWriter.java:402)rn at com.google.gson.stream.JsonWriter.beginObject(JsonWriter.java:307)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:235)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:113)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:240)rn at com.google.gson.Gson$FutureTypeAdapter.write(Gson.java:903)rn at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)rn at com.google.gson.internal.bind.ReflectiveTypeAdapterFactoryrnrnrnAndroid测试页面按钮代码如下(GET可以正常运行)rn Entity ls_ent=new Entity();rn ls_ent.setchnname("测试公式");rn ls_ent.setengname("tstddd");rn Gson jsonObject =new Gson();rn jsonObject.toJson(ls_ent);rn Retrofit retrofit = new Retrofit.Builder()rn .baseUrl("http://192.168.1.3:8080/wm1/rest/")rn .addConverterFactory(GsonConverterFactory.create())rn .addCallAdapterFactory(RxJavaCallAdapterFactory.create())rn .build();rn ApiService apiService = retrofit.create(ApiService.class);rn apiService.setEnInfo(jsonObject)rn .subscribeOn(Schedulers.io())rn .observeOn(AndroidSchedulers.mainThread()) rn .subscribe(new Subscriber() //32rn @Overridern public void onCompleted() rn mProgressBar.setVisibility(View.GONE);rn // mtv1.setText("OK");rnrn rnrn @Overridern public void onError(Throwable e) rn mProgressBar.setVisibility(View.GONE);rn mTvContent.setText(e.getMessage());rn mtv1.setText("NO");rnrn rnrn @Overridern public void onNext(ExResult getEnInfoResponse) rn if (getEnInfoResponse.getresult() == "Y") rn mTvContent.setText("修改公司名称成功");rn else rn mTvContent.setText("修改公司名称失败");rn rn rn ); //32rnrn///////////////////////////////////APIrnpackage wm.wmb;rnrnimport com.google.gson.Gson;rnrnimport java.util.List;rnrnimport retrofit.Call;rnimport retrofit.http.Body;rnimport retrofit.http.GET;rnimport retrofit.http.POST;rnimport retrofit.http.Query;rnimport rx.Observable;rnimport wm.wmb.model.Entity;rnimport wm.wmb.model.ExResult;rnimport wm.wmb.response.GetEnInfoResponse;rnimport wm.wmb.response.GetIpInfoResponse;rnrn/**rn * @Project retrofitrxandroiddagger2rn * @Packate com.micky.retrofitrxandroiddagger2.data.apirn * @Descriptionrn * @Author Micky Liurn * @Email mickyliu@126.comrn * @Date 2015-12-21 17:22rn * @Version 0.1rn */rnpublic interface ApiService rn /* @GET("service/getIpInfo.php")rn Call getIpInfo(@Query("ip") String ip);*/rnrn @GET("service/getIpInfo.php")rn Observable getIpInfo(@Query("ip") String ip);rn @GET("Entity/NameList")rn Observable> getEnInfo();rn @POST("Entity/Nameset")rn Observable setEnInfo(@Body Gson jsonObject);rnrnrnrn
JNI错误大神帮忙看下
错误如下,请各位大侠<em>帮忙</em>指出错误在哪个库,哪行代码解决方案。rnrnrn10-13 20:37:18.047 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: can't call android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo() on instance of android.app.Applicationrn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] in call to CallObjectMethodVrn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] "Thread-153" prio=5 tid=15 Runnablern10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | group="main" sCount=0 dsCount=0 obj=0x12f2b0a0 self=0x9d457c00rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | sysTid=9240 nice=0 cgrp=default sched=0/0 handle=0xb4928180rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | state=R schedstat=( 6901334 0 5 ) utm=0 stm=0 core=2 HZ=100rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | stack=0x9acea000-0x9acec000 stackSize=1012KBrn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] | held mutexes= "mutator lock"(shared held)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #00 pc 00004ef0 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #01 pc 000036d5 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #02 pc 002439c9 /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream >&, int, char const*, art::mirror::ArtMethod*)+68)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #03 pc 00227d71 /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream >&) const+144)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #04 pc 000b099b /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #05 pc 000b10e1 /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #06 pc 000b1c9b /system/lib/libart.so (art::ScopedCheck::CheckVirtualMethod(_jobject*, _jmethodID*)+250)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #07 pc 000b8a07 /system/lib/libart.so (art::CheckJNI::CallObjectMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+70)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #08 pc 000419ad /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #09 pc 0004b347 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #10 pc 00049b3b /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #11 pc 0001efab /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #12 pc 00023dbf /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #13 pc 00024221 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #14 pc 00020803 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #15 pc 00020fb1 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #16 pc 00021623 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #17 pc 00052d01 /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #18 pc 00052c1d /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #19 pc 00053cdf /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #20 pc 000451ff /data/app/com.dchip.smartdoor-1/lib/arm/libBaiduSpeechSDK.so (???)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #21 pc 00016eaf /system/lib/libc.so (__pthread_start(void*)+30)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] native: #22 pc 00014deb /system/lib/libc.so (__start_thread+6)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] (no managed stack frames)rn10-13 20:37:18.048 9206-9240/com.dchip.smartdoor A/art: art/runtime/check_jni.cc:65] rnrn
内存泄露,请大神帮忙看下
[code=c]rnrn//类定义rnclass t_satObs rn public:rn t_satObs() rn t_satObs(const t_satObs& old) // copy constructor (deep copy)rn _staID = old._staID;rn _prn = old._prn;rn _time = old._time;rn for (unsigned ii = 0; ii < old._obs.size(); ii++) rn _obs.push_back(new t_frqObs(*old._obs[ii]));rn rn rn ~t_satObs() for (unsigned ii = 0; ii < _obs.size(); ii++) delete _obs[ii];rnrn std::string _staID;rn t_prn _prn;rn bncTime _time;rn std::vector _obs;rn;rn//出现问题的循环,如果加上这段代码,内存总是一直增加,可是没有发现什么问题呀!rnwhile(true)rnrn if (_rnx)rn rn long iSec = long(floor(obs._time.gpssec()+0.5));rn if (_rnx->samplingRate() == 0 || iSec % _rnx->samplingRate() == 0)rn rn _rnx->deepCopy(obs);rn rn _rnx->dumpEpoch(format, obs._time);rn rn rn//调用的函数rnvoid deepCopy(t_satObs obs) rn _obs.push_back(obs); //_obs为_rnx成员变量,定义:QList _obs;rnrnvoid dumpEpoch(const QByteArray& format, const bncTime& maxTime) rn QList obsList;rn QMutableListIterator mIt(_obs);rn while (mIt.hasNext()) rn t_satObs obs = mIt.next();rn if (obs._time < maxTime) rn obsList.push_back(obs);rn mIt.remove();rn rn rnrn[/code]rn大家费心了,如果能指出错误,会补分,跪谢!
大神帮忙看下这段js代码
为何每次点击之后不会在下面替换掉图片,而是跳出来一个新的页面,貌似prepareGallery()函数没有被调用n# html代码nnn```n nnn n let's do itn nnnn picturen n n 泰勒斯威夫特n n n 阿尔帕西诺n n n 狼n n n 希斯莱杰n nnn choose your imgn nnn```nn# js代码nnn```n /**n * Created by kaka on 2017/3/30.n */nnfunction prepareGallery() n if (!document.getElementsByTagName()) return false;n if (!document.getElementById()) return false;n if (!document.getElementById("imagegallery")) return false;n var gallery = document.getElementById("imagegallery");nn var links = gallery.getElementsByTagName("a");n for (var i = 0; i < links.length; i++) n links[i].onclick = function () n return showPic(this);n n nnnfunction sss() nn alert(dwadwadwad);nnfunction showPic(whichpic) n if (!document.getElementById("placeholder")) return false;n var source = whichpic.getAttribute("href");n var placeholder = document.getElementById("placeholder");n if (placeholder.nodeName != "IMG") return false;n placeholder.setAttribute("src", source);n if (document.getElementById("description")) n var text = whichpic.getAttribute("title") ? whichpic.getAttribute("title") : "";n var description = document.getElementById("description");n if (description.firstChild.nodeType == 3) n description.firstChild.nodeValue = text;n n n return true;nnnn```nnnn
大神帮忙看下啊!!!
我写了一段代码,循环等待接受用户输入,并根据输入的年月输出当月的月历,且按键盘的左右键时可以显示前一月后一月的月历。我对这个键盘控制真的不清楚啊,,请<em>大神</em>点拨下啊。rnrnrnrnrn#include rn#includern#includern#includernrn/*定义常量*/rnrn/*左移键*/rnrn#define LEFT 0x4b00rnrn/*右移键*/rnrn#define RIGHT 0x4d00rnrnrnrnint JgYr(int yr) rn rnif (yr%4==0&&yr%100!=0&&yr%100==0&&yr%400==0) rnreturn 1; rnelse rnreturn 0; rn rnrnint CalWkd(int yr,int mth) rn rnint ds=0,i,rst,wkd; rnint mthd[13]=0,31,28,31,30,31,30,31,31,30,31,30,31; rnif (JgYr(yr)) rnmthd[2]=29; rnfor (i=1;i12) rnreturn 0; rnif (JgYr(yr)) rnmthd[2]=29; rnmtd=mthd[mth]; rnwkd=CalWkd(yr,mth); rnshowcld(wkd,mtd); rnprintf("\n");rnreturn 0; rn rnrnrnrn rn
InflateException,哪位大神帮忙看下
android.view.InflateException: Binary XML file line #2 Error inflating class com.wudi.todo.TodoListItemView.rn一直报这个异常,不知道<em>怎么</em>回事,google了好多结果说是构造方法的问题,我构造方法三个都写了还是没用,[code=Java]rnpackage com.wudi.todo;rnrnimport android.content.Context;rnimport android.content.res.Resources;rnimport android.graphics.Canvas;rnimport android.graphics.Paint;rnimport android.util.AttributeSet;rnimport android.widget.TextView;rnrnpublic class ToDoListItemView extends TextView rnrn public ToDoListItemView(Context context, AttributeSet attrs, int defStyle) rn super(context, attrs, defStyle);rn init();rn // TODO Auto-generated constructor stubrn rnrn public ToDoListItemView(Context context, AttributeSet attrs) rn super(context, attrs);rn init();rn // TODO Auto-generated constructor stubrn rnrn public ToDoListItemView(Context context) rn super(context);rn init();rn // TODO Auto-generated constructor stubrn rn private Paint marginPaint;rn private Paint linePaint;rn private int paperColor;rn private float margin;rn rn public void init()rn Resources myResources=getResources();rn marginPaint=new Paint(Paint.ANTI_ALIAS_FLAG);rn rn marginPaint.setColor(myResources.getColor(R.color.notepad_margin));rn linePaint=new Paint(Paint.ANTI_ALIAS_FLAG);rn linePaint.setColor(myResources.getColor(R.color.notepad_lines));rn rn paperColor=myResources.getColor(R.color.notepad_paper);rn margin=myResources.getDimension(R.dimen.notepad_margin);rn rnrn @Overridern protected void onDraw(Canvas canvas) rn // TODO Auto-generated method stubrn super.onDraw(canvas);rn canvas.drawColor(paperColor);rn rn canvas.drawLine(0, 0, getMeasuredHeight(), 0, linePaint);rn canvas.drawLine(0, getMeasuredHeight(), getMeasuredWidth(), getMeasuredHeight(), linePaint);rn rn canvas.drawLine(margin, 0, margin, getMeasuredHeight(), marginPaint);rn rn canvas.save();rn canvas.translate(margin, 0);rn rn super.onDraw(canvas);rn canvas.restore();rn rn rnrnrnrn[/code]rn这是报错的那个类rn[code=XML]rnrn[/code]rn这是报错的那个XMLrn
大神帮忙看下代码
本人小白一个,今天再查看一个网页源文件时遇到下面的代码,格式太复杂了,但看起来又不像是加密的,请各<em>大神</em><em>帮忙</em>鉴定一下是否是经过特殊处理的过代码?如果是该如何转换为通俗的易懂的格式。rn完整代码太长了,请看链接:http://szjj.ky51.cn/Public/Js/jquery-1.11.1.min.jsrnrn部分代码如下:rn/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */rn!function(a,b)"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a)if(!a.document)throw new Error("jQuery requires a window with a document");return b(a):b(a)("undefined"!=typeof window?window:this,function(a,b)var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h=,i=h.toString,j=h.hasOwnProperty,k=,l="1.11.1",m=function(a,b)return new m.fn.init(a,b),n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b)return b.toUpperCase();m.fn=m.prototype=jquery:l,constructor:m,selector:"",length:0,toArray:function()return d.call(this),get:function(a)return null!=a?0>a?this[a+this.length]:this[a]:d.call(this),pushStack:function(a)var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b,each:function(a,b)return m.each(this,a,b),map:function(a)return this.pushStack(m.map(this,function(b,c)return a.call(b,c,b))),slice:function()return this.pushStack(d.apply(this,arguments)),first:function()return this.eq(0),last:function()return this.eq(-1),eq:function(a)var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[]),end:function()return this.prevObject||this.constructor(null),push:f,sort:c.sort,splice:c.splice,m.extend=m.fn.extend=function()var a,b,c,d,e,f,g=arguments[0]||,h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||,h++),"object"==typeof g||m.isFunction(g)||(g=),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:,g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g,m.extend(expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a)throw new Error(a),noop:function(),isFunction:function(a)return"function"===m.type(a),isArray:Array.isArray||function(a)return"array"===m.type(a),isWindow:function(a)return null!=a&&a==a.window,isNumeric:function(a)return!m.isArray(a)&&a-parseFloat(a)>=0,isEmptyObject:function(a)var b;for(b in a)return!1;return!0,isPlainObject:function(a)var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;tryif(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1catch(c)return!1if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b),type:function(a)return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a,globalEval:function(b)b&&m.trim(b)&&(a.execScript||function(b)a.eval.call(a,b))(b),camelCase:function(a)return a.replace(o,"ms-").replace(p,q),nodeName:function(a,b)return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase(),each:function(a,b,c)var d,e=0,f=a.length,g=r(a);if(c)if(g)for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)breakelse for(e in a)if(d=b.apply(a[e],c),d===!1)breakelse if(g)for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)breakelse for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a,trim:function(a)return null==a?"":(a+"").replace(n,""),makeArray:function(a,b)var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c,inArray:function(a,b,c)var d;if(b)if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return creturn-1,merge:function(a,b)var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a,grep:function(a,b,c)for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e,map:function(a,b,c)var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i),guid:1,proxy:function(a,b)var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function()return a.apply(b||this,c.concat(d.call(arguments))),e.guid=a.guid=a.guid||m.guid++,e):void 0,now:function()return+new Date,support:k),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b)h["[object "+b+"]"]=b.toLowerCase());function r(a)var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in avar s=function(a)var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b)return a===b&&(l=!0),0,C="undefined",D=1<b;b++)if(this[b]===a)return b;return-rn
请问在jbuilder6中的红圈代表错误黄圈代表警告,红圈可以忽略吗?
请问在jbuilder6中的红圈代表错误黄圈代表警告,红圈可以忽略吗?多谢!!!
小女子初来驾到,求大神帮忙~
使用SSH框架,现在想做一个数据字典模块,菜单要求用树形结构显示!rn用什么技术实现比较好,插件也可以!!rn<em>大神</em>求详解~[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/9.gif][/img]
大神帮忙看看
消息 4511,级别 16,状态 1,过程 HOSP_MEDICATION_INFO,第 4 行rn创建视图或函数失败,因为没有为第 26 列指定列名。rnrn我对SQL Server不懂。rn创建视图出这个异常,单查询的话有数据。
求问一个hibernate的配置问题,求大神帮忙看下
执行[code=java]getHibernateTemplate().find("select user from User user where user.name = '123'" );[/code]的时候一直报错,could not resolve property: name of: com.myblog.entity.User [select user from com.myblog.entity.User user where user.name = '123'],我检查了配置感觉没有错啊,rn实体类[code=java]public class User rn private int Id;rn private String Name;rn public int getId() rn return Id;rn rn public void setId(int id) rn Id = id;rn rn public String getName() rn return Name;rn rn public void setName(String name) rn Name = name;rn [/code]rnhbm.xml:[code=java]rn rn rn rn rn rn rn rn rn rn rn rn [/code]rn数据元文件:[code=java] rn rn rn com.mysql.jdbc.Driverrn rn rn jdbc:mysql://localhost/myblogrn rn rn rootrn rn rn adminrn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.MySQLDialectrn rn truern rn rn rn rn com/myblog/entity/User.hbm.xmlrn rn rn rn rn rn rn rn rn rn rn [/code]求<em>大神</em><em>帮忙</em><em>看下</em>
帮忙看下怎么回事
将网页上传上去,没法正确显示,右键点击改页属性显示如下信息rnrnHTTP 500 内部服务器错误rnrn协议 未知协议rn类型 文件rn连接 未加密rn地址 res://ieframe.dll/http_500.htm rnrn本来地址是http://www.XX.com/about_e.asp,打开显示不了啊rnrn请问该<em>怎么</em>解决
新人,求大神看下
public static void insert(ArrayList am) throws SQLExceptionrn rn Connection conn=null;rn try rn conn=DBopertate.connection();rn PreparedStatement ppst=conn.prepareStatement("insert into testtable (search_name1,search_name2,search_name3,search_sort,del_flag) values (?,?,?,?,'1')");rn for (int i=0;i
大神 看下这是什么问题
ERROR TemplateEngine:1173 - [THYMELEAF][http-bio-8880-exec-8] Exception processing template "403": Error resolving template "403", template might not exist or might not be accessible by any of the configured Template Resolversrn三月 22, 2016 3:27:36 下午 org.apache.catalina.core.ApplicationDispatcher invokern严重: Servlet.service() for servlet School threw exceptionrnorg.thymeleaf.exceptions.TemplateInputException: Error resolving template "403", template might not exist or might not be accessible by any of the configured Template Resolversrn at org.thymeleaf.TemplateRepository.getTemplate(TemplateRepository.java:247)rn at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1192)rn at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1148)rn at org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1095)rn at org.thymeleaf.spring3.view.ThymeleafView.renderFragment(ThymeleafView.java:259)rn at org.thymeleaf.spring3.view.ThymeleafView.render(ThymeleafView.java:179)rn at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1228)rn at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)rn at org.springframework.security.web.firewall.RequestWrapper$FirewalledRequestAwareRequestDispatcher.forward(RequestWrapper.java:132)rn at org.springframework.security.web.access.AccessDeniedHandlerImpl.handle(AccessDeniedHandlerImpl.java:66)rn at com.stc.base.security.CustomAccessDeniedHandlerImpl.handle(CustomAccessDeniedHandlerImpl.java:41)rn at org.springframework.security.web.access.ExceptionTranslationFilter.handleSpringSecurityException(ExceptionTranslationFilter.java:167)rn at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at com.stc.base.security.AjaxSessionTimeoutFilter.doFilter(AjaxSessionTimeoutFilter.java:78)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:107)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at com.stc.base.security.AddUserToSessionFilter.doFilter(AddUserToSessionFilter.java:39)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:141)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:146)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:184)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at com.stc.base.security.LogLogoutFilter.doFilter(LogLogoutFilter.java:53)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)rn at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:301)rn at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)rn at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:176)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:744)rnrn
哪错了求大神看下
#include rn#include rnstruct xxxrnrn char aa[30];rn int bb[2];rn double cc;rn ;rn struct yyyrn rn char dd[50];rn struct xxx mm;rn char *ee;rn char *ff[3];rn ;rn main (void)rn rn struct xxx qq="sample",0,1,5.4;rn struct yyy nn="string constant","text",7,8,12.3,"address","a","b","c";rn struct yyy pp,rr;rn strcpy(pp.mm.aa,"in structure");rn strcpy(pp.dd,"structure"); rn pp.mm.bb[0]=10;rn pp.mm.bb[1]=12;rn pp.mm.cc=57.8;rn pp.ee="pointer and";rn pp.ff[0]="array";rn pp.ff[1]="of";rn pp.ff[2]="ponter.";rn rr=pp;rn printf("%s%s %d %d %1f\n%s%s%s%s\n",rr.dd,rr.mm.aa,rr.mm.bb[0],rr.mm.bb[1],rr.mm,rr.ee,rr.ff[0],rr.ff[2]);rnrn
求!!!帮忙进来看下
package a;rnrnpublic class A rnrn /**rn * @param argsrn */rn A(int x)rn rn System.out.println("进入a的构造函数");rn run();rn rn rn rn public void run()rn rn System.out.println("运行a:run");rn rn rnrnrnrnpackage a;rnrnpublic class B extends A rnrn /**rn * @param argsrn */rn B(int x, int y)rn rn super(0);rn rn rn rn public void run()rn rn System.out.println("运行b:run");rn rn rnrnrnrnpackage a;rnrnpublic class C rnrn /**rn * @param argsrn */rn public static void main(String[] args) rn // TODO Auto-generated method stubrn int i = 0;rn int j = 0;rn B object_B = new B(i,j);rn rnrnrnrn第一次结果:rnrn调用父类构造函数rn运行b.runrn结束子类构造函数rn------------------------rnpackage a;rnrnpublic class A rnrn /**rn * @param argsrn */rn A(int x)rn rn System.out.println("进入a的构造函数");rn run();rn rn rn rn public void run()rn rn System.out.println("运行a.run");rn rn rnrnrnrnpackage a;rnrnpublic class B extends A rnrn /**rn * @param argsrn */rn B(int x, int y)rn rn super(0);rn rn rn rn private void run() // 此处为私有的与上边唯一的书写差别,当此处run方法被注释掉会报错rn rn System.out.println("运行b.run");rn rn rnrnrnrnpackage a;rnrnpublic class C rnrn /**rn * @param argsrn */rn public static void main(String[] args) rn // TODO Auto-generated method stubrn int i = 0;rn int j = 0;rn B object_B = new B(i,j);rn rnrnrn第二次结果:rnrn调用父类构造函数rn运行a.runrn结束子类构造函数rn----------------------rn我想问一下上边和下边的运行上的差别,为什么在父类调用相同的名字时,第一次是调用子类的方法,第二次确是父类的,不要回答因为第二次是私有的不能被子类继承,这我知道,我是要原理上解释。我想知道当子类对象实例化时所调用的父类对象是以什么样的形式、顺序,我的理解是子类调用父类构造函数时所调用的方法应该是父类的,但结果却调用了子类重写的方法...这到底是为什么????rn我想知道的是为什么调用重写的方法,我知道是方法重写,我不想知道这样的答案,我想知道他的实际运行原理。。比如:子类对象实例化时调用父类构造方法-〉执行父类构造方法的代码-〉System.out.println("进入a的构造函数");-〉run();。。。关键现在到这了,程序走到这里现在是在父类的构造方法里,他<em>怎么</em>知道这个run方法被子类重写了???还有既然第一次能调用子类的run方法,那么我把父类的run注释掉应该还会调用子类的run,但我想错了,会报错,我是想知道这背后的东西。。rn-----------------------------rn
求,各位帮忙看下
要写一个接口rn1号点会把http信息发给我rn我拦截找到里面的id就是店铺的idrn知道是那个店铺
大家帮忙看下这个是怎么做出来的?
[img=C:\Users\Administrator\Desktop\手机.png][/img]
求大佬帮忙看下slice怎么定义
[img=https://img-bbs.csdn.net/upload/201907/22/1563770721_167689.jpg][/img]rnrn小白一个,不太懂是什么问题,这里是说slice未定义吗?那我该<em>怎么</em>定义它,求<em>大神</em>。我太菜了。rnrn rn rn rn 搜索过滤 rn rn rn rn rn 名字rn 年龄rn 性别rn rn rn item.名字 | bigrn item.年龄rn item.性别rn rn rn rn rnrn
这里的时间复杂性怎么帮忙看下~~~~~~~
我只有中专的数学基础,毕竟我还是中专第三年今年就毕业考大专了,也不知道学数据结构是不是需要离散数学、线性代数、概率、微积分什么的基础rn rn 但学数据结构时完全搞不懂这个时间复杂性<em>怎么</em>求rn rn 请大家<em>帮忙</em>了谢谢[img=http://s15.photo.store.qq.com/http_imgload.cgi?/rurl4_b=7158e30fcc3c29693e73ad5d05f105dbae802b6e1aaf524872c642e2e7f89ac77623f5a3e70030d22fb2ee472b517ccd197716a19331f5be1bd110bbee8db75b514d21c5a468c07c9ddc224f2e91c6d84bbd73c5][/img]rnrn 图上这个时间复杂性<em>怎么</em>求?。。前面看得懂。。到<=后面那块<em>怎么</em>计算出来就不懂了~~rnrn rnrn
高手来帮忙看下,急
用查询分析器登陆不上去,rn报错 [color=#FF0000]已成功与服务器建立连接,但是在登录过程中发生错误。 (provider: 共享内存提供程序,error:0,管道另一端无任何进程)(Microsoft Sql Server error:233 ).[/color]rn网上找的资料rnhttp://www.soaspx.com/dotnet/sql/mssql/sql2005/sqlservr2005_20120716_9414.htmlrn可是我windows 身份都进不去,<em>怎么</em>好选混合模式,纠结了. 是这个解决方法的 不用说了,windows身份和SQL登陆 全部登陆不上去。rn昨天已经搞了一天了.rn
高手来看下帮忙“快速排序”
#includernusing namespace std;rnvoid Quick_Sort(int A[],int low ,int high)rnrn int temp,t=A[low];rn int l=low,h=high;rn if(l>=h) return ;rn while(l=t)h--;rn if(h>l)rn rn temp=A[l];rn A[l]=A[h];rn A[h]=temp;rn rn rn Quick_Sort(A,low,l-1);rn Quick_Sort(A,l+1,high);rnrnint main()rnrn int a[5],i ;rn for(i=0;i>a[i];rn Quick_Sort(a,0,4);rn for(i=0;i<
dll911进,来帮忙看下
昨天发个帖子问了个智能排队的问题。rnrn现在假如办事大厅有5个窗口,那么我是做成5个队还是做成1个队?rnrn而且有十三个办事大厅,<em>怎么</em>处理合适阿?rnrn求指导。
大神帮忙看看 是哪里的错误
[img=https://img-bbs.csdn.net/upload/201511/18/1447814960_170082.png][/img]
我是新手求 大神帮忙。。
#includern#include rnusing namespace std;rnrnconst double PI = 3.14159;rnclass Pointrnrnprivate:rn double x, y;rnpublic:rn Point(double xx=0, double yy=0)rn x = xx;rn y = yy;rn rn void set(double xx = 0, double yy = 0)rn rn x = xx;rn y = yy;rn rnrn void display()rn rn cout << "(" << x << "," << y << ")" << endl;rn rn double getX()rnrn return x;rn rn double getY()rn return y;rn rn double distance(Point &n)rn double dx = x - n.x;rn double dy = y - n.y;rn return sqrt(dx*dx + dy*dy);rn rn rn;rnrnclass Rectangle :public Point //矩形 rnrnprotected:rn double length, width;rnpublic:rn Rectangle(double l=1, double w=1, double xx=0, double yy=0) :Point(xx, yy), length(l), width(w)rn void set(double l = 0, double w = 0, double xx = 0, double yy = 0)rn rn Point::set(xx,yy);rn length = l;rn width = w;rn rnrn double Area()rn rn return length*width;rn rnrn double Peri()rn rn return (length + width) * 2;rn rnrn void display()rn rn cout << "矩形的中心坐标:";rn Point::display();rn cout << "矩形的长度: " << length << endl;rn cout << "矩形的宽度: " << width << endl;rn rn;rnrnclass Circle : public Point //圆形 rnrnprotected:rn double radius;rnpublic:rn Circle(double R=1, double xx=0, double yy=0) :Point(xx, yy), radius(R)rn void set(double R = 0, double xx = 0, double yy = 0)rn rn Point::set(xx, yy);rn radius = R;rn rnrn double Area()rn rn return PI*radius*radius;rn rnrn double Peri()rn rn return 2 * PI*radius;rn rnrn void display()rn rn cout << "圆形的中心坐标::" ;rn Point::display();rn cout << "圆形的半径: " << radius << endl;rn rn rn;rnrnclass Triangle : public Point // 三角形 rnrnprotected:rn double SideA, SideB, SideC;rn double l;rnpublic:rn Triangle(double sa=3, double sb=4, double sc=5, double xx=0, double yy=0) :Point(xx, yy), SideA(sa), SideB(sb), SideC(sc)rn void set(double sa = 0, double sb = 0, double sc = 0, double xx = 0, double yy = 0)rn rn Point::set(xx, yy);rn SideA = sa;rn SideB = sb;rn SideC = sc;rn rnrn double Area()rn rn l = (SideA + SideB + SideC) / 2;rn return sqrt(l*(l - SideA)*(l - SideB)*(l - SideC));rn rnrn double Peri()rn rn return SideA + SideB + SideC;rn rnrn void display()rn rn cout << "三角形的中心坐标:" ;rn Point::display();rn cout << "三角形的三条边:" << SideA << " " << SideB << " " << SideC << endl;rn rn;rnrnclass RecCuboid :public Rectangle //长方体 rnrnprivate:rn double high;rnpublic:rn RecCuboid(double h=1, double l=1, double w=1, double xx=0, double yy=0) :Rectangle(l, w, xx, yy), high(h)rn void H_set(double h = 0, double l = 0, double w = 0, double xx = 0, double yy = 0)rn rn Rectangle::set(l, w, xx, yy);rn high = h;rn rnrn void Volume()rn rn cout << "长方体的体积 :" << length*width*high << endl;rn rn void display()rn Rectangle::display();rn cout << "长方体的高度:" << high << endl;rnrn rn;rnrnclass CirCuboid :public Circle //圆柱 rnrnprivate:rn double high;rnpublic:rn CirCuboid(double h=1, double r=1, double xx=0, double yy=0) :Circle(r, xx, yy), high(h)rn void H_set(double h = 0, double r = 0, double xx = 0, double yy = 0)rn rn Circle::set(r, xx, yy);rn high = h;rn rnrn void Volume()rn rn cout << "圆柱的体积 :" << PI*radius*radius*high << endl;rn rn void display()rn Circle::display();rn cout << "圆柱的高度:" << high << endl;rn rn rn;rnrnclass TriCuboid :public Triangle //三菱住 rnrnprivate:rn double high;rnpublic:rn TriCuboid(double h=1, double sa=3, double sb=4, double sc=5, double xx=0, double yy=0) :Triangle(sa, sb, sc, xx, yy), high(h)rn void H_set(double h = 1, double sa = 0, double sb = 0, double sc = 0, double xx = 0, double yy = 0)rn rn Triangle::set(sa, sb, sc, xx, yy);rn high = h;rn rnrn void Volume()rn rn cout << "三菱住的体积 :" << sqrt(0.33*l*(l - SideA)*(l - SideB)*(l - SideC))*high << endl;rn rn void display()rn Triangle::display();rn cout << "三菱柱的高度:" << high << endl;rnrn rn;rnvoid distangce(Point &pp,int type)rn Rectangle *pr;rn Circle *pc;rn Triangle *pt;rn CirCuboid *pcu;//长方体、rn RecCuboid *pcy;//圆柱rn TriCuboid *ptr; //三菱柱rn switch (type)rn case 1:rn pr = reinterpret_cast(&pp);rn cout << "矩形的面积;" << pr->Area() <<< endl;rn break;rn case 2:rn pc = reinterpret_cast(&pp);rn cout << "圆形的面积;" << pc->Area() << "/t圆形的周长:" << pc->Peri() << endl;rn break;rn case 3:rn pt = reinterpret_cast(&pp);rn cout << "三角形的面积;" << pt->Area() << "/t三角形的周长:" << pt->Peri() << endl;rn break;rn case 11:rn pcu = reinterpret_cast(&pp);rn cout << "长方体的体积:" << pcu->Volume() << endl;rn break;rn case 12:rn pcy = reinterpret_cast(&pp);rn cout << "圆柱的体积:" << pcy->Volume() << endl;rn break;rn case 13:rn ptr = reinterpret_cast(&pp);rn cout << "三菱柱的体积:" << ptr->Volume() << endl;rn break;rn rn rnrnrnrnint main()rn rn Point objPoint;rn objPoint.set(5.10);rn cout << "点的坐标为:";rn objPoint.display();rn cout << " " << endl;rn rnrnrn主程序没有编完。就是这个《没有找到接受“void”类型的右操作运算符》都是这么求指点、、
大神看下啊,急求
[code=c]QPointer widget1(new DuiWidget());rn if (widget1)rn rn widget1->setLayout(DuiWidget::VBox);rn bool isSuccess1 = DuiXmlUI::createFromFile("fffff", widget1);rn m_GameFacesWidgetImGroup = widget1->findChild("gameFacesWidget");rnrn if ( !isSuccess1 || m_GameFacesWidgetImGroup == NULL )rn rn return false;rn rn [/code]rn我需要在return false前用delete吗,若不用,是否会造成内存泄露呢??rn求<em>大神</em>解答啊
大家帮忙看一下,图中画红圈的是什么意思啊
大家<em>帮忙</em>看一下,图中画红圈的是什么意思啊,这是别的公司的原理图库里面的信息,我们想参考建立自己的标准库,rn请各位见多识广的大虾看一下,我有几个疑问:rn1、EP与EPI是什么,为什么有时两个一样,有时又不一样?rn2、MFG与MFGI有什么区别,为什么有时两个一样,有时又不一样?rnrn[img=http://hi.csdn.net/attachment/201112/13/0_1323747410imn2.gif][/img]
高手来看下是为什么!
#includern#includern#includernusing namespace std;rnvoid main()rnrn string s;rn cin>>s;rn ifstream fin(s.c_str());rnrnrnrn--------------------Configuration: Cpp1 - Win32 Debug--------------------rnCompiling...rnCpp1.cpprnC:\Documents and Settings\xuewenjie\Cpp1.cpp(8) : error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'class std::basic_string,class std::allocator >' (or there is no acceprntable conversion)rnC:\Documents and Settings\xuewenjie\Cpp1.cpp(9) : error C2872: 'ifstream' : ambiguous symbolrnError executing cl.exe.rnrnCpp1.exe - 2 error(s), 0 warning(s)
看下 是重载的问题
#includernclass complexrn double i;rn double j;rnpublic:rn complex():i(0),j(0)rn complex(double t,double k):i(t),j(k)rn double geti()return i;rn double getj()return j;rn complex& operator+=(complex a)i+=a.geti(),j+=a.getj(),return *thisrn;rnvoid main()rnrn using namespace std;rn complex a(1,1);rn complex b(2,2);rn complex c;rn c+=b;rn cout<
大神看下
#includernint main()rnrn int n,i,j,m;rn scanf("%d",n);rn for(i=1;i,j,m);rnrn rnrn这个一运行就出现dcv。exe已停止工作rn<em>怎么</em>破
大神帮忙啊!!!!
Map&amp;lt;String,Map&amp;lt;String,Integer&amp;gt;&amp;gt; 里面的Map遍历出来Key重复 <em>怎么</em>解决
求操作系统大神帮忙
A、B两个人用QQ聊天。rnA打了一行字点击发送,B接收到后回复,然后A接收到这行回复。这期间A机器的操作系统做了什么?rn麻烦说的稍详细一点。涉及进程管理、设备管理、文件管理等,谢谢!
数据结构的,求大神帮忙
对任意输入的一段英文,为每个字符编制其相应的赫夫曼编码;并利用该编码为任意输入的0、1序列进行解码. rn基本要求:一个完整的系统应具有以下功能:rn(1)初始化 从终端读入一段英文字符,统计每个字符出现的频率,建立赫夫曼树,并将该树存入某文件;rn(2)编码 利用建好的赫夫曼树对各字符进行编码,用列表的形式显示在屏幕上,并将编码结果存入另一文件中; rn(3)解码 利用保存的赫夫曼编码,对任意输入的0,1序列能正确解码; rn 感觉好难[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/9.gif][/img]
大神帮忙。。
请用java获取rar压缩包详细文件列表 rn功能要求:rn 用户单击“浏览”按钮,程序自动打开文件选择器(如图2),让用户选择ARA压缩包文件,程序自动实现ARA压缩包文件列表的读取和解析,并将详细信息显示在表格控件中(如图1)。实现的图形用户界面如下:rn[img=https://img-bbs.csdn.net/upload/201506/12/1434095458_100162.png][/img][img=https://img-bbs.csdn.net/upload/201506/12/1434095468_537351.png][/img]rn跪求详细源代码和流程图 rn请发到287398048@qq,com 这个邮箱当中
菜鸟求大神帮忙~~~
C# winform中输入文本框对每行【有内容的】开头 插入一句相同的话;【没内容的】不插入;rn点确定实现如图:rn[img=https://img-bbs.csdn.net/upload/201310/10/1381416060_922794.jpg][/img]rnrn
新手,求大神帮忙
需要做一个视频上传,下载功能的网页...但是我看不懂网上那些代码..55555...有没哪位大虾耐心教下我
大神们求帮忙???
根据查询条件查询,并将查询结果在DBGridEh中显示,当显示结果为空时,DBGridEh不可操作,否则DBGridEh可操作,当显示结果不为空时,Excel表按钮可操作
大神帮忙~
下面这个程序编译时通过的,但是在组建的时候却是不通过的。请<em>大神</em>们看看是为什么~最好连原因也说一下~先谢谢了。rn程序:rn#includernusing namespace std;rn#includernclass Xrnpublic:rn X(int x1,char *x2,float x3):a(x1),c(x3)rn b=new char[sizeof(x2)+1];rn strcpy(b,x2);rn rn X():a(0),b("X::X()"),c(10) rn X(int x1,char *x2="X::X(....)",int x3=10):a(x1),b(x2),c(x3)rn X(const X&other)rn a=other.a;rn b="X::X(const X &other)";rn c=other.c;rn rn void print()rn cout<<
大神帮忙 看看!!
Fatal error: Call to a member function recordcount() on a non-object in C:\Users\Administrator\Desktop\oecsm\Apache2\htdocs\classes\user.class.php on line 34rnrnrn项目更改数据库之后就报这个错!
webservice求大神帮忙
经理给了一个http://192.168.10.13/ythd_2013/inc/duanxin_zq/server.php?wsdlrn然后在我这台机器上写一个类websetvice来访问这里面的方法rnrn<em>怎么</em>做?
大神帮忙
#includern#includernvoid ps(char b[][20],int n);rnint main(void)rnrn char p[10][20]="Aafhghk","Bbgjfjghkkh","Ccdfggkgdfhff","Dfdhj","Egdfhd","Fsrb","Jdfghhk","Hfggkghhfrthfj","Gdfghkhfdgh","Wfdhfhjhg";rn int i;rn for(i=0;i,p+i);rn rnrnvoid ps(char b[][20],int n)rnrn char s[20];rn int r,i;rn while(n!=0)rn rn n--;rn for(i=0;i=1)rn rn strcpy(s,b[i]);rn strcpy(b[i],b[i+1]);rn strcpy(b[i+1],s);rn rn rn rn
大神帮忙!!!
电脑(win7系统)中了驱动木马,把drivers和drivers store给删除了,忘了修复驱动,直接重启,结果开不了机,也没法重装系统。之前也没设置cd启动,现在无法进入BIOS。该<em>怎么</em>办?rn开机后图片如下:[img=https://img-bbs.csdn.net/upload/201502/03/1422969808_893823.jpg][/img]rn [img=https://img-bbs.csdn.net/upload/201502/03/1422969831_706563.jpg][/img]
大神帮忙解决
import java.io.*;rnpublic class Calculator rn // 定义相关变量rn private String sum = null;rn private String qbrc = null;rn private double qbr1 = 1;rn private double qbr2 = 1;rn String abr1;rn String abr2;rn public Calculator()rn rn rn public void sumT()rn /*rn * 接口功能:进行相关的输入和类型转换 rn * 接口输入:空 rn * 接口输出:空 rn */rn tryrn System.out.println("欢迎使用!!!/n此计算器除可以进行数字各种相关运算还可以进行字符串的相加");rn System.out.print("请您输入您的第一次输入:");rn BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in));rn System.out.print("请输入您的第二次输入:");rn BufferedReader br2 = new BufferedReader(new InputStreamReader(System.in));rn System.out.print("请选择符号(+、—、*、/):");rn BufferedReader brc = new BufferedReader(new InputStreamReader(System.in));rn qbrc = brc.toString();rn abr1 = br1.toString();rn abr2 = br2.toString();rn catch(Exception e)rn e.printStackTrace();rn System.err.println("操作有误,请重新操作!!!");rn rn tryrn qbr1 = Double.parseDouble(abr1);rn qbr2 = Double.parseDouble(abr2);rn rn rn catch(Exception e)rn e.printStackTrace();rn System.err.println("***"+abr1+abr2+"***");rn rn /*rn * 接口功能:进行相关运算并输出结果 rn * 接口输入:空 rn * 接口输出:空 rn */rn tryrn if(qbrc=="+")rn double resultOf = qbr1+qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="-")rn double resultOf = qbr1-qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="*")rn double resultOf = qbr1*qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="/")rn double resultOf = qbr1/qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn catch(Exception e)rn e.printStackTrace();rn System.err.println("**********\n您的除数不能为零!!!\n**********");rn rn rn rn rn /**rn * @param argsrn */rn public static void main(String[] args) rn Calculator calculator = new Calculator();rn calculator.sumT();rn rnrnrn
大神帮忙。。。。
With these components, web deployed user interfaces can be developed with a level of functionality and interactivity rnpreviously reserved for thick-client applications.rnrnrnrn谁可以帮我翻译一下这句话,我已经有道,百度,谷歌翻译都试过了,还是看不懂这句话的意思,求不吝赐教,感谢!
大神帮忙,很急
我们现在正在自己开发学校考勤系统,现在的遇到点问题。rn.net中我们要求导入excel文件,导入是导进数据库中,需要每一个人Demorn求<em>大神</em><em>帮忙</em>!!!!!
大神帮忙,!看看
/* 题目:一球从100米高度自由落下,rn * 每次落地后反跳回原高度的一半;rn * 再落下,求它在 第N次落地时,共经过多少米?rn * 第N次反弹多高?(将处理写到方法中,rn * 并且方法需要带一个参数,该参数表示第N次落地)rn */import java.util.Scanner;rnpublic class Test3 rnrn rn public static double method(int k)rn rn double sum=100;rn double h=100;rn for(int i=1;i);rn int n=scanner.nextInt();rn double y=method(n);rn System.out.println(y);rnrn rn rn rn rn rn rnrn我的方案不行!求<em>大神</em><em>帮忙</em>!rn
大神帮忙啊!!
编写一段计算货物剩余时间的函数,利用单链表,已经获取系统时间,但是在编写计算函数时总是无法达到预计效果 ,下面是我的代码:一定要用c语言,不能用其他的,或许<em>大神</em>能够<em>帮忙</em>写出这段代码,急需!!rn/*保质期换为天数*/rnint getday(linklist *p)rnrn int day;rn day=30*(p->month);rn return day;rnrn/*计算现在时间与商品生产日期相差的天数*/rnint calcu_day(linklist *p)rnrn int day1,day2,month;rn time_t t;rn struct tm*mytm;rn time(&t);rn mytm=localtime(&t);rn day1=mytm->tm_mday;rn day2=p->day;rn for(month=1;monthtm_mon+1);month++)rn rn if(month==4||month==6||month==9||month==11)rn day1+=30;rn else if(month==2)rn rn if(mytm->tm_year%4==0&&mytm->tm_year%100!=0||mytm->tm_year%400==0)rn day1+=29;rn elsern day1+=28;rnrn rn elsern day1+=31;rn rn for(month==1;monthmonth;month++)rn rn if(month==4||month==6||month==9||month==11)rn day2+=30;rn else if(month==2)rn rn if(p->year%4==0&&p->year%100!=0||p->year%400==0)rn day2+=29;rn elsern day2+=28;rn rn elsern day2+=31;rn rn day1+=365*(mytm->tm_year-(p->year));rn return day1-day2-1;rnrnvoid isoutdata(linklist *p)rnrn int day1,day2,a,b,c;rn if(p->month=365&&(day1-day2)=180&&(day1-day2)next;rn while(p->next!=NULL)rn rn isoutdata(p);rn p=p->next;rn rn
求各位大神帮忙。。。
去从text文件中读取数据并且存他们进入array.然后从大到小print出来。rnprint出来的还有格式要求一行八个,靠左对齐。rnrn[code=java]import java.io.*;rnimport java.util.*;rnrnpublic class gradeprintrn public static void main(String[] args)throws IOExceptionrn Scanner in = new Scanner (new FileReader("data.txt"));rn for () rnrn rnrn for () rnrnrnrn [/code]rnrnrn这个是格式rnrnrn[code=text]90rn80rn76rn95rn87rn36rn95rn95rn56rn68rn78rn87rn98rn87rn45rn67rn95rn34rn92rn80rn95rn90rn76rn95rn95rn48rn95rn64rn68rn45[/code]
大神帮忙
这是我的控制器的代码rn ///操作上线下线rn ///state 0 1 rn [HttpPost]rn public ActionResult _CompassionsUpdate(biz_Compassions biz_Compassions,string btnType) rn if (btnType == "上线")rn rn db.biz_Compassions.Single(m => m.CompassionID==biz_Compassions.CompassionID).State =1; rn db.SaveChanges();rn return PartialView("_CompassionsGrid");rn rn else rn db.biz_Compassions.Single(m => m.CompassionID == biz_Compassions.CompassionID).State =0; rn return PartialView("_CompassionsGrid");rn rn rn rn rn这是我页面的代码、rn rn @using (Html.BeginForm("_CompassionsUpdate", "CompassionsController", FormMethod.Get)) rn if (item.State == 0)rn rn rn rn rn elsern rn rn rn rn rn rn rn我要点击button后调用控制器的方法 修改数据库的字段rn可是方法没有调用到
ajax技术和dwr介绍下载
介绍ajax技术和dwr框架,从ajax的requesthttp对象到dwr框架方法,学习就可用,是java应用方面 相关下载链接:[url=//download.csdn.net/download/eyugod01/2144324?utm_source=bbsseo]//download.csdn.net/download/eyugod01/2144324?utm_source=bbsseo[/url]
俄罗斯方块(基础方块的创建、移动)下载
北大青鸟ACCP5.0俄罗斯方块(基础方块的创建、移动)源代码 相关下载链接:[url=//download.csdn.net/download/long4517595/2152847?utm_source=bbsseo]//download.csdn.net/download/long4517595/2152847?utm_source=bbsseo[/url]
perl特殊代码5下载
perl特殊代码5 相关下载链接:[url=//download.csdn.net/download/hongly168/4010070?utm_source=bbsseo]//download.csdn.net/download/hongly168/4010070?utm_source=bbsseo[/url]
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数
我们是很有底线的