求助各位大神 [问题点数:20分]

Bbs1
本版专家分:0
结帖率 0%
高分求助!各位大神
求一个算法的实现,实现树的子节点计算,不是二叉树,是一般树~~
org.springframework.beans.factory.BeanDefinitionStoreException:求助各位大神
- Root WebApplicationContext: initialization startedrn- Refreshing Root WebApplicationContext: startup date [Mon Aug 01 11:44:59 CST 2016]; root of context hierarchyrn- Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]rn- Context initialization failedrnorg.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [F:\赵斌\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springmyringself\WEB-INF\classes\com\chinatelecom\udb\AccountBinding.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [F:\赵斌\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springmyringself\WEB-INF\classes\com\chinatelecom\udb\AccountBinding.class]; nested exception is java.lang.IllegalArgumentExceptionrn at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)rn at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)rn at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)rn at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:195)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1672)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)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: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [F:\赵斌\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springmyringself\WEB-INF\classes\com\chinatelecom\udb\AccountBinding.class]; nested exception is java.lang.IllegalArgumentExceptionrn at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:56)rn at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)rn at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102)rn at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:266)rn ... 36 morernCaused by: java.lang.IllegalArgumentExceptionrn at org.springframework.asm.ClassReader.(Unknown Source)rn at org.springframework.asm.ClassReader.(Unknown Source)rn at org.springframework.asm.ClassReader.(Unknown Source)rn at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:53)rn ... 39 morern- Closing Root WebApplicationContext: startup date [Mon Aug 01 11:44:59 CST 2016]; root of context hierarchyrn八月 01, 2016 11:44:59 上午 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [F:\赵斌\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springmyringself\WEB-INF\classes\com\chinatelecom\udb\AccountBinding.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [F:\赵斌\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springmyringself\WEB-INF\classes\com\chinatelecom\udb\AccountBinding.class]; nested exception is java.lang.IllegalArgumentExceptionrn at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)rn at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)rn at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)rn at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)rn at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:195)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)rn at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)rn at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)rn
各位大神。。求助
帮我看下http://stu.fudan.edu.cn/freshman/是怎么实现的啊
求助各位硬件大神
主板:MSI 微星 G41M-P26 主板rn显卡:Sapphire 蓝宝石 HD 6770 1GB GDDR5白金版 显卡rn电源:Antec 安钛克 BP 550 plus 台式机电源(额定功率550Wrnrnrn当我插上显卡的6pin口外接电源时,机器就无法启动,当我拔下显卡电源线时,却能使机器启动,进入系统,这是为什么?rn拜托各位大哥了
向各位大神求助
运行如下语句:rnselect to_char(sysdate,'yy-mm-dd hh24:mm:ss')from dual;rn得到结果为:rn17-12-02 15:12:06rnrn但是当我把语句换成:rnselect to_char(sysdate,'yy-mon-dd hh24:mm:ss')from dual;rn结果如下:rn17-12[b]月[/b]-02 15:12:53rnrn想请教一下,如果我希望得到‘年’后者‘日’甚至‘时分秒’该怎么做?rnrn感激不尽
各位大神 小弟求助!!
我现在遇到的情况是这样的:rn客户因为字符集的问题从数据库中抽取数据为乱码,于是我想到一个方法,将客户数据库上的字典表导出CSV文件,通过运行bat文件将其导入我的数据库rn rn@echo offrn sqlplus system/password @E:\bat\CREATE_TEMP_USER.SQLrnecho ***********************TEMP用户已建立********************rn sqlplus TEMP/TEMP @E:\bat\CREATE_TEMP_TABLE.SQLrnecho ***********************JSSQ表已建立************rnsqlldr TEMP/TEMP control=DBA_TAB_COMMENTS.ctl log=log\DBA_TAB_COMMENTS.logrnecho ***********************TEMP的数据完全入库********************rn@echo offrnecho.&echo 请按任意键关闭BAT窗口...&pause>nulrnexitrnrn这样导入可以成功。我现在想问的是 如何写一个文件让客户的数据库自动吐出CSV文件,因为我之前导出CSV文件都是手工导出的。我想写个bat文件让数据库自动导出CSV文件,然后再自动运行导入,省时省力。rn再重复一遍问题:想让数据库自动导出CSV文件 以 DBA_TAB_COMMENTS 为例子rnrn感谢感谢
各位大神求助
现在有个做好的网站,有一个待办工作弹出提醒的功能,现在是20秒重载一下提醒消息的页面。rnrn想实现一个功能:rnrn重载页面之前 做一个判断rn1.通过session取得当前用户的userNamern2.查询表qp_AddworkFlow2 里有没有某一列等于username 而且STATE=‘ 等待办理’rn3.如果有,则重载页面rn4.如果没有,则将表qp_message 内所有receptname=username 并且sfck=’否‘的行 的sfck 值改为 是 。 rnrn没有源码,最好直接做在页面上。rnrn重载页面的方法是做在页面上的rnrn$(function()rn setInterval("reloadFrame()",20000);rn);rnfunction reloadFrame()rn tx.window.location.reload()rnrnfunction killErrors() rnreturn true;rnrnwindow.onerror = killErrors;
求助各位大神!!!!!!!!!
rnrnrnVS2008+access 的一个后台管理系统 我现在想问下如何对数据库进行增删改的详细代码。。。求一个例子rnrn表名Socut_News rnn_id 文本rnn_title 文本rnn_content 备注rnn_time 日期/时间 rnrn诚心求教。。一定给分。。
紧急求助各位大神
我安装了android studio 2.2版本的 但是无论怎么弄就出现这样的情况 如图 我无法拖动这个页面,请问各位<em>大神</em>如何解决这个问题呢 而且这个也无法缩小!!!请问咋办呀[img=https://img-bbs.csdn.net/upload/201801/27/1517042621_825266.jpg][/img][img=https://img-bbs.csdn.net/upload/201801/27/1517042944_919904.jpg][/img]
各位好心的大神求助
怎么实现这样一个小程序,按下键盘上1键,出现1001,接着按1出现1002,再接着按1,出现1003.。。。。,同理第一次按2键出现,2001,接着按2,出现2002。。。。按3,4,5,6,7,8,9都是同样的道理!
求助各位C++大神
在 a.h 中rnclass VirturalThreadrnrnpublic:rn void KillRobot();rn;rn在b.h 中rnclass ThreadClientrnrnpublic:rn void KillThread();rn VirturalThread* pTest;rn;rnvoid TheadClient::KillThread()rnrn pTest->KillRobot();rnrnrnrn如何能够使用ThreadClient* pThread直接访问KillRobot()rn即如何实现pThread->KillRobot();
求助各位前端大神
需求是:H5页面写个父事务类型输入框,子事务类型输入框,问题描述框,父事务类型输入框和子事务类型输入框是二级联动,然后这两个框里面的内容是从数据库读出来的,请问怎么实现??????
各位大神求助啊。。。。。。
[size=24px]有没有<em>大神</em>可以解释为什么第一段代码的结果为 9.5,而第二段代码的结果为0[/size]rnrn第一段代码rn[code=c]rn#include rnrn#define PT 5.5rn#define S(x) PT*x*xrnrnint main()rnrn int x=1, y=2;rn printf("%4.1f\n", S(x+y));rn return 0;rnrn[/code]rn运行结果:rn[img=https://img-bbs.csdn.net/upload/201410/26/1414322445_976845.jpg][/img]rnrn第二段代码:rn[code=c]rn#include rnrn#define PT 5.5rn#define S(x) PT*x*xrnrnint main()rnrn int x=1, y=2;rn printf("%d\n", S(x+y));rn return 0;rnrnrn[/code]rn[img=https://img-bbs.csdn.net/upload/201410/26/1414322518_723180.jpg][/img]
各位大神求助
帮我看下http://stu.fudan.edu.cn/freshman/是怎么实现的啊
菜鸟求助各位大神
关于文件操作的问题,假如txt里面内容:rni am boy!rni am girl!rn.rn.rn.rnrnrnn多行数据,怎样提前计算行数,当然假如是固定行数的 我能设立数组然后分行导入,但是一旦数据多了,我怎样提前预知行数,然后设置合适的数组,以免空间浪费,菜鸟级水平,忘大家给予指点 谢谢。
求助各位大神...
现在有5个 RadioButtonList 每个RadioButtonList 都有4个选项rn第一个选项1分 第二个2分 第三个3分 第四个4分 也就是rn通过RadioButtonList1.SelectedIndex 计算分数rn我想计算五个 RadioButtonList 一共多少分 怎么写语句啊..悲剧 rn我刚接触VB.net rn谢谢各位
各位大神求助,,谢谢
我定义了一个类:rn public class Personrn rn //编号rn public int ID get; set; rn //姓名rn public string Name get; set; rn //年龄rn public int Age get; set; rn rnrn然后在控制器中:IEnumerable list = new Listrnrn那么问题就来了,麻烦你们解释一下IEnumerable list = new List这句代码什么意思?谢谢
求助!。。。各位大神帮忙
各位<em>大神</em> 有人知道为什么我的图例是一行的吗。。我想改成1列4行 这个用语句怎么改呀rnrn这样横着把AREA的区域也给占了。。。rnrn我用的chart控件,绑定的动态的数据源。[img=https://img-bbs.csdn.net/upload/201405/25/1401006283_181755.jpg][/img]rnrn下面是我的代码rn With Me.Chart1rn .DataSource = DT.DefaultView 'dt作为chart1的数据源rn .Series.Clear()rn .Legends.Clear()rn .Legends.Add("本航班")rn .Series.Add("本航班")rn .Series("本航班").Legend = "本航班" '指定Legend所属Seriesrn .Series("本航班").LegendToolTip = "本航班"rn .Series("本航班").IsValueShownAsLabel = True '标签显示数据值rn End Withrn With (Chart1.Series(0))rn '指定x、y轴数据列rn .YValueMembers = "本航班"rn .XValueMember = "起飞前后天数"rn '图表类型rn .ChartType = DataVisualization.Charting.SeriesChartType.Linern End Withrn Chart1.ChartAreas(0).AxisX.Interval = 1rn Chart1.ChartAreas(0).AxisX.MajorGrid.Enabled = Falsern Chart1.ChartAreas(0).AxisX.Title = "起飞前后天数"rn Chart1.ChartAreas(0).AxisY.Title = "人数"rn Chart1.Series.Add("同期")rn Chart1.Legends.Add("同期")rn Chart1.Series("同期").Legend = "同期" '指定Legend所属Seriesrn Chart1.Series("同期").LegendToolTip = "同期"rn Chart1.Series("同期").IsValueShownAsLabel = True '标签显示数据值rn Chart1.Series("同期").YValueMembers = "同期"rn Chart1.Series("同期").XValueMember = "起飞前后天数"rn Chart1.Series("同期").ChartType = DataVisualization.Charting.SeriesChartType.Linernrnrnrn Chart1.Series.Add("本月")rn Chart1.Legends.Add("本月")rn Chart1.Series("本月").Legend = "本月" '指定Legend所属Seriesrn Chart1.Series("本月").LegendToolTip = "本月"rn Chart1.Series("本月").IsValueShownAsLabel = True '标签显示数据值rn Chart1.Series("本月").YValueMembers = "本月"rn Chart1.Series("本月").XValueMember = "起飞前后天数"rn Chart1.Series("本月").ChartType = DataVisualization.Charting.SeriesChartType.Linernrnrn Chart1.Series.Add("同期月")rn Chart1.Legends.Add("同期月")rn Chart1.Series("同期月").Legend = "同期月" '指定Legend所属Seriesrn Chart1.Series("同期月").LegendToolTip = "同期月"rn Chart1.Series("同期月").IsValueShownAsLabel = True '标签显示数据值rn Chart1.Series("同期月").YValueMembers = "同期月"rn Chart1.Series("同期月").XValueMember = "起飞前后天数"rn Chart1.Series("同期月").ChartType = DataVisualization.Charting.SeriesChartType.Line
各位大神 求助
1980和运营商对接 呼入的时候电话机的号码显示是+86+号码 如何将+86去掉
各位大神求助!!
本人新手,目前学习jq 中,对于代码这块效率很慢,而且经常出错,希望能够找到一款好用的代码显示插件,请问那位<em>大神</em>能发个jquery 代码插件给我,我目前是用dreamweaver cs5,求好心人能发插件给我, jquery_api.mxp这个插件 ,如果有其他好用的也可以发,小弟邮箱:aiguonihai@icloud.com,谢谢各位大哥们拉。。小弟我不胜感激!!由于刚近来分很少,希望大哥们能帮帮忙。。
菜鸟求助各位大神!
小弟,最近才接触数据库, rn 老师叫我们先背下 增删改查 四条与数据库交互的语句, rn <em>大神</em>们能不能指点下小弟,这四条语句的大概意义与简单应用!
各位大神求助
我写了一个rn$sql="select disnum from disease where disname='$disname'";rn $sqlhelper=new SqlHelper();rn $res=$sqlhelper->exectue_dql1($sql);rn if(!empty($res))rn if($row=mysql_fetch_row($res))rn $b=$row[0];rn rn mysql_free_result($res);rn $sqlhelper->close_connect();rn return $b;rn elsern return 0;rn rn当我输入一个数据库表中不存在的$disname的时候,上面这个为什么不返回0,而是报错说有不存在的$brn请速回,十分着急!!!!!!!!!
求助哦~~各位大神
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDate string]: unrecognized selector sent to instance 0x1342af90'rn*** First throw call stack:rn(0x278b012 0x24a1e7e 0x28164bd 0x277abbc 0x277a94e 0x154248d 0x1542674 0x1d6e1e 0x1eed0d5 0x1eed034 0x2d2c5b7 0x2d16dce)rnlibc++abi.dylib: terminate called throwing an exceptionrn(lldb) rnrnrnrnrn报这个错一般是什么情况导致的, 时不时会因为这个程序泪奔,,
求助!~各位大神帮帮忙
有谁知道哪里可以找到孙鑫的 java web应用详解啊 ,rn知道的给个地址啊
菜菜求助各位大神
一堆问题- -rnrn销售表和客户表 定义某个客户 在销售表中输入某个数值时 自动导入此客户的信息 例如 定义联想为0001 在销售中输入0001时自动导入联想责任有限公司 rnrn还有多表同时输入 例如 进货单 库房系统 在进货单中加入数据时 自动在库房系统中加入一项数据 rnrn还有。。。。。在出货系统中出一项产品时 自动 在库房系统中将此产品数量减1 rnrnrnrn谢谢各位<em>大神</em>了~~~~~~~
紧急求助,各位大神帮帮忙
有一个Strurs2项目是在MyEclipse上运行的,现在需要把它转移到Eclipse上,求<em>大神</em>相助rn很急rnrnQQ:812792011
新手又来求助各位大神
本人正在自学python,学到了pygame这块,书上讲的rect.centerx 属性只能存储整数,但是下图的操作理解不了。rn还请各位帮忙分析一下。rn[img=https://img-bbs.csdn.net/upload/201902/18/1550456235_836826.png][/img]
向各位大神求助来了
"D:\Program Files\MySQL\MySQL Server 5.5\bin\mysql" -hlocalhost -uroot -p123 mybd
新手求助各位大神,膜拜
系统后台给用户的账户禁用之后,用户无法继续使用该产品直到被后台许可,跪求<em>大神</em>
蓝屏求助,谢谢各位大神
win10 休眠的时候,蓝屏了,求各位<em>大神</em>指点,灰常感谢rnrndmp文件链接:rn[url=http://pan.baidu.com/s/1hrUVRco][/url]rn
BDE错误,求助各位大神~~~~~~~~~~
[img=http://b90.photo.store.qq.com/psb?/5ebbbaab-ff5f-448d-a511-d13b0054e2b8/IEXjOuhb27C1VrW*9rgonMPLiojHpXUYFj6JrnLRrPY!/b/dGySrDWPGAAA&bo=ZQHiAAAAAAABAKE!][/img]rnrn错误如上图rnrnrndelphi 2010环境,貌似装了个别的程序,跟数据库有关,然后,就delphi的数据库就不好使了,原来能访问.db,现在不行了,bde重装N次,也不行,各位<em>大神</em>,帮忙看看是咋回事?rn
vector.push_back()报错,求助各位大神
bool CCalutionFactor::ParseFactorName(string FactorFileName)rnrn char InFileNameBuf[512];rn memset(InFileNameBuf, 0, 512);rn strcpy(InFileNameBuf, FactorFileName.c_str());rnrn char* p;rnrn p = strtok(InFileNameBuf, ";");rnrn while(p)rn rn string NameBuf(p);rn printf("NameBUf %s \r\n", NameBuf.c_str());rnrn InFileName.push_back(NameBuf);rn p=strtok(NULL,";");rn rn return true;rnrn这是我写的一段程序,作用是把string按;拆分,然后push到vector中。rn以前好好的,昨天突然报错,rn错误提示rnUnhandled exception at 0x100303b9 (Calculation_Model.dll) in ExeTest.exe: 0xC0000005: Access violation reading location 0x00000014.rn我跟进了一下。错误行在vector文件的rn size_type size() constrn // return length of sequencern return (_Mylast - _Myfirst);rn rn就是return行。<em>求助</em>各位,帮帮忙啊。rn
菜鸟求助,各位大神帮帮忙
#includen#includenusing namespace std;nvoid main()nndouble a;ncin>>a;ncout.precision;ncout.setf(ios::fixed|ios::showpoint);ncout<e:\c++练习\consoleapplication1\consoleapplication1\3-12.cpp(8): error C3867: “std::ios_base::precision”: 函数调用缺少参数列表;请使用“&std::ios_base::precision”创建指向成员的指针n========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========n
日志服务器,新手,求助各位大神
最近公司要使用一个日志服务器,对不同服务器上的日志进行管理,存储以及分析,有没有类似的开源软件呢?我找到了一个logstash,但是不知道怎么在windows下面安装,求指导!!!
xml小白求助各位大神
大家好,我遇到了一些中文方面的问题,我用SAS生成的xml文件,用记事本打开是正常的,像这个样子[img=https://img-bbs.csdn.net/upload/201711/28/1511832460_863054.png][/img]rn但是我用浏览器打开就会出现解析错误,格式不佳,我查看了网页源代码,发现中文部分有很多乱码和问号,请问各位有什么方法解决吗?[img=https://img-bbs.csdn.net/upload/201711/28/1511832565_766179.png][/img]
各位大神 求助关于ajax的
我前台要做一个查询功能 就是类似百度搜索似得 写一个关键字能出来一系列的关键词,我该怎么去实现呢?最好有代码,我前台用的easyui 后台用的springMvc
Xcode7 报错 求助各位大神
错误信息:rnUndefined symbols for architecture i386:rn "cocos2d::ui::RichElementText::create(int, cocos2d::_ccColor3B const&, unsigned char, char const*, char const*, float)", referenced from:rn CardDetail::SetDetail(int, OpenCardDetailType) in CardDetail.orn GenerationRichFace(std::string const&, cocos2d::ui::RichText*, cocos2d::CCLabelTTF*) in Util.orn GenerationRichText(std::string const&, cocos2d::ui::RichText*, cocos2d::CCLabelTTF*) in Util.orn GuideOverlap::drawGuide(float, float, char const*, cocos2d::CCNode*, int, float, float) in GuideOverlap.orn GuideOverlap::drawGuideNode(float, float, char const*, cocos2d::CCNode*, int, int, bool) in GuideOverlap.orn "cocos2d::ui::RichElementCustomNode::create(int, cocos2d::_ccColor3B const&, unsigned char, cocos2d::CCNode*)", referenced from:rn GenerationRichFace(std::string const&, cocos2d::ui::RichText*, cocos2d::CCLabelTTF*) in Util.orn "cocos2d::ui::Margin::Margin()", referenced from:rn ___cxx_global_var_init4 in ArenaChallengeUI.orn ___cxx_global_var_init4 in XCConnect.orn ___cxx_global_var_init4 in vlong.orn ___cxx_global_var_init4 in GuideGraphicUI.orn ___cxx_global_var_init4 in OptionSoundUI.orn ___cxx_global_var_init4 in DotaModelVictorAwardItem.orn ___cxx_global_var_init4 in ConvoyMainUI.orn ...rn "cocos2d::ui::RichText::pushBackElement(cocos2d::ui::RichElement*)", referenced from:rn CardDetail::SetDetail(int, OpenCardDetailType) in CardDetail.orn GenerationRichFace(std::string const&, cocos2d::ui::RichText*, cocos2d::CCLabelTTF*) in Util.orn GenerationRichText(std::string const&, cocos2d::ui::RichText*, cocos2d::CCLabelTTF*) in Util.orn GuideOverlap::drawGuide(float, float, char const*, cocos2d::CCNode*, int, float, float) in GuideOverlap.orn GuideOverlap::drawGuideNode(float, float, char const*, cocos2d::CCNode*, int, int, bool) in GuideOverlap.orn "cocos2d::ui::RichText::create()", referenced from:rn ChatWorldItemRight::SetWorldRightInfo(int, unsigned char) in ChatWorldItemRight.orn CardDetail::SetDetail(int, OpenCardDetailType) in CardDetail.orn ChatSystemItem::SetSystemInfo(int) in ChatSystemItem.orn IntroduceUI::showIntroduce(char const*) in IntroduceUI.orn ChatWorldItemLeft::SetWorldLeftInfo(int, unsigned char) in ChatWorldItemLeft.orn ChatWorldItemLeft::SetFamilyInfo(int) in ChatWorldItemLeft.orn GuideOverlap::drawGuide(float, float, char const*, cocos2d::CCNode*, int, float, float) in GuideOverlap.orn ...rn "cocos2d::extension::CCArmature::getBoundingBoxByName(char const*)", referenced from:rn SkillAccount::hitTestObject(EntityActor*) in SkillAccount.orn BulletEntityArmature::draw() in BulletEntityArmature.orn "cocos2d::extension::CCArmature::create(char const*)", referenced from:rn DebugButtonUI::gm_01(cocos2d::CCObject*) in DebugButtonUI.orn "cocos2d::extension::CCArmatureEx::create(char const*)", referenced from:rn StoryDialog::onEnter() in StoryDialog.orn BattleEffect::addEffToPlayer() in BattleEffect.orn luaAddNode(lua_State*) in GuideDataSingleton.orn AccountCreatRole::onEnter() in AccountCreatRole.orn BulletEntityArmature::LoadingResource(char const*) in BulletEntityArmature.orn "cocos2d::extension::CCArmatureDataManager::addArmatureFileInfo(char const*, char const*, char const*)", referenced from:rn GameStatePlay::UpdatePreLoadingState(float) in GameStatePlay.orn StoryDialog::onEnter() in StoryDialog.orn BattleEffect::addEffToPlayer() in BattleEffect.orn DebugButtonUI::gm_01(cocos2d::CCObject*) in DebugButtonUI.orn AccountCreatRole::onEnter() in AccountCreatRole.orn BulletEntityArmature::LoadingResource(char const*) in BulletEntityArmature.orn "cocos2d::extension::CCArmatureDataManager::sharedArmatureDataManager()", referenced from:rn GameStatePlay::UpdatePreLoadingState(float) in GameStatePlay.orn StoryDialog::onEnter() in StoryDialog.orn BattleEffect::addEffToPlayer() in BattleEffect.orn DebugButtonUI::gm_01(cocos2d::CCObject*) in DebugButtonUI.orn AccountCreatRole::onEnter() in AccountCreatRole.orn BulletEntityArmature::LoadingResource(char const*) in BulletEntityArmature.orn "cocos2d::ui::Widget::getSize() const", referenced from:rn GuideOverlap::drawGuide(float, float, char const*, cocos2d::CCNode*, int, float, float) in GuideOverlap.orn GuideOverlap::drawGuideNode(float, float, char const*, cocos2d::CCNode*, int, int, bool) in GuideOverlap.orn GuideOverlap::refreshGuideNode() in GuideOverlap.orn "typeinfo for cocos2d::ui::RichText", referenced from:rn GuideOverlap::refreshGuideNode() in GuideOverlap.orn "typeinfo for cocos2d::extension::CCArmatureEx", referenced from:rn UIEntityMovingObject::isHaveSkillPlaying() in UIEntityObject.ornld: symbol(s) not found for architecture i386rnclang: error: linker command failed with exit code 1 (use -v to see invocation)rnrn网上找了好多解决办法都没用,,,求解决思路,,,[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/1.gif][/img]
C#向各位大神求助
现在有一段字符串:“int x=1;int y=2;x=x+y;write(x)”用户在TextBox里面要输入一段这样的字符串代码,怎么用分析字符串的方式把X的结果输出出来。要求是:如果用户在少输入了一个“;”和没有write这个关键字,都要给出提示
vs2008问题 求助各位大神
[img=http://img.my.csdn.net/uploads/201304/17/1366170551_6161.jpg][/img]rnrnoffice2003出毛病之后装了office2010,然后vs2008中js显示就变成这样了(以前不是这样的),现在已将office换成2007,还是这个样子,请问该怎么办?rnrn初次发帖,请多关照~
求助各位大神找错!!!
编译和链接过程都没有错~但是每次遍历链表的时候总是弹出 “XXX.exe 已停止工作” 程序哪里错了么??rn#ifndef AA_Hrn#define AA_Hrntemplate rnclass LinkList;rntemplate rnclass Nodernrn public:rn friend class LinkList;rn private:rn T data;rn Node *next;rn;rntemplate rnclass LinkListrnrn public:rn LinkList();rn LinkList(T a[],int n);rn void insert(int i,T item);rn T del(int i);rn void getAll();rnprivate:rn Node *head;rn;rn#endifrnrnrnrnrn#includern#include"aa.h"rnusing namespace std;rntemplate rnLinkList::LinkList() //有头节点rnrn head=new Node;rn head->next=NULL;rnrntemplate rnLinkList::LinkList(T a[],int n)rnrn Node *rear,*s;int i;rn head=new Node;rn rear=head;rn for(i=0;i;rn s->data=a[i];rn s->next=NULL;rn rear->next=s;rn rear=rear->next;rn rnrnrntemplate rnvoid LinkList::insert(int i,T item)rnrn Node *p=head->next;rn int j=1;rn while(p->next!=head&&jnext;rn j++;rn rn if(p->next==head)rn cout<< *s;rn s=new Node;rn s->data=item;rn s->next=p->next;rn p->next=s;rnrn rnrntemplate rnT LinkList::del(int i)rnrn Node *p=head->next;rn int j=1;rn while(p->next!=head&&jnext;rn j++;rn rn if(p->next==head)rn cout<< *q=p->next;rn T x=q->data;rn p->next=q->next;rn delete q;rn return x;rn rnrntemplate rnvoid LinkList::getAll()rnrn Node *p=head->next;rn while(p!=head)rn rn cout<<>n; rn double *data= new double[n];rn cout<<>data[i];rn LinkList list(data,n);rn cout<<>i;rn switch(i) rn rn case(1):rn rn cout<<>x>>y;rn list.insert(x,y);cout<<>c;rn cout<
php新手求助各位大神!!!!!!!!
这个是我的数据库连接类,要用换红线部分的方法rn[img=https://img-bbs.csdn.net/upload/201308/21/1377061492_262165.jpg][/img]rn这是我的index.php页面,调用了这个类文件,和top部分rn[img=https://img-bbs.csdn.net/upload/201308/21/1377061550_389355.jpg][/img]rn现在问题出在 top.php上面,我用一个函数来生成菜单,但是调用不到query_to_array()这个查询方法了rn自己查资料,用new也不行rn[img=https://img-bbs.csdn.net/upload/201308/21/1377061634_222824.jpg][/img]rn下面是报错的内容rnrn[color=#00FFFF]Warning: Missing argument 1 for MysqlTool::__construct(), called in E:\Project\2013-8\DaHuangFeng\top.php on line 10 and defined in E:\Project\2013-8\DaHuangFeng\inc\connclass.php on line 7[/color]rnrn各位<em>大神</em>帮帮忙啊!!!!!!!rn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/66.gif][/img]
新手求助啊,各位大神!!!!
小弟今年大三,前两年学的不好,本人对android有兴趣,就进了一个老师的团队,现在的任务是写一个视频播放器,刚开始接触,不是很熟悉,就baidu了,然后很多代码都是复制的,但是自己理解,只有界面设计和一部分源代码是自己写的,我想问一下这样学习有用吗,还是说一定要完整理解整个程序,然后自己纯手工打出来,每一条都要自己写???现在很迷茫,请各位前辈能给点建议,让我有点动力,谢啦
sql 查询求助各位大神
现有一个sql 查询<em>求助</em>各位<em>大神</em>rnrn在一个表中有a,b,c,d,e栏rnrn查询条件为:a中第二个字符相同的把d中的数据优先选择小的加大的接近100(不超过100),并输出格式为rnrna,b,c,d,e a,b,c,e, f(d数据相加的和)rnrnrnsql怎么写?谢谢各位了。
各位大神求助 ----关于ColorPicker
Flex自带的颜色选择空间时ColorPicker 但是我现在需要的是一个可以连续变化的颜色选择空间 类似于画图工具中颜色编辑[img=https://img-bbs.csdn.net/upload/201312/19/1387452794_607195.jpg][/img]应该用神马控件啊 ?? 或者应该如何对ColorPicker扩展啊 ?? rn小弟刚接触Flex 求<em>大神</em>相助
各位大神求助,,,谢谢啦
在mvc3中,我定义了一个People类, 有个性别,是bool型rnpublic class Peoplern rn public bool Gender get; set; rn rn //用来处理数据的存取与更新,rn public class PeopleDBContext : DbContextrn rn public DbSet People get; set; rn rn控制器中:rn //GET: /People/rn PeopleDBContext db = new PeopleDBContext();rn public ActionResult Index()rn rn var Peoples = from m in db.Peoplern select m;rn return View(Peoples.ToList());rn rnview中:rn rn 性别rn rn rn 男rn 女 rn rn那么问题来了,我想问的是:现在我想做增删查改功能,其他的都可以了,现在剩下的就是改和增这两个页面的性别还不能做好,就是我点击修改的时候,radio控件会从数据库中读取相应的值,然后显示是选中“男”或者“女”;同样,增加人物信息的时候,如果我选中的是"男",那么我该怎么把对应的值保存到数据库??还有,如果我把数据库中的bool型改为varcha就没问题了,只不过那样做不人性化。谢谢rn我生剩余的分数也不多了,所以分数有点少,但是真的很需要你们的帮助,,
求助各位大神关于Eclipse
我是新手刚学Jave,想在电脑上安装一个Eclipse,<em>求助</em>各位<em>大神</em>怎样下载安装呢?
题挺难,求助各位大神
打靶环数检测rn要求:rn 通过对靶板图像进行识别,完成自动报靶的功能。每两个环之间的距离是已知的,靶心坐标也是已知的,判断出弹孔位置处在多少环。除了对弹孔位置进行识别,而且还要统计出中靶的弹孔个数,以及中靶的平均成绩。原靶板图像和带弹孔靶板图像均为已知图像。rn [img=https://img-bbs.csdn.net/upload/201406/13/1402634846_521691.jpg][/img]rn rn参考步骤:rn(1) 检测出b图中所有弹孔的位置,可采用背景建模的方法,或者霍夫变换。rn(2) 统计出弹孔的个数,可采用连通域分析算法。rn(3) 检测出每个弹孔的圆心,作为鉴别打靶的环数,可采用质心算法rn(4) 计算出弹孔圆心到靶心的距离,以此判断弹孔圆心处于几环的范围内rn(5) 统计所有弹孔环数,计算出平均环数 rn
求助求助!求各位大神帮忙
我是一名大四的学生,马上就要毕业了,我的毕业设计是一个交友网站,刚开始用的数据库是acess,后来老师说不行,就改为sql数据库,结果改了后,好多功能实现不了了。怎么办啊,<em>求助</em>,我的QQ是1245970188
求助求助!!!各位大神帮帮小女子啊!!!
我刚上大二,刚接触C++,[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/54.gif][/img]我们用的课本是清华的教材《C++程序语言设计 第四版》,现在上到第六章“数组、指针与字符串”,那个从动态数组开始以后的内容真心看不懂啊!![img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/54.gif][/img]我想问的是,为啥用new的时候,还是要输入一个确定的值呢,那不就是固定了数组长度了吗,谁能给我讲讲动态创建数组到底是什么含义啊,vector又到底是怎么用啊 我真的不行了。。。。。。思维完全混乱。。。。[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]
求助各位大神,新手求助,网页制作方面
各位<em>大神</em>,本人在校学生,目前在学习网页制作方面的知识,新手求教,好吧长话短说哈~rn我用的是visual studio 2013,系统是win10的,在做网页过程中,想在浏览器预览,但是都无法显示[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/19.gif][/img]rn在浏览器上显示是这样的[img=https://img-bbs.csdn.net/upload/201605/11/1462959150_346035.png][/img]rn百度一下,说要IIS里面的applicationHost.config文件,把里面的改为true,改了一样没有用rn我去下了WebMatrixWeb,安装了也没用[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/19.gif][/img]求指教,求救~~
求助各位大神解决python的问题
从这篇文章获得的安装方法
小弟java题目求助!各位大神帮帮忙。。。
题目:编写Shape类、Rectangle类和Circle类。其中,Shape类是父类,其他两个类是子类。Shape类包含两个属性:x和y,以及一个方法draw();Rectangle类增加了两个属性:长度和宽度;Circle类增加了一个属性:半径。使用一个主方法来测试Shape中的数据和方法可以被子类集成。然后分别在两个子类中重写draw()方法并实现多态。rnrn请帮帮忙!!!谢谢各位!!
求助,各位大神帮忙给看看,谢谢!
单位的电脑想换成新的,vfp3.0开发的结算系统,放到新电脑上安装安装失败,系统提示的意思大概是不能识别大内存(因为不是我操作的,所以不知道具体的提示内容),请教怎么解决啊,谢谢!
求助各位大神,关于SQL语句
我现在接到几道关于SQL的测试题,希望大家能够帮我一下:rnrn数据库:rnrn表一:rn活动ID 月 日 年 具体活动 项目 人员IDrnrn表二:rn收据ID 活动ID 数量rnrn表三:rn人员ID 国家ID 注册日期rnrn现在有一个问题是,注册日期是 1/6/2011之类的格式,但是在表一里面这些格式被分开了rnrn我需要解答的问题:rnrn1. 如何用SQL语句算出某人员第一天注册时一共产生了多少收据?rn2. 如何用SQL语句算出某注册了5年的用户上周产生了多少收据?rn3. 如何用SQL语句去计算各个活动产生收据在收据总量里面所占的百分比?rnrn本人菜鸟一只,正在学SQL,希望各路大仙给一些提示。谢谢!
紧急求助!!!各位大神!!帮我一下吧。
各位大侠:rn 浪费您的时间了,感谢能在百忙之中帮我。rnrn 俺是工控人士,编程菜鸟。rnrn 是这样的,下面的程序里面有一条对角线,黑色的。但是因为用API创建了位图,把对角线的另一半给挡住了,如何让我看到另一半呢。rnrn 用VB环境运行很简单,把代码拷到VB环境里面去,一下就好。rnrn 谢谢各位!帮我一下下吧!rnrnrnrn源程序如下:rnrn 只有两个元件:一个按钮(Command1),一个图片框(Picture1).rnrnrnOption ExplicitrnrnDim lngX As Double 'X的值rnDim L As Long '绘图区域的宽rnDim H As Long '绘图区域的高rnDim lngMemoryDC As Long '内存中绘图的设备场景的句柄rnDim lngBMPHandle As Long '位图的句柄rnDim lngBrushHandle As Long '填充刷子的句柄rnDim hRgn, jilu As Long '填充区域的句柄rnrnrnPrivate Const DC_L = 500 '内存设备场景对图片设备场景的倍数,注意,这个数据太大会导致函数执行失败rnPrivate Const SRCCOPY = &HCC0020rnrnPrivate Type POINTAPIrn X As Longrn Y As LongrnEnd TypernrnrnPrivate Declare Function CreatePen Lib "gdi32" (ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As LongrnPrivate Declare Function Polyline Lib "gdi32 " (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As LongrnPrivate Declare Function CreateCompatibleBitmap Lib "gdi32" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As LongrnPrivate Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) As LongrnPrivate Declare Function SelectObject Lib "gdi32" (ByVal hdc As Long, ByVal hObject As Long) As LongrnPrivate Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As LongrnPrivate Declare Function CreateRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As LongrnPrivate Declare Function FillRgn Lib "gdi32" (ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long) As LongrnPrivate Declare Function CreateSolidBrush Lib "gdi32" (ByVal crColor As Long) As LongrnrnPrivate Sub Command1_Click()rnrn Picture1.Line (0, 0)-(Picture1.ScaleWidth, Picture1.ScaleHeight)rn rn Dim lngP, lngp1 As Longrn rn Dim PTS(6) As POINTAPIrn PTS(0).X = 10: PTS(0).Y = 10rn PTS(1).X = 100: PTS(1).Y = 10rn PTS(2).X = 100: PTS(2).Y = 200rn PTS(3).X = 200: PTS(3).Y = 200rn PTS(4).X = 200: PTS(4).Y = 10rn PTS(5).X = 300: PTS(5).Y = 10rn Dim hPen As Longrn hPen = CreatePen(0, 3, RGB(255, 0, 0))rn SelectObject lngMemoryDC, hPenrn lngP = Polyline(lngMemoryDC, PTS(0), 6)rn rn Dim PTS1(6) As POINTAPIrn PTS1(0).X = 10: PTS1(0).Y = 50rn PTS1(1).X = 80: PTS1(1).Y = 50rn PTS1(2).X = 80: PTS1(2).Y = 250rn PTS1(3).X = 220: PTS1(3).Y = 250rn PTS1(4).X = 220: PTS1(4).Y = 50rn PTS1(5).X = 300: PTS1(5).Y = 50rn Dim hPen1 As Longrn hPen1 = CreatePen(0, 1, RGB(0, 255, 0))rn SelectObject lngMemoryDC, hPen1rn lngp1 = Polyline(lngMemoryDC, PTS1(0), 6)rn rn rn lngP = BitBlt(Picture1.hdc, 0, 0, L, H, lngMemoryDC, 0, 0, SRCCOPY)rn lngp1 = BitBlt(Picture1.hdc, 0, 0, L, H, lngMemoryDC, 0, 0, SRCCOPY)rnEnd SubrnrnPrivate Sub Form_Load()rnrnrn Dim lngP As Longrn L = Picture1.ScaleWidth / 15rn H = Picture1.ScaleHeight / 15rn rn lngMemoryDC = CreateCompatibleDC(Picture1.hdc) '创建一个与窗体相兼容的设备场景rn lngBMPHandle = CreateCompatibleBitmap(Picture1.hdc, 0.5 * L, H) '在内存中创建与窗体同样大小的位图rn SelectObject lngMemoryDC, lngBMPHandle '将位图选入刚才创建的设备场景中rn hRgn = CreateRectRgn(0, 0, 0.5 * L, H) '创建一个与窗体同样大小的矩形区域rn lngBrushHandle = CreateSolidBrush(RGB(255, 255, 255)) '用白色创建一个实色画刷rn lngP = FillRgn(lngMemoryDC, hRgn, lngBrushHandle) '用创建的画刷对该区域进行填充rn rnrn rnEnd Sub
各位大神求助!!关于ActiveX控件的问题!
[img=http://img.my.csdn.net/uploads/201212/12/1355318700_1028.jpg][/img]我在写一个软件用到我自己写的ActiveX控件,刚才写了个新的控件版本,注册后,替换掉原来的.h文件再次运行软件时报告如图错误,并且运行后日志文件也不起作用,好像和新的版本连接不上,但是新开一个工程完全能用新的版本,求指导如何处理我的问题啊!
各位大神---求助关于背景颜色的问题
main,.xmlrnrnrnrnrnrnrncolor.xmlrnrnrn #808080FF rn #FFFFFFFrn rnrn没报错跑起来背景还是没变,这是为什么呢
packstack部署openstack遇到问题,求助各位大神
Applying 192.168.152.169_controller.pprn192.168.152.169_controller.pp: [ ERROR ] rnApplying Puppet manifests [ ERROR ]rnrnERROR : Error appeared during Puppet run: 192.168.152.169_controller.pprnNotice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: AttributeError: 'module' object has no attribute 'INotifyWrapper'rnYou will find full trace in log /var/tmp/packstack/20171017-154123-VToQmv/manifests/192.168.152.169_controller.pp.logrnPlease check log file /var/tmp/packstack/20171017-154123-VToQmv/openstack-setup.log for more informationrnAdditional information:rn * A new answerfile was created in: /root/packstack-answers-20171017-154123.txtrn * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.rn * File /root/keystonerc_admin has been created on OpenStack client host 192.168.152.169. To use the command line tools you need to source the file.rn * To access the OpenStack Dashboard browse to http://192.168.152.169/dashboard .rnPlease, find your login credentials stored in the keystonerc_admin in your home directory.rn[root@localhost ~]# rn
VS2008中缺少引用, 求助各位大神
找不到类型或命名空间名称“WeatherDataClassesDataContext”(是否缺少 using 指令或程序集引用?) rnrnrn程序代码rnusing System;rnusing System.Collections;rnusing System.Configuration;rnusing System.Data;rnusing System.Data.DataSetExtensions;rnusing System.Data.Entity;rnusing System.Data.Linq;rnusing System.Linq;rnusing System.Web;rnusing System.Web.Security;rnusing System.Web.UI;rnusing System.Web.UI.HtmlControls;rnusing System.Web.UI.WebControls;rnusing System.Web.UI.WebControls.WebParts;rnusing System.Xml.Linq;rnrnnamespace _555555rnrn public partial class _Default : System.Web.UI.Pagern rn protected void Page_Load(object sender, EventArgs e)rn rn if (!IsPostBack) rn rn Bind();rn rn rn ///rn /// 数据绑定rn /// rn private void Bind()rn rn // LINQ to SQLrn WeatherDataClassesDataContext ndc = new WeatherDataClassesDataContext();rn var query = from em in ndc.Weather //查询数据rn select newrn rn em.CMD_ID,rn em.Component_ID,rn em.Timestamp,rn em.Average_WindSpeed_10min,rn em.Average_WindDirection_10min,rn em.Max_WindSpeed,rn em.Extreme_WindSpeed,rn em.Standard_WindSpeed,rn em.Air_Temperature,rn em.Humidity,rn em.Air_Pressure,rn em.Precipitation,rn em.Precipitation_Intensity,rn em.Radiation_Intensity,rn em.Alerm_Flagrn ;rn GridView1.DataSource = query;rn GridView1.DataBind();rn rn rn
对话框画图重绘问题,求助各位大神
一个实时监测坐标数据画直线的问题,当窗口最小化,或有东西遮挡时,就发生窗口重绘,我把图画在picture中了,现在需要保存以前的实时画图轨迹,请教各位<em>大神</em>,该怎么办?
求助各位BCB的大神,关于OLE的
有一个朋友的小公司想做个简单的软件,项目开发是在原有的基础上做的,rn有源代码,源代码开发时间比较早,是用BCB 6.0做的,虽然现在6.0已经没多少人用了,但是在原基础上做能够速度快一点,rn现在遇到一个问题:rn源代码读写excel,用OLE,excel是2003的版本,后缀是xls。rn现在我的系统是win7,装的excel 是2007的,后缀是xlsx,rn运行程序时,提醒不能打开excel,rn源代码是:rn if(IsOutputExcel==true)rn rn Path = ExcelReportFolder + "\\" + ReportName + ".xls";rnrn tryrn rn CoInitialize(0);rn ex=CreateOleObject("Excel.Application");rn rn catch(...)rn rn MessageBox(GetFocus(),"Can not run Excel","Attention",MB_OK);rn return;rn rnrn //set sheet to invisiblern ex.OlePropertySet("Visible",false);rn。。。。rnrn报错Can not run Excel,求<em>大神</em>帮忙解答下,感谢!
gnu arm链接的问题,求助各位大神
这两天研究arm裸板程序,自己写了一个重定位程序,半天跑不通,最后终于解决了,但是这个问题总觉得莫名其妙,没有搞清楚为什么,所以请教下各位<em>大神</em>。rnrn各位听我慢慢道来,先看代码关键部分:rnrncopy:rnldr r0, =_startrnadr r1, _startrnldr r3, =code_endrncopy_loop:rnldr r4, [r1], #4rnstr r4, [r0], #4rncmp r0, r3rnbne copy_looprnldr pc, =led_shinernrn上述代码中“code_end”是从链接脚本中引入的,如下:rnrnlink.lds(全):rnrnSECTIONSrnrn . = 0xD0024000;rnrn .text : rn start.ornrn rn code_end = .;rnrnrnrn链接出来后运行一直不成功,不知道怎么回事,所以我将最终生成的.bin反汇编发现如下问题rnrnd0024060 : rnd0024060: e59f0044 ldr r0, [pc, #68] ; d00240ac rnd0024064: e24f106c sub r1, pc, #108 ; 0x6c rnd0024068: e59f3044 ldr r3, [pc, #68] ; d00240b4 rnd002406c : rnd002406c: e4914004 ldr r4, [r1], #4 rnd0024070: e4804004 str r4, [r0], #4 rnd0024074: e1500003 cmp r0, r3 rnd0024078: 1afffffb bne d002406c rnd002407c: e59ff034 ldr pc, [pc, #52] ; d00240b8 rnrnrnrn注意上面rnrnd0024068: e59f3044 ldr r3, [pc, #68] ; d00240b4rnrn这句,就是对应的ldr r3, =code_endrnrnrncode_end指向的地址保存在d00240b4,再看后面rnrnrnd00240b0: e0200244 eor r0, r0, r4, asr #4 rnd00240b4: d00240e2 andle r4, r2, r2, ror #1 rnd00240b8: d002403c andle r4, r2, ip, lsr r0rnrnrnrncode_end指向的地址是d00240e2,居然是非4字节对齐的位置。我判断的是cmp r0, r3 bne copy_loop,是判断r0, r3是否相等。所以每次str r4, [r0], #4过后,r0加4,是不可能等于r3的(r3的值是d00240e2,因为四字节对齐,所以r0在这个值附近只会等于d00240e0, 或者d00240e4),这样就加过了,程序就跑飞了rnrn我最后在ldr r3, =code_end后面加了一句add r3, r3, #2然后就跑通了rnrn虽然问题解决了,但是我实在想不通这是为什么。rnrn完全搞不懂为什么链接出来是这个样子,难道链接的时候所有的东西不是按4字节对齐的?rn麻烦各位<em>大神</em>指导!
求助,请各位大神请解答?
如何在一个U盘放win10和ubuntu两个iso解压后的文件?都放根目录肯定很混乱啊,如果新建一个文件夹A放另一个系统解压后的文件,那么根目录下那个系统在装系统时会使用这个文件夹A吗?装系统时,是怎么判断哪些文件夹应该被导入,哪些不应该?如果我把本应该导入的文件夹B改为文件夹C,C还会被导入吗?如果是依据名字判断的话,那文件夹A的名字万一正好被导入会发生什么情况???
求助各位大神安卓开发工具包的安装。
各位<em>大神</em>,小弟在装安卓开发工具时。安卓的官网被和谐了。。。无法装。找了翻墙软件都不可以用。求教各位<em>大神</em>。有什么办法可以翻出去的吗?或者不翻就可以装的。。。。谢谢各位<em>大神</em>了!
线索二叉树 运行时程序错误求助各位大神
#includern#includern#includernrntypedef enumLink,Thread PointerTag;rnrn struct BiThrNodernrn char data;rn struct BiThrNode *lchild;rn struct BiThrNode *rchild;rn PointerTag LTag;rn PointerTag RTag;rn;rnrnvoid CreateBiThrNode(struct BiThrNode * T)rnrn T=(struct BiThrNode *)malloc(sizeof(struct BiThrNode));rn char ch;rn scanf("%c",&ch);rn if(ch == '#')rn T = NULL;rn elsern rn if(T)rn T->data = ch;rn CreateBiThrNode(T->lchild);rn if(T->lchild)rn T->LTag = Link;rn CreateBiThrNode(T->rchild);rn if(T->rchild)rn T->RTag = Link;rn rnrnrnstruct BiThrNode *pre;rnrnvoid InThreading(struct BiThrNode *T)rnrn if(T)rn rn InThreading(T->lchild);rn if(!T->lchild)rn rn T->LTag = Thread;rn T->lchild = pre;rn rn if(!T->rchild)rn rn T->LTag = Thread;rn pre->rchild = T;rn rn pre = T;rn InThreading(T->rchild);rn rnrnrnvoid InOrderThreading(struct BiThrNode * Thrt,struct BiThrNode * T)rnrn if(!(Thrt=(struct BiThrNode *)malloc(sizeof(struct BiThrNode))))rn exit(-1);rn Thrt->LTag = Link;rn Thrt->LTag = Thread;rn Thrt->rchild = Thrt;rn if(!T)rn Thrt->lchild = Thrt;rn elsern rn Thrt->lchild = T;rn pre = Thrt;rn InThreading(T);rn pre->rchild = Thrt;rn pre->RTag = Thread;rn Thrt->rchild = pre;rn rnrnrnrnvoid InOrderTraverse_Thr(struct BiThrNode *T)rnrn struct BiThrNode *p;rn p = T->lchild;rn while(p != T)rn rn while(p->LTag == Link)rn p = p->lchild;rn printf("%c",p->data);rn while(p->RTag==Thread && p->rchild!=T)rn rn p->rchild;rn printf("%c",p->data);rn rn p = p->rchild;rn rnrnrnint main(void)rnrn struct BiThrNode * T=NULL,*Thrt=NULL;rn CreateBiThrNode(T);rn InOrderThreading(Thrt,T);rn InOrderTraverse_Thr(T);rn return 0;rnrn输入例如abdh##i##e##cf##g## 程序运行错误
PB菜鸟求助!各位大神帮帮忙!
我在非可视化窗口定义了一个函数,在w_main里调用时提示找不到该函数,我在网上查好像是说可以手动实例化,但是我不知道怎么写代码,在哪里写!各位帮写一下好么?
求助各位大神,我是小白
假设有4个任务,优先级分别为6、10、11、17,结合优先级位图算法中就绪任务算法,给出优先级位图算法的具体实现过程以及优先级就绪组,优先级就绪表的最终结果 。
求助,各位大神帮帮小弟吧
我写了个asp网页,代码如下,为啥运行之后啥也不显示呢???rn
求助各位大神,ThinkPHP ~runtime.php报错,怎么办?
错误提示:Fatal error: Cannot redeclare class Think in E:\wwwroot\feifeicms\Runtime\~runtime.php on line 2rnrn过程:我用飞飞影视系统feifeiCMS建的一个电影站,最近突然出现这个错误提示。这个提示不定期的出现,没有任何规律。但是只要出现了,所有页面都停了。但是同服务器的其他网站什么问题都没有。临时解决办法就是重启IIS。rnrn<em>求助</em>:各位<em>大神</em>们帮我分析下是什么原因吧,多谢啦!!!
关于Qt打印~求助~各位大神行行好~
大家好,小弟最近在用Qt做一个管理系统,其他的部分经过小弟千辛万苦终于磕磕绊绊,糊里糊涂地做出来了,就剩下一个打印模块了.系统是连接数据库的,要求把数据库中的数据以表格形式直接打印出来,而且打印的页面上面要写几行文字,中间是那个表格,最后还有落款.rn因为是初学Qt,没什么头绪,查了一些资料,学着写了写代码,诸<em>大神</em>请过目:rn[code=C/C++]rnQPrinter printer(QPrinter::ScreenResolution);rn QPrintDialog *dialog=new QPrintDialog(&printer,this); //打印对话框rn dialog->setWindowTitle(tr("快速打印"));rn if( dialog->exec() )rn rn QString html; rn QPainter painter(&printer); //@@@rn /*设置头部*/rn QTextDocument textdocument;rn html=tr(" \n \n \n"rn " *********************************\n"rn " ************************\n"rn " ***********************\n\n"); rn textdocument.setHtml(html); //用html语言设置页面rn textdocument.print(&printer); //打印rn @@@rn[/code]rn上面只写了页面的上部,******表示文字rn我的问题是:1.看资料,可以通过HTML+QTextDocument实现打印页面设置,上面的方法和代码对吗?rn2.因为硬件条件不够,暂时没有打印机,无法验证,想问问上面的代码能实现打印吗?每次到选择打印设备时,为了让代码继续运行,我只能选择一个默认的Microsoft XPS Document Writer的东西,之后系统就会在@@@位置弹出另存为.xps的对话框,请问那个东西是什么,是我的代码有问题还是只是没选打印机的缘故.rn3.如何实现打印预览?rn本人邮箱ff007bit@163.com,有源代码希望可以发一份,供我参考.
各位大神我又来求助了,双缓冲的方面
关于双缓冲绘图的怎么应用啊???rn我百度了半天,也仿照着写了一下,发现没有啊,谁能教一下我???rn最好给点能真的实现的例子给我看看[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/3.gif][/img]rn好人一生平安啊哈哈哈
再次求助,各位大神们,救救我
怎么样才能读取xml文件并在tree中显示呢?rn现在有一个像这样的一个xml文件[code=text]rnrn 属性Arn rn 属性Arn 属性Brn rn 属性crn rn 属性drn rn 属性ernrn rn 属性frnrn rn rnrn rn rn 属性Crn rn rn[/code]rn读取的话我已经用dom4j读取了就是怎么动态的放到tree中呢?各位<em>大神</em>们帮助呀。也就是怎么生成像图中那样的树状图呢?[img=https://img-bbs.csdn.net/upload/201406/24/1403607119_408394.jpg][/img]rnrn分嫌少的话我可以再加。
杭电2019.求助各位大神。不知所错
题目描述如下:rnProblem Descriptionrn有n(n=k;i--)rn a[i+1]=a[i];rn a[k]=t; rn for(i=0;i
疑难问题,求助各位大神,望不吝赐教!
有如下数据:rn观测站编号 观测站名称 行驶方向 观测日期 小时 分钟 当量rnG25L372130208 丰润收费站 上行 2016/8/3 16 30 71rnG25L372130208 丰润收费站 上行 2016/8/3 17 0 103rnG25L372130208 丰润收费站 上行 2016/8/3 17 55 99.5rnG25L372130208 丰润收费站 上行 2016/8/3 18 25 109.5rnG25L372130208 丰润收费站 上行 2016/8/3 19 30 70rnG25L372130208 丰润收费站 上行 2016/8/3 19 50 84.5rnG25L372130208 丰润收费站 上行 2016/8/3 20 20 65rnG25L372130208 丰润收费站 上行 2016/8/3 20 55 79.5rnG25L372130208 丰润收费站 上行 2016/8/3 21 25 92rnG25L372130208 丰润收费站 上行 2016/8/3 22 50 50.5rnG25L372130208 丰润收费站 上行 2016/8/3 23 20 37.5rnG25L372130208 丰润收费站 上行 2016/8/3 23 55 44.5rnG25L372130208 丰润收费站 上行 2016/8/3 24 25 34rnG25L372130208 丰润收费站 上行 2016/8/3 24 45 25rnG25L372130208 丰润收费站 上行 2016/8/4 1 15 20.5rnG25L372130208 丰润收费站 上行 2016/8/4 2 5 27.5rnG25L372130208 丰润收费站 上行 2016/8/4 2 40 29rnG25L372130208 丰润收费站 上行 2016/8/4 3 10 49.5rnG25L372130208 丰润收费站 上行 2016/8/4 3 45 48rnG25L372130208 丰润收费站 上行 2016/8/4 4 35 49rnG25L372130208 丰润收费站 上行 2016/8/4 5 5 69rnG25L372130208 丰润收费站 上行 2016/8/4 5 40 44.5rnG25L372130208 丰润收费站 上行 2016/8/4 6 10 70.5rnG25L372130208 丰润收费站 上行 2016/8/4 7 0 90rnG25L372130208 丰润收费站 上行 2016/8/4 7 35 85rnG25L372130208 丰润收费站 上行 2016/8/4 8 5 86rnG25L372130208 丰润收费站 上行 2016/8/4 8 40 138.5rnG25L372130208 丰润收费站 上行 2016/8/4 9 30 109rnG25L372130208 丰润收费站 上行 2016/8/4 10 0 101rnG25L372130208 丰润收费站 上行 2016/8/4 10 35 87rnG25L372130208 丰润收费站 上行 2016/8/4 11 5 58rnG25L372130208 丰润收费站 上行 2016/8/4 12 30 59rnG25L372130208 丰润收费站 上行 2016/8/4 13 0 48rnG25L372130208 丰润收费站 上行 2016/8/4 13 35 81rnG25L372130208 丰润收费站 上行 2016/8/4 13 55 74rnG25L372130208 丰润收费站 上行 2016/8/4 14 25 76.5rnG25L372130208 丰润收费站 上行 2016/8/4 15 30 73rnG25L372130208 丰润收费站 上行 2016/8/4 16 0 104.5rnG25L372130208 丰润收费站 上行 2016/8/4 16 55 117.5rnG25L372130208 丰润收费站 上行 2016/8/4 17 25 105rnG25L372130208 丰润收费站 上行 2016/8/4 18 30 96.5rnG25L372130208 丰润收费站 上行 2016/8/4 18 50 97.5rnG25L372130208 丰润收费站 上行 2016/8/4 19 20 71.5rnG25L372130208 丰润收费站 上行 2016/8/4 19 55 83.5rnG25L372130208 丰润收费站 上行 2016/8/4 20 25 66rnG25L372130208 丰润收费站 上行 2016/8/4 21 50 50rnG25L372130208 丰润收费站 上行 2016/8/4 22 20 70rnG25L372130208 丰润收费站 上行 2016/8/4 22 55 35rnG25L372130208 丰润收费站 上行 2016/8/4 23 25 38.5rnG25L372130208 丰润收费站 上行 2016/8/4 23 45 21.5rnG25L372130208 丰润收费站 上行 2016/8/4 24 15 39rnG25L372130208 丰润收费站 上行 2016/8/4 24 50 65.5rnG25L372130208 丰润收费站 上行 2016/8/5 1 5 23rnG25L372130208 丰润收费站 上行 2016/8/5 1 40 29.5rnG25L372130208 丰润收费站 上行 2016/8/5 2 10 18rnG25L372130208 丰润收费站 上行 2016/8/5 2 45 17.5rnG25L372130208 丰润收费站 上行 2016/8/5 3 35 27.5rnG25L372130208 丰润收费站 上行 2016/8/5 4 5 10rnG25L372130208 丰润收费站 上行 2016/8/5 4 40 35rn有如下要求:采用t 时段之前n(n=12)个数据的平均值q平均、方差σ来识别此类数据。rn当(q平均-2σ≤ Q ≤q平均+2σ)时,认为当量数据是正常的,否则认为数据为异常数据。rnσ这样求解,[img=https://img-bbs.csdn.net/upload/201801/25/1516845243_517632.png][/img]rn<em>大神</em>之前帮了很多,可是自己按照<em>大神</em>的改编,得出的结果却是错误的,不得已还得<em>求助</em><em>大神</em>啊,rn
各位大神求助!mybatis项目启动时报错!
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'generalDaoImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mybatis.spring.SqlSessionTemplate com.word4one.hotel.dao.GeneralDaoImpl.sqlSessionTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1120)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mybatis.spring.SqlSessionTemplate com.word4one.hotel.dao.GeneralDaoImpl.sqlSessionTemplate; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:514)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)rn ... 26 morernCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionTemplate' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)rn at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)rn at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:629)rn at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1049)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultLisrntableBeanFactory.java:891)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:834)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:749)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486)rn ... 28 morernCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: ServletContext resource [/WEB-INF/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/word4one/hotel/mapper/hotelQRCode.xmlrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn[img=https://img-bbs.csdn.net/upload/201607/04/1467646639_656273.png][/img]rnrnrn
求助各位大神。是关于图片浏览器的问题
这是我在网上找的一个图片浏览器的代码rnrnrnrnrnrnrnrnrn rn |JsCode.CN|rn rn rnrnrn
求助各位大神帮忙解决 C#
![图片说明](https://img-ask.csdn.net/upload/201711/16/1510836630_320102.png)n代码如下:nusing System;nusing System.Collections.Generic;nusing System.ComponentModel;nusing System.Data;nusing System.Drawing;nusing System.Linq;nusing System.Text;nusing System.Threading.Tasks;nusing System.Windows.Forms;nusing System.Data.SqlClient;nnnnamespace WindowsFormsApplication1nn public partial class Form1 : Formn n public Form1()n n InitializeComponent();n nn private void button1_Click(object sender, EventArgs e)n n string con;n con = "Server=.;Database=db;Trusted_Connection=SSPI";n SqlConnection mycon = new SqlConnection(con);n mycon.Open();n string sql = "Select username from Login where username='" + textBox1.Text.Trim() + "'and userpws='" + textBox2.Text.Trim() + "'";n SqlCommand cmd = new SqlCommand("sql", mycon);n cmd.CommandType = CommandType.Text;n mycon.CommandText = sql;
各位大神求助下面的函数什么意思。。。。。
下面的简单代码是求全路径的。但有一个函数不明白,在百度等搜索网站也没有找到这个函数的踪影。相信在这里应该有高手rn帮忙。。。。rn问题是这个函数 csFullPath()是怎么实现的,怎么个原理。。。rnCString CWorkModleApp::GetExePath()rn// 获得应用程序的路径rn CHAR pFileName[256];rn ::GetModuleFileName( NULL, pFileName, 255 );//得到绝对路径rn CString csFullPath(pFileName);rn int iPos = csFullPath.ReverseFind( _T('\\') );rn if(iPos < 0 )rn rn return CString("");rn rn else rn rn return csFullPath.Left( iPos + 1);rn rn
求助各位大神!! 网站的路径问题
公司有一个网站, www.abc.com, 是iis搭建的.net服务器rn上传了一个静态的网页目录到服务器, 放在服务器根目录下, 目录名字是bbbrn把公司的域名s.abc.com指向bbb目录的index.htmlrnCSS样式和图片就看不到了, rn比如原来的图片路径rn在本地测试还行, 放到服务器之后, 必须改成 才能访问rn所以里面的html全部都要改了, 无语啊, 各位<em>大神</em>有解决方法吗?rn
紧急求助各位大神一个问题!!
在调试JM C工程,想知道一个变量值得变化,于是在原工程一个函数中加入了如下代码,rnrn int i;rn Slice *currSlice = currMB->p_Slice; rn int i_last = currSlice->idr_flag? 1:cs->no_part; //partArr[0];rnrn其中两个注释test中间的部分为新加入的,加入之后出现以下错误rn1>e:\klj\38project\jm18.6\lencod\src\rdopt_coding_state.c(177): error C2275: “DataPartition”: 将此类型用作表达式非法rn1> e:\klj\38project\jm18.6\lencod\inc\global.h(509) : 参见“DataPartition”的声明rn1>e:\klj\38project\jm18.6\lencod\src\rdopt_coding_state.c(177): error C2065: “partArr”: 未声明的标识符rn1>e:\klj\38project\jm18.6\lencod\src\rdopt_coding_state.c(183): error C2065: “partArr”: 未声明的标识符rn1>e:\klj\38project\jm18.6\lencod\src\rdopt_coding_state.c(183): error C2223: “->bitstream”的左侧必须指向结构/联合rn1>e:\klj\38project\jm18.6\lencod\src\rdopt_coding_state.c(184): error C2065: “partArr”: 未声明的标识符rn1>e:\klj\38project\jm18.6\lencod\src\rdopt_coding_state.c(184): error C2223: “->ee_cabac”的左侧必须指向结构/联合rnrn求教各位<em>大神</em>这是什么情况啊!!不了解啊!!
求助各位大神,这个错误是什么原因
org.apache.jasper.JasperException: Could not create Hibernate transaction; nested exception is net.sf.hibernate.JDBCException: Cannot open connection。rnrnrnrn这个项目是别人做的,我拿来跑都跑不起,数据库什么的都已经附加好了 用的是sqlserver tcpic 协议也启动的 还是报这个错误 rn下面放下配置文件 求看看有错没rn这是链接数据库的配置文件rn[code=text]# Applied by PropertyPlaceholderConfigurer from "applicationContext-hibernate.xml".rnjdbc.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriverrnjdbc.url=jdbc:sqlserver://127.0.0.1:1433; databaseName=BTrnjdbc.username=sarnjdbc.password=sarnrnrndatasource.initialSize=5rndatasource.logAbandoned=truerndatasource.maxIdle=10rndatasource.maxActive=100rndatasource.maxWait=1000rndatasource.removeAbandoned=truerndatasource.minIdle=5rndatasource.removeAbandonedTimeout=100rn[/code]rnrnrnrnrnapplicationContext-dao.xml :rnrn[code=text]rnrnrnrnrn rn rn rn /WEB-INF/classes/jdbc.propertiesrn rn rn rn rn rn rn rn $jdbc.driverClassNamern $jdbc.urlrn $jdbc.usernamern $jdbc.passwordrn rn $datasource.initialSizern $datasource.logAbandonedrn $datasource.maxIdlern $datasource.maxActivern $datasource.maxWaitrn $datasource.removeAbandonedrn $datasource.minIdlern $datasource.removeAbandonedTimeoutrn rn rn rn rn rnrn rn rn rn /WEB-INF/classes/ibatis-config.xmlrn rn rn rn rn rn rn rn rn org.hibernate.dialect.SQLServerDialectrn rn truern 3rn 30rn 500rn truern net.sf.ehcache.hibernate.Providerrn rn rn rnrn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rnrnrn[/code]rnrnrn
新手求助,各位大神,麻烦进来看看
点击“发送短信”按钮后,js弹出选中班级的学生人数rnRepeater绑定的是班级表rn[img=https://img-bbs.csdn.net/upload/201501/29/1422502974_513208.jpg][/img]
求助各位大神如何卸载MySQL!
真好,心血来潮换了一个w10,下载了mysql,结果发现安装后初始密码无效,有心卸掉重装,发现删不掉……rn控制面板里没有,360里也没有,所以<em>求助</em>各位<em>大神</em>,到底该怎么给他卸掉……rnPS:刚刚官网下的,应该是最新版吧,我只是个自学的小菜鸟,实在搞不懂这玩意儿……
各位大神,小弟初学c++,求助一下
[img=https://img-bbs.csdn.net/upload/201803/19/1521449315_497963.png][/img]rn#includernusing namespace std;rnint main()rnrn int a;rn cout<<
各位大神求助一个sharepiont的问题
我用sharepoint design 打开了一个网站,然后一不小心在里面删了一些文件夹,导致网站上现在缺少很多东西,请问还能恢复吗,谢谢,不胜感激
求助各位大神,C#与SAP对接问题!
通过NCO调用RFC接口时,报错,麻烦各位能帮忙看看是哪里的问题吗?谢谢了!rnrn异常信息:rnrnSAP.Middleware.Connector.RfcCommunicationException: rnLOCATION CPIC (TCP/IP) on local host with UnicodernERROR internal errorrnTIME Thu Feb 04 03:06:48 2016rnRELEASE 720rnCOMPONENT NI (network interface)rnVERSION 40rnRC -1rnMODULE nixxi.cpprnLINE 2897rnDETAIL NiIConnectSocketrnSYSTEM CALL connectrnERRNO 10055rnERRNO TEXT WSAENOBUFS: No buffer space availablernCOUNTER 2516rnrn<em>求助</em>各位<em>大神</em>了!
求助各位大神:C#打印文件换行问题
int CurrentLine = 0;rn int TotalLinesPerPage = 0;rn int LineLength = 0;rn private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)rn rn Brush b = Brushes.Black;rn Font f = fontDialog1.Font;rn TotalLinesPerPage = (int)(e.MarginBounds.Height / f.Height);rn rn for (int i = 0; i < TotalLinesPerPage && CurrentLine < sf.Length; i++, CurrentLine++)rn rn string s="";rn LineLength = (int)e.Graphics.MeasureString(sf[CurrentLine], f).Width;//获取当前行的长度rn for (int n = 0; n e.MarginBounds.X)rn rnrn s += sf[CurrentLine].Substring(n * e.MarginBounds.X, e.MarginBounds.X) + Environment.NewLine;//运行是这句报错:"索引和长度必须引用该字符串内的位置。\r\n参数名: length"rn e.Graphics.DrawString(s, f, b, e.MarginBounds.X, e.MarginBounds.Y + i * f.Height);rn CurrentLine++;rn //判断当前行长度是否超多内页宽度,若超出则另取一行rnrn elsern rn s += sf[CurrentLine].Substring(n * e.MarginBounds.X);rn rn rn rn rn rn rn rnrn if (CurrentLine == sf.Length)rn e.HasMorePages = false;rn elsern e.HasMorePages = true;rn rn求解如何修改使程序实现打印文档自动换行。。。
求助,急求各位大神帮忙啊
我的程序一直进入debug模式,连着手机的时候,程序可以从debug模式进到应用里。但是手机一断开,再用手机打开这个程序,就一直停在进入debug模式那个框了,<em>求助</em>啊各位。
急急急急急急,求助各位南来北往的大神
,vs2008登录签名提示指定了无效的提供程序,是什么错误,百度了半天都说装系统,但是电脑东西太多了。。而且那个office的vbn创建新证书也试过了还是不行,咋整啊!!!!!
pb 彩色菜单 menu powerbuild9下载
pb 彩色菜单 menu powerbuild9 运行效果图 http://hi.csdn.net/attachment/201102/17/0_1297901373A8zH.gif 相关下载链接:[url=//download.csdn.net/download/newease/3025774?utm_source=bbsseo]//download.csdn.net/download/newease/3025774?utm_source=bbsseo[/url]
ICCatmega8例程下载
包含所有atmega8的内部资源应用 开发环境icc 相关下载链接:[url=//download.csdn.net/download/lovewpaeng/3979529?utm_source=bbsseo]//download.csdn.net/download/lovewpaeng/3979529?utm_source=bbsseo[/url]
ghostmail 5.1下载
匿名发邮件 上面兩個檔案下載下來後解壓縮在同一個資料夾裡 如果想要變成繁体中文的介面就點選 cgm51.exe 就可以了 相关下载链接:[url=//download.csdn.net/download/jiangpub/5693397?utm_source=bbsseo]//download.csdn.net/download/jiangpub/5693397?utm_source=bbsseo[/url]
相关热词 c# 去空格去转义符 c#用户登录窗体代码 c# 流 c# linux 可视化 c# mvc 返回图片 c# 像素空间 c# 日期 最后一天 c#字典序排序 c# 截屏取色 c#中的哪些属于托管机制
我们是很有底线的