自定义标签有关的错误,求大神帮忙解决 [问题点数:40分,结帖人love1390700626]

Bbs1
本版专家分:35
结帖率 80%
Bbs6
本版专家分:7625
Blank
黄花 2016年5月 Java大版内专家分月排行榜第二
Blank
蓝花 2016年11月 Java大版内专家分月排行榜第三
2016年6月 Java大版内专家分月排行榜第三
2016年4月 Java大版内专家分月排行榜第三
Bbs1
本版专家分:35
Bbs1
本版专家分:20
Bbs1
本版专家分:35
大神帮忙 诡异错误
我用keil编程 在proteus上仿真 一个串口的小程序 有个按键接到外部中断0 代码如下:rn#include rnrntypedef unsigned char uchar;rntypedef unsigned int uint;rnrn //数据输入按键rnrnbit start ; //编码开始标志rnrnrn/******INT0初始化函数******/rnvoid init_int0()rnrn EX0 = 1; //允许外部中断0rn IT0 = 1; //INT0低电平触发rn EA = 1; //允许总中断rnrnvoid delay1ms()rnrn uchar i,j;rn for(i=0;i0; j--);rnrnrnrn/******初始化串口******/rnvoid init_serial()rnrn SCON = 0x50; //SCON: serail mode 1, 8-bit UART, enable ucvrrn TMOD = (TMOD & 0x0f) | 0x20;rn PCON |= 0x80;rn TH1 = 0xFA; //Baud:9600 fosc=11.0592MHzrn TL1 = TH1;rnrn IE |= 0x90; //Enable Serial Interruptrn TR1 = 1; //timer 1 runrn rnrnrnvoid send_char(uchar ch) //向串口发送一个字符rnrn SBUF = ch;rn while(0 == TI);rn TI = 0;rnrnrnvoid send_string(uchar *str) rnrn while(*str)rn send_char(*str++);rn rnrnrn/******编码程序******/rnvoid encode()rn rn send_char(49);rn send_char(49);rn rnrn/******INT0中断服务程序******/rnvoid int0_isr() interrupt 0rn rn EX0 = 0;delay1ms(); delay1ms(); delay1ms();rn send_char(48);send_string("hello");rn delay1ms();delay1ms(); delay1ms(); start = 1;rnrnvoid main()rnrn init_serial();rn init_int0(); //初始化外部中断0rn while(1)rn if(1 == start)rn start = 0;rn rn EX0 = 1;rn rn rn rn rnrn但是如果我在rnif(1 == start)rn start = 0;rn rn EX0 = 1;rn rn rn中括号里加一句send_char(48);或者send_string("hello");按按键串口就只输出一次 再按没反应不输出了 而且send_string("hello");还会乱码 但是不加 程序运行完全正确
大神帮忙解决异常问题
ERROR: HHH000319: Could not get database metadatarnorg.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))rn at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)rn at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)rn at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)rn at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)rn at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)rn at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:509)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:242)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1545)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483)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 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:589)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:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)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:1113)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask$Sync.innerRun(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)rn
算法设计 求大神 帮忙解决
设给出了如下字母表及其相应的频率,试作出其Huffman树和相应的字母的编码:rnrn字母 a b c d e f g rn频数 12 2 4 7 23 14 9 rnrn
系统问题求大神帮忙解决
windows系统,执行cmd命令窗口闪一下就关闭rn网上有人说执行regedit命令 但是我在执行这个命令的时候也自动关闭了,根本来不及看注册表信息。rn各种方法都试过了,求<em>大神</em><em>帮忙</em><em>解决</em>。
大神帮忙解决一下
[img=https://img-bbs.csdn.net/upload/201408/28/1409228843_418446.png][/img]rn请问这个是什么原因出现的提示:如何让它取消掉?求<em>大神</em><em>解决</em>,
大神帮忙解决 SQL
表SC 有字段S#学生ID,Sname 学生姓名,C#学科,Score 分数 取各科成绩排前2的学生信息rn这个该怎么写?rn假设表数据如下rn[img=https://img-bbs.csdn.net/upload/201403/12/1394597616_649990.png][/img]rnrn需要得到如下结果[img=https://img-bbs.csdn.net/upload/201403/12/1394597862_173446.png][/img]
语句错误大神解决
Select * From (Select RowNum As RN,tmptable.* From (Select * From employee Where 1=1 and (Memo is null or Memo='') Order by NAME) tmptable Where RowNum=1;rn有什么问题呢??rn报<em>错误</em> rnEvery derived table must have its own aliasrn该怎么修改呢?
ORA-00933 错误,求大神解决
select rn '$unitCode' as unit_code,rn a.patient_id ||'|'|| a.visit_id ||'|'|| a.item_no as pk,rn a.patient_id ||'|'|| a.visit_id as fk,rn a.patient_id as patient_id,rn a.visit_id as visit_id,rn a.item_no as item_no,rn a.item_class as item_class,rn a.item_name as item_name,rn a.item_code as item_code,rn a.item_spec as item_spec,rn a.amount as amount,rn a.units as units,rn a.ordered_by as ordered_by,rn a.performed_by as performed_by,rn b.doctor as doctor,rn a.costs as costs,rn a.charges as charges,rn a.billing_date_time as billing_date_timern from (select * from inp_bill_detail where patient_id='01165615' and visit_id='1') a left join rn (select rn t.ordering_dept,rn t.doctor from rn (select row_number() over(partition by o.ordering_dept order by count(*) desc) rk,rn o.ordering_dept,rn o.doctor,rn count(*) as order_rowsrn from orders o where o.patient_id = '01165615' and o.visit_id = '1' group by o.ordering_dept,o.doctor) t where t.rk = 1) brn on a.ordered_by=b.ordering_dept;rnrnrn小弟工作写了段这样的SQL,但是报错00933,我研究了半天,真心发现不了<em>错误</em>,求<em>大神</em><em>帮忙</em>
大神帮忙 有关java.io.IOException: Invalid Http response怎么解决
费学习光盘rn 积分商城rnrn 帖子 rnpackage socket;rn//这是服务端的代码rnimport java.io.BufferedReader;rnimport java.io.IOException;rnimport java.io.InputStream;rnimport java.io.InputStreamReader;rnimport java.io.OutputStream;rnimport java.io.OutputStreamWriter;rnimport java.io.PrintWriter;rnimport java.net.ServerSocket;rnimport java.net.Socket;rnrnpublic class Server implements Runnablern Socket socket;rn rn public Server(Socket socket) rn this.socket = socket;rn rn rn @Overridern public void run() rn System.out.println(socket.getInetAddress());rn try rn InputStream inputStream=socket.getInputStream();rn byte buf[]=new byte[1024];rn int length=0;rn length=inputStream.read(buf);rn rn System.out.println(new String(buf,0,length));rn rn rn rn OutputStream outputStream=socket.getOutputStream();rn PrintWriter printWriter=new PrintWriter(outputStream);rn printWriter.println("你好");rn printWriter.flush();rn socket.shutdownInput();rn rn System.out.println("发送数据成功");rn catch (IOException e) rn e.printStackTrace();rn rn rn public static void main(String[] args) throws Exception rn ServerSocket serverSocket=new ServerSocket(9090);rn while(true) rn rn Socket socket=serverSocket.accept();rn Thread t=new Thread(new Server(socket));rn t.start();rn rn rnrnrnrn通过浏览器访问服务端,可以正常访问,不过运行的下面客户端的代码就抛出rnjava.io.IOException: Invalid Http responsern at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)rn at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)rn at socket.Client.main(Client.java:17)rnrnrnrnrn//这是客户端的代码rnpackage socket;rnrnimport java.io.IOException;rnimport java.io.InputStream;rnimport java.io.OutputStream;rnimport java.io.PrintWriter;rnimport java.net.MalformedURLException;rnimport java.net.URL;rnimport java.net.URLConnection;rnrnrnpublic class Client rn public static void main(String[] args) rn try rn URL url=new URL("http://192.168.0.105:9090/");rn URLConnection h =url.openConnection();rn InputStream inputStream=h.getInputStream();rn byte[] buf=new byte[1024];rn int length=0;rn length=inputStream.read(buf);rn System.out.println(new String(buf,0,length));rn rn catch (MalformedURLException e) rn e.printStackTrace();rn catch (IOException e) rn e.printStackTrace();rn rnrn rnrn
大神帮忙解决一下有关web像素问题
今天老师讲解<em>有关</em>CSS3字体样式的像素问题,不过没有太明白,希望各位学长能够帮我详细指导<em>有关</em>字体像素的问题。![图片说明](http://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/98.gif)
有关exe4j的问题,求大神帮忙!!!
提示icon file does not contain icon data!rnrn[img=http://my.csdn.net/my/album/detail/1191195][/img]
有关textfield的问题,求大神帮忙
我现在有两个JTextField :textfield1和textfield2,在数据库中有两个属性:cno(学号)和cname(姓名),现在我想在textfield1中输入cno,输入完成后,不用任何操作,能不能在textfield2中自动填充cname。求各位<em>大神</em>指点指点
有关97MyDatePicker的问题,求大神帮忙
[code=javascript]rn//日期计算事件rn function checkDate()rn var year = $("#p_start_date").val();rn var startdateStr = $("#p_start_date").val();rn alert("1===="+startdateStr);rn var startdate = getDate(startdateStr);rn alert("2===="+startdate);rn if(startdate == '')rn alert("请选择开始时间!");rn rn var enddate = DateAdd("y",parseInt(year),startdate);rn var enddateStr = enddate.format('yyyy-MM-dd hh:mm');rn $("#p_end_date").val(enddateStr);rn rn [/code]rnrn如图,楼主写了一个简单的关于年的日期计算事件,这个事件有很多动作可以触发,唯独在97MyDatePicker选择后触发不了,用onblur获取到startdateStr的值是空的,用onchange又触发不了方法。以前也因为这个问题烦恼过,97MyDatePicker为什么触发不了onchange事件?????
有关LoadLibrary的问题,求大神帮忙
[img=https://img-bbs.csdn.net/upload/201803/29/1522309079_578951.png][/img]rnrn如图,为什么获取的结果是这样的啊,后面不能调用。
有关代理服务器的几个技术问题,求大神帮忙
1、http代理服务器是不是不能得到用户的ip层数据包,而只能得到应用层的http数据包?是因为socket编程里套接口分类对http来说想要多线程代理的话只能用SOCK_STREAM类型的,而不能用SOCK_RAW类型的,因为SOCK_RAW类型不支持listen(),而代理服务器必须采用监听模式来等待用户的连接rnrn2、如果这样的话,有没有其他的方法使得代理服务器得到用户的IP层数据包?rn抓包软件都是从网卡出得到的IP数据包,而代理服务器是直接转发用户的应用层的http数据包rnrn3、代理服务器如何进行用户验证?有用户名和密码的那种
各路大神帮忙有关C++Rest的问题
小弟最近在做一个项目用到了C++Rest,因为是第一次接触,所以各个库的具体实现还不是很明白,目前已经把请求做好,可就是在接收请求响应的时候出了问题,找了一天+一晚上也没能<em>解决</em>,所以我把问题抛出来希望各路神仙指点一下我。rn 我采用的是HTTP/Rest json 方式通讯,请求接收的响应也是json,可是每次接收只接受一半的json,我不知道是为什么,测试的图片如下:[img=https://img-bbs.csdn.net/upload/201704/26/1493168941_25913.png][/img]rn网络抓包图片如下:rn[img=https://img-bbs.csdn.net/upload/201704/26/1493168957_50300.png][/img]rnrn代码如下:rn[code=c]pplx::task HTTPGetAsync()rnrn http_client cli(U("http://10.16.42.202:8080/dahuaIS/rest/picrecord/search"));rn rn http_request req(methods::GET);rn req.headers().add(L"Accept", L"application/json;charset=UTF-8");rn req.headers().add(L"Content-Type", L"application/json;charset=UTF-8");rn req.headers().add(L"authorization", L"DAHUA");rnrnrn uri_builder builder= uri_builder();rn builder.append_query(L"q", L"\"startDate\":\"2017-04-23 00:00:00\",\"endDate\":\"2017-04-23 12:00:00\",\"page\":\"pageNo\":1,\"pageSize\":20");rnrn req.set_request_uri(builder.to_string());rn wcout<< res.extract_string().get().c_str()< previousTask)rn rn tryrn rn rn web::json::value const & value = previousTask.get();rn wcout<<
有关java JTextField的错误,求大神指教!
下面两段代码都是想判断TextField是否为空,然后执行,但是不管TextField中有没有字,getText()总是不等于null,有没有什么替换方法?还是哪里不对?rn1.rnpublic void actionPerformed(ActionEvent e) rn if(jtf.getText()==null)rn Runnable n=new error2();rn Thread thread1=new Thread(n);rn thread1.start();rn rn2.rnif(jf.getText()==true)rn String s=jf.getText();rn String sql="select*from user";rn String sql2="select*from consumption";rn Statement statement =conn.createStatement();rn ResultSet rs=statement.executeQuery(sql);
帮忙解决 。 Hibernagte 错误
先代码:rn[color=#FF0000]Action: [/color]rnrnpublic String updateSubmit() throws Exceptionrn String n = "1";rn tryrn entityService.update(filterProductId,n);rn return RELOAD;rn catch (Exception e) rn e.printStackTrace();rn return ERROR;rn rn rnrn[color=#FF0000]Service: [/color]rnrnpublic void update(String pId,String n)rn entityDao.update(pId,n);rn rn rnrn[color=#FF0000]Dao: [/color]rnrnpublic void update(String pId,String n)rn tryrn String hql ="update Product p set resv1 = '"+ n +"' where p.productId = ?";rn getHibernateTemplate().bulkUpdate(hql, pId);rn getHibernateTemplate().flush();rn catch (Exception e) rn e.printStackTrace();rn rn rnrn[color=#FF0000]Jsp页面:[/color]rnrnrnrnrnrnrn rn 产品明细rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn 添加rn rn rn rn rn rn rn 暂无相关数据rn rn rn rn rn rn rn rn rn rn rn rn rn 以下是你选择的产品rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn $productNamern $productCostrn $productPricern $productCyclern $productStockrn rn rn rn 确定rn rn rn rn rn 你还没有选择任何产品rn rn rn rn rn rn rn rnrnrnrnrn功能描述:rnrn在这个页面分为上下两部分。 类似购物车 上面是产品列表 产品信息有个添加 我点击一下 调用 [color=#FF0000]updateSubmit[/color] 修改起产品的一个字段 作为标识 点击一条产品添加没有问题 。 但是当我在点击另外产品(根据产品的ID,也就是修改标识位)添加的时候 就报错 。rnrn以下是<em>错误</em>信息 : 希望高手能<em>帮忙</em><em>解决</em>下。 我每完成一个功能模块都备份。 在上一份中这一部分没有任何问题。rnrn[color=#FF0000]org.springframework.orm.hibernate3.HibernateSystemException: identifier of an instance of com.shhelian.app.model.Product was altered from 2 to 3; nested exception is org.hibernate.HibernateException: identifier of an instance of com.shhelian.app.model.Product was altered from 2 to 3[/color] at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:676)rn at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)rn at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)rn at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)rn at org.springframework.orm.hibernate3.HibernateTemplate.bulkUpdate(HibernateTemplate.java:1150)rn at org.springframework.orm.hibernate3.HibernateTemplate.bulkUpdate(HibernateTemplate.java:1146)rn at com.shhelian.app.dao.ProductDao.update(ProductDao.java:94)rn at com.shhelian.app.service.chance.ProductService.update(ProductService.java:87)rn at com.shhelian.app.service.chance.ProductService$$FastClassByCGLIB$$efa6aff5.invoke()rn at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)rn at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)rn at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(rnrnrn<em>错误</em>信息大概就是这些。 希望高手能<em>帮忙</em><em>解决</em>下rnrn
有关java的Webservice问题,求大神解决
目前我有一个需求,它会产生一个Webservice的种子,即一个java类:声明如下: rnrn@WebService(targetNamespace="http://bosent.com/homework/", serviceName="ClassManagementServicesService", portName="ClassManagementServicesPort", name="ClassManagementServices")rnpublic class ClassManagementServices rnrn。。。 rnrn} rnrn请问,我应该用什么工具来搭建Webservice的发布环境,才能使这个Webservice发布起来? rn
有关IMAP的问题,求大神解决~~~~~
最近要用到IMAP,有个问题感觉挺棘手的:rn假如有2W个邮箱账号,要从这两万个邮箱账号里面获取某个主题的邮件,用IMAP的话可以获取到某个主题的邮件,但是2W个账号要返回2W封邮件,要不断打开关闭流,这样的话貌似很容易崩溃,即使不崩溃脚本也要运行好久,请问<em>大神</em>们有什么好的<em>解决</em>办法么?
大神解决有关centos防火墙的
为什么防火墙基本的命令用不了?rn[root@localhost services]# firewall-cmd --statrnERROR:dbus.proxies:Introspect error on :1.488:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.fedoraproject.FirewallD1.Exception: 'FirewallD' object has no attribute 'path'rnError: 'FirewallD' object has no attribute 'fw'rn
大神帮忙解决, hibernate配置后运行出现了这个错误
这是 hibernate.cgf.xml的配置文件: &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt; &amp;lt;!DOCTYPE hibernate-configuration PUBLIC &quot;-//Hibernate/Hibernate Configuration DTD 3.0//EN&quot; &quot;http://hibernate.sourceforge....
JSP出现了HTTP Status 500 错误,求大神帮忙解决~
HTTP Status 500 -rnrntype Exception reportrnrnmessagernrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexceptionrnrnjava.lang.NullPointerExceptionrn servlets.AdminLogCheckServlet.doPost(AdminLogCheckServlet.java:60)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:641)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:722)rnrnnote The full stack trace of the root cause is available in the Apache Tomcat/7.0.30 logs.
spring 3.1与hibernate4.1的错误大神帮忙解决
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Unable to read XMLrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)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:618)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: org.hibernate.InvalidMappingException: Unable to read XMLrn at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:109)rn at org.hibernate.cfg.Configuration.add(Configuration.java:478)rn at org.hibernate.cfg.Configuration.add(Configuration.java:474)rn at org.hibernate.cfg.Configuration.add(Configuration.java:647)rn at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:685)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:272)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)rn ... 26 morernCaused by: org.dom4j.DocumentException: http://www.jboss.org/dtd/hibernate/hibernate-mapping-3.0.dtd%20 Nested exception: http://www.jboss.org/dtd/hibernate/hibernate-mapping-3.0.dtd%20rn at org.dom4j.io.SAXReader.read(SAXReader.java:484)rn at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:78)rn ... 33 morern2012-12-13 22:44:21 org.apache.catalina.core.StandardContext startInternalrnspring.xml中的配置rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.Oracle9Dialectrn rn rn rn rn rn com/entity/Inputer.hbm.xmlrn com/entity/Goodsspend.hbm.xmlrn com/entity/Admin.hbm.xmlrn com/entity/Goods.hbm.xmlrn com/entity/Workday.hbm.xmlrn com/entity/Intogoods.hbm.xmlrn com/entity/Employer.hbm.xmlrn com/entity/Goodssell.hbm.xmlrn com/entity/Employerwage.hbm.xmlrn
mybatis和spring整合遇见错误,求大神帮忙解决
1.工程结构如下rn[img=https://img-bbs.csdn.net/upload/201608/11/1470901556_204307.png][/img]rn2.UserController.xml如下rn[code=java]rnpackage com.aptims.ssm.controller;rnimport java.util.List;rnrnimport org.springframework.beans.factory.annotation.Autowired;rnimport org.springframework.stereotype.Controller;rnimport org.springframework.web.bind.annotation.RequestMapping;rnimport org.springframework.web.servlet.ModelAndView;rnrnimport com.aptims.ssm.po.UserExtend;rnimport com.aptims.ssm.service.UserService;rnrnrn//表示这是一个控制器rn@Controllerrnpublic class UserControllerrn rn //注入Service rn @Autowiredrn private UserService userService;rn rn //@RequestMapping实现对queryItems方法和url进行映射 一个方法对应一个urlrn @RequestMapping("/queryItems")rn public ModelAndView queryItems() throws Exception rn // TODO Auto-generated method stubrn //用户的查询rn List userExtendsList=userService.findUser(null);rn //向List中填充静态数据rn rn rn //返回ModelAndViewrn ModelAndView modelAndView=new ModelAndView();rn //相当于request的setAttribut,在jsp页面中通过这个来取数据rn modelAndView.addObject("userExtendsList",userExtendsList);rn rn //指定视图 如果在视图解析器中配置jsp路径的前缀和后缀rn //modelAndView.setViewName("/WEB-INF/jsp/user/user.jsp");rn modelAndView.setViewName("/user/user");rn return modelAndView;rn rnrnrnrnrn[/code]rn3.springmvc.xml如下rn[code=java]rnrnrnrnrn rnrn rnrnrnrn rn rn rn rn rnrn[/code]rn4.出现的<em>错误</em>如下rn八月 11, 2016 3:41:33 下午 org.apache.catalina.core.ApplicationContext logrn严重: StandardWrapper.Throwablernorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService': No qualifying bean of type [com.aptims.ssm.service.UserService] found for dependency [com.aptims.ssm.service.UserService]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.aptims.ssm.service.UserService] found for dependency [com.aptims.ssm.service.UserService]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)rn at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)rn at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:634)rn at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:682)rn at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553)rn at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)rn at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)rn at javax.servlet.GenericServlet.init(GenericServlet.java:158)rn at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)rn at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.aptims.ssm.service.UserService] found for dependency [com.aptims.ssm.service.UserService]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1406)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1057)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)rn at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)rn ... 38 morernrn八月 11, 2016 3:41:33 下午 org.apache.catalina.core.StandardWrapperValve invokern严重: Allocate exception for servlet springmvcrnorg.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.aptims.ssm.service.UserService] found for dependency [com.aptims.ssm.service.UserService]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1406)rnrn
PHP SQL 错误 求各位大神帮忙解决
SQLSTATE[4200]:Syntax error or access violation: 1064 you have an error in your SQL syntax; check the manual that rnrncorresponds to your MySQL server version for the right syntax touse near 'and stock >= 4) limit 1' at line 1!
大神帮忙看看运行maven install错误怎么解决
[code=java][ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: 1 problem was encountered while building the effective model for org.apache.maven.plugins:maven-clean-plugin:2.5rn[ERROR] [FATAL] Non-parseable POM C:\Users\lenovo\.m2\repository\org\apache\maven\maven-parent\21\maven-parent-21.pom: entity reference names can not start with character '&' (position: START_TAG seen ...Firefox\') > -1; var isSafari = userAgent.indexOf(\'Safari\') > -1 &&... @3:114) @ C:\Users\lenovo\.m2\repository\org\apache\maven\maven-parent\21\maven-parent-21.pom, line 3, column 114[/code]rn如题 感觉好像是maven版本不对啊
内存错误,急!!!请大神帮忙解决!!!
程序运行堆栈如下:rn*** glibc detected *** /home/VideoRecoServer/MobileEcop/MobileEcop: double free or corruption (!prev): 0x08a682a8 ***rn[New Thread 0x72302b70 (LWP 6753)]rn[Thread 0x72302b70 (LWP 6753) exited]rnnot into pthread2rn======= Backtrace: =========rn/lib/libc.so.6[0x387a231]rn/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x2aa53f1]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e545]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e584]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e6a2]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e765]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e819]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e83d]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865d376]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865b548]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865be04]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x8694389]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x80a774b]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x8072fee]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x80d1100]rn/lib/libpthread.so.0[0x45a935]rn/lib/libc.so.6(clone+0x5e)[0x38e882e]rn======= Memory map: ========rn00110000-00158000 r-xp 00000000 fd:00 144455 /home/VideoRecoServer/lib/libTDCameraManager.sorn00158000-00159000 rw-p 00048000 fd:00 144455 /home/VideoRecoServer/lib/libTDCameraManager.sorn00159000-0018f000 r-xp 00000000 fd:00 144438 /home/VideoRecoServer/lib/libqwtmathml.so.6rn0018f000-00199000 rw-p 00035000 fd:00 144438 /home/VideoRecoServer/lib/libqwtmathml.so.6rn00199000-001e2000 r-xp 00000000 fd:00 144456 /home/VideoRecoServer/lib/libQtXml.so.4rn001e2000-001e4000 rw-p 00049000 fd:00 144456 /home/VideoRecoServer/lib/libQtXml.so.4rn001e4000-001eb000 r-xp 00000000 fd:00 144473 /home/VideoRecoServer/lib/libCYNET_API.sorn001eb000-001ec000 rw-p 00006000 fd:00 144473 /home/VideoRecoServer/lib/libCYNET_API.sorn001ec000-001fb000 r-xp 00000000 fd:00 12885 /usr/lib/libXext.so.6.4.0rn001fb000-001fc000 rw-p 0000f000 fd:00 12885 /usr/lib/libXext.so.6.4.0rn001fc000-00200000 r-xp 00000000 fd:00 145383 /lib/libgthread-2.0.so.0.2000.1rn00200000-00201000 rw-p 00003000 fd:00 145383 /lib/libgthread-2.0.so.0.2000.1rn00203000-0020b000 r-xp 00000000 fd:00 144501 /home/VideoRecoServer/lib/libTDSDK.sorn0020b000-0020c000 rw-p 00007000 fd:00 144501 /home/VideoRecoServer/lib/libTDSDK.sorn0020c000-00214000 r-xp 00000000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00214000-00215000 r--p 00007000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00215000-00216000 rw-p 00008000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00216000-0023d000 rw-p 00216000 00:00 0 rn0023d000-00244000 r-xp 00000000 fd:00 145381 /lib/librt-2.10.1.sorn00244000-00245000 r--p 00006000 fd:00 145381 /lib/librt-2.10.1.sorn00245000-00246000 rw-p 00007000 fd:00 145381 /lib/librt-2.10.1.sorn00246000-00248000 r-xp 00000000 fd:00 145409 /usr/lib/libXau.so.6.0.0rn00248000-00249000 rw-p 00001000 fd:00 145409 /usr/lib/libXau.so.6.0.0rn00249000-0024b000 r-xp 00000000 fd:00 145442 /usr/lib/libXinerama.so.1.0.0rn0024b000-0024c000 rw-p 00001000 fd:00 145442 /usr/lib/libXinerama.so.1.0.0rn0024c000-00276000 r-xp 00000000 fd:00 12368 /lib/libgcc_s-4.4.0-20090506.so.1rn00276000-00277000 rw-p 00029000 fd:00 12368 /lib/libgcc_s-4.4.0-20090506.so.1rn00279000-0027e000 r-xp 00000000 fd:00 105536 /usr/lib/libXtst.so.6.1.0rn0027e000-0027f000 rw-p 00004000 fd:00 105536 /usr/lib/libXtst.so.6.1.0rn0027f000-00287000 r-xp 00000000 fd:00 145412 /usr/lib/libXrender.so.1.3.0rn00287000-00288000 rw-p 00007000 fd:00 145412 /usr/lib/libXrender.so.1.3.0rn00288000-0028a000 r-xp 00000000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028a000-0028b000 r--p 00001000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028b000-0028c000 rw-p 00002000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028c000-002ac000 r-xp 00000000 fd:00 145378 /lib/ld-2.10.1.sorn002ac000-002ad000 r--p 0001f000 fd:00 145378 /lib/ld-2.10.1.sorn002ad000-002ae000 rw-p 00020000 fd:00 145378 /lib/ld-2.10.1.sorn002ae000-00307000 r-xp 00000000 fd:00 144471 /home/VideoRecoServer/lib/libQtSvg.so.4rn00307000-00309000 rw-p 00059000 fd:00 144471 /home/VideoRecoServer/lib/libQtSvg.so.4rn00309000-00324000 r-xp 00000000 fd:00 145410 /usr/lib/libxcb.so.1.1.0rn00324000-00325000 rw-p 0001b000 fd:00 145410 /usr/lib/libxcb.so.1.1.0rn00rnProgram received signal SIGABRT, Aborted.rn[Switching to Thread 0x71901b70 (LWP 6752)]rn0x00b9c424 in __kernel_vsyscall ()rnMissing separate debuginfos, use: debuginfo-install GConf2-2.26.0-2.fc11.i586 ORBit2-2.14.17-1.fc11.i586 PackageKit-gtk-module-0.4.6-8.fc11.i586 alsa-lib-1.0.20-1.fc11.i586 atk-1.25.2-2.fc11.i586 audiofile-0.2.6-10.fc11.i586 avahi-0.6.25-1.fc11.i586 avahi-glib-0.6.25-1.fc11.i586 bug-buddy-2.26.0-2.fc11.i586 cairo-1.8.6-2.fc11.i586 dbus-glib-0.80-2.fc11.i586 dbus-libs-1.2.12-1.fc11.i586 e2fsprogs-libs-1.41.4-10.fc11.i586 elfutils-libelf-0.140-2.fc11.i586 esound-libs-0.2.41-2.fc11.i586 expat-2.0.1-6.i586 fontconfig-2.6.99.behdad.20090508-1.fc11.i586 freetype-2.3.9-3.fc11.i586 gamin-0.1.10-4.fc11.i586 glib2-2.20.1-1.fc11.i586 glibc-2.10.1-2.i686 gnome-keyring-2.26.1-1.fc11.i586 gnome-vfs2-2.24.1-2.fc11.i586 gtk-nodoka-engine-0.7.2-4.fc11.i586 gtk2-2.16.1-4.fc11.i586 gvfs-1.2.3-2.fc11.i586 ibus-gtk-1.1.0.20090423-1.fc11.i586 ibus-libs-1.1.0.20090423-1.fc11.i586 keyutils-libs-1.2-5.fc11.i586 krb5-libs-1.6.3-20.fc11.i586 libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586 libX11-1.2-3.fc11.i586 libXau-1.0.4-5.fc11.i586 libXcomposite-0.4.0-7.fc11.i586 libXcursor-1.1.9-4.fc11.i586 libXdamage-1.1.1-6.fc11.i586 libXext-1.0.99.1-2.fc11.i586 libXfixes-4.0.3-5.fc11.i586 libXi-1.2.1-1.fc11.i586 libXinerama-1.0.3-4.fc11.i586 libXrandr-1.2.99.4-3.fc11.i586 libXrender-0.9.4-5.fc11.i586 libXt-1.0.5-2.fc11.i586 libXtst-1.0.3-5.fc11.i586 libart_lgpl-2.3.20-4.fc11.i586 libattr-2.4.43-3.fc11.i586 libbonobo-2.24.1-1.fc11.i586 libbonoboui-2.24.1-1.fc11.i586 libcanberra-0.12-1.fc11.i586 libcanberra-gtk2-0.12-1.fc11.i586 libcap-2.16-2.fc11.i586 libgcc-4.4.0-4.i586 libgnome-2.26.0-1.fc11.i586 libgnomecanvas-2.26.0-1.fc11.i586 libgnomeui-2.24.1-1.fc11.i586 libjpeg-6b-45.fc11.i586 libogg-1.1.3-11.fc11.i586 libpng-1.2.35-1.fc11.i586 libselinux-2.0.80-1.fc11.i586 libstdc++-4.4.0-4.i586 libtdb-1.1.3-14.fc11.i586 libtool-ltdl-2.2.6-11.fc11.i586 libvorbis-1.2.0-7.fc11.i586 libxcb-1.2-3.fc11.i586 libxml2-2.7.3-2.fc11.i586 linuxwacom-0.8.2.2-11.fc11.i586 nss-softokn-freebl-3.12.3-4.fc11.i586 openssl-0.9.8k-1.fc11.i686 pango-1.24.1-1.fc11.i586 pixman-0.14.0-2.fc11.i586 popt-1.13-5.fc11.i586 zlib-1.2.3-22.fc11.i586rn(gdb) btrn#0 0x00b9c424 in __kernel_vsyscall ()rn#1 0x038357c1 in raise () from /lib/libc.so.6rn#2 0x03837092 in abort () from /lib/libc.so.6rn#3 0x03873dad in __libc_message () from /lib/libc.so.6rn#4 0x0387a231 in malloc_printerr () from /lib/libc.so.6rn#5 0x02aa53f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6rn#6 0x0865e545 in __gnu_cxx::new_allocator::deallocatern (this=0x8a6801c, __p=0x8a682a8)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:94rn#7 0x0865e584 in std::_Deque_base >::_M_deallocate_node (this=0x8a6801c, __p=0x8a682a8)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:419rn#8 0x0865e6a2 in std::_Deque_base >::_M_destroy_nodes (this=0x8a6801c, __nstart=0x8a6828c, rn __nfinish=0x8a68290)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:524rn#9 0x0865e765 in std::_Deque_base >::~_Deque_base (this=0x8a6801c, rn __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:445rn#10 0x0865e819 in std::deque >::~deque (this=0x8a6801c, __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:725rn#11 0x0865e83d in std::stack > >::~stack (rn this=0x8a6801c, __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:111rn#12 0x0865d376 in sql::mysql::MySQL_DebugLogger::~MySQL_DebugLogger (this=0x8a68018, rn---Type to continue, or q to quit---rn __in_chrg=) at mysql_debug.cxx:75rn#13 0x0865b548 in sql::mysql::util::my_shared_ptr::~my_shared_ptrrn (this=0x8a68078, __in_chrg=) at ./include/mysql_util.h:103rn#14 0x0865be04 in sql::mysql::util::my_shared_ptr::freeReference (rn this=0x8a68078) at ./include/mysql_util.h:96rn#15 0x08694389 in sql::mysql::MySQL_Statement::~MySQL_Statement (this=0x76900468, rn __in_chrg=) at mysql_statement.cxx:60rn#16 0x080a774b in std::auto_ptr::~auto_ptr (this=0x719012d4, rn __in_chrg=)rn at /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/backward/auto_ptr.h:168rn#17 0x08072fee in CLS_DBManage::GetInfoForUpdateBtnState (this=0x8a67f20, _iCurrentLogID=76359, rn _CSZPChannelID=1, _iKaKouMode=1) at /home/VideoRecoServer/MobileEcop/CLS_DBManage.cpp:1815rn#18 0x080d1100 in UpdateBtnStateThread () at /home/VideoRecoServer/MobileEcop/CSZPFrame.cpp:510rn#19 0x0045a935 in start_thread () from /lib/libpthread.so.0rn#20 0x038e882e in clone () from /lib/libc.so.6
各位大神帮忙解决这个错误
error C2079: “pcl::KdTreeFLANN::param_radius_”使用未定义的 struct“flann::SearchParams”
大神帮忙看看这个错误
0 0x105dbf342 __assert_rtn + 144n1 0x105dfa2c6 archive::File::makeObjectFileForMember(archive::File::Entry const*) const + 1138n2 0x105df9c74 archive::File::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 122n3 0x105e12a75 ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 265n4 0x105e1bdb8 ld::tool::Resolver::resolveUndefines() + 160n5 0x105e1e117 ld::tool::Resolver::resolve() + 79n6 0x105dc0060 main + 812n7 0x7fff928705ad start + 1nA linker snapshot was created at:n /tmp/yuefei-2016-00-04-174524.ld-snapshotnld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-253.9/src/ld/parsers/archive_file.cpp, line 355.nclang: error: linker command failed with exit code 1 (use -v to see invocation)
大神帮忙找出错误原因
[code=sql] set ANSI_NULLS ONrnset QUOTED_IDENTIFIER ONrngornrnALTER PROCEDURE [dbo].[getPaybillfee] rn @axmlparm varchar(4096) rnAS rn/********************** rn缴费部分 2.1.3.2 rn功能:获取缴费费用 rn rn rnexec getPaybillfee ' rn 01 rn 00001111 rn 3905755 rn rn 00 rn rn' rn rnselect * from YY_SFDXMK WHERE id=37 rn rnauthor:lcm 2015-09-09 rncreate time: 20150515 rn***********************/ rnset nocount on rndeclare rn@hospitalId varchar(40),-- 医院代码 rn@userJKK varchar(40),-- 用户健康卡号码 rn@infoSeq varchar(40),-- HIS就诊登记号 rn@doctID varchar(40),--HIS就诊医生工号 rn@ybSettleType varchar(40),--医保参保类型 rn@prescriptionIds varchar(40)--处方号,多个处方号用半角逗号隔开,如果为空则表示查询所有处方的费用信息 rn rn rnselect @hospitalId = dbo.of_get_xmlval(@axmlparm,'hospitalId') rnselect @userJKK = dbo.of_get_xmlval(@axmlparm,'userJKK') rnselect @doctID = dbo.of_get_xmlval(@axmlparm,'doctID') rnselect @ybSettleType = dbo.of_get_xmlval(@axmlparm,'ybSettleType') rnselect @prescriptionIds = dbo.of_get_xmlval(@axmlparm,'prescriptionIds') rn rndeclare @cardno ut_cardno,@patid ut_xh12,@hzxm ut_name,@rq char(19),@now ut_rq16,@zje dec(10,2) rnselect @cardno=@userJKK rn rnselect @rq = convert(char(19),getdate(),120) rnselect @now = substring(@rq,1,4)+substring(@rq,6,2)+substring(@rq,9,2)+substring(@rq,12,8) rnselect @patid = patid,@hzxm=hzxm from SF_BRXXK where cardno=@cardno rn rnif not exists(select 1 from GH_GHZDK where patid=@patid and DATEDIFF(day,left(ghrq,8),left(@now,8)) in (0,1)) rnbegin rn select 'F','此卡今天未挂号,请先挂号!' rn return rnend rn rnif exists(select 1 from SF_HJCFK a,SF_HJCFMXK b rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.cd_idm=0 and b.ypdm='20020') rnbegin rn select 'F','体检费不能用移动支付缴费!' rn return rnend rn rnif exists(select 1 from SF_HJCFK a,SF_HJCFMXK b rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 =1 rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) ) rnbegin rn select 'F','有皮试药品,需先皮试!' rn return rnend rn rnselect @zje=sum(cast(b.ypsl*b.ylsj*b.cfts/b.ykxs as dec(10,2))) from SF_HJCFK a,SF_HJCFMXK b rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn rnupdate b set ypmc=c.name from SF_HJCFK a,SF_HJCFMXK b,YY_LCSFXMK c rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.ypmc is null and b.lcxmdm>0 and b.lcxmdm=c.id rnrn--declare @str varchar(300),@str1 varchar(300)rn--select @str='7980005,7980006,7980007,7980013'rn--select @str1='化验费,9500.00;化验费,20300.00;西药费,863;化验费,11700.00'rn rn--select @hzxm userName,a.patid infoSeq,rn-- sum(cast(b.ypsl*b.ylsj*b.cfts/b.ykxs as dec(10,2)))*100 payAmout,rn-- 0 recPayAmout,rn-- @zje*100 totalPayAmout,rn-- @str detailID, rn-- '' bz,rn-- @str1 Item,rn-- '' ybLogId rn--from SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rn--where a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) rn-- and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rn-- and a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.dxmdm=c.id rn--group by a.patid rnrnrnrndeclare @cfxh1 varchar(10),@yfmc1 varchar(30),@k int,@j int, rn @str varchar(300),@str1 varchar(300),@cfje1 ut_money ,@dxmdm1 varchar(20) ,rn @patid2 ut_xh12,@now1 ut_rq16 rnrnselect @k=0,@j=0,@str='' ,@str1='' rnselect @j= count(distinct cfxh) from rn(select rn distinct b.cfxh,b.dxmdmrnfrom SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rnwhere a.jlzt in(0,3) rn and a.patid = @patidrn and a.shbz1 in (0,2) rn and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rn and a.xh=b.cfxh rn and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn and b.dxmdm=c.id) rn--declare cur_cfxh cursor forrndeclare cur_cfxh cursor forrnselect distinct b.cfxh,b.dxmdm rnfrom SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rn where a.jlzt in(0,3) and a.patid = @patid rn and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) rn and a.shbz5 in (0,2) and a.xh=b.cfxh rn and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn and b.dxmdm=c.idrn rn open cur_cfxh rn fetch next from cur_cfxh into @cfxh1 ,@dxmdm1 rn while (@k rn fetch next from cur_cfxh into @cfxh1,@dxmdm1 rn select @k=@k+1 rn end rn close cur_cfxh rn deallocate cur_cfxh rnselect @str =SUBSTRING(@str,1,LEN(@str)-1) rnselect @str1 =SUBSTRING(@str1,1,LEN(@str1)-1) */rn[/code]
大神帮忙错误
#include rnusing namespace std;rnclass stringrnrnpublic :rn friend ostream operator<<<>a;rn str1=a;rn string str2;rn cout<<>s;rn str2=b;rn string str3=str1+str2;rn cout<<
编译Chromium遇到的错误~求大神帮忙
我是在Win7 vs2010 的环境下编译Chromium,在进行调试时遇到<em>错误</em>提示[img=https://img-bbs.csdn.net/upload/201311/09/1383961582_313934.png][/img]rnrn求<em>大神</em><em>帮忙</em><em>解决</em>。rn本人菜鸟一枚,最近刚开始学C++,对编译环境不太熟悉,求<em>大神</em>给出详细的<em>解决</em>方法。
spring 路径错误,求大神帮忙看看
idea里面报错No mapping found for HTTP request with URI [/owl_studio_account_transaction/user/loginwithphonenum.do] in DispatcherServlet with name 'spring'rn页面报错rnHTTP Status 404 -rnrntype Status reportrnrnmessagernrndescription The requested resource is not available.rnrnApache Tomcat/7.0.70rn这是哪里出了什么问题啊rnweb.xml如下:rnrn springrn org.springframework.web.servlet.DispatcherServletrn rn contextConfigLocationrn classpath:conf/*.xmlrn rn 1rn rn rn springrn *.dorn
大神帮忙看看错误在哪
use warnings;use strict;open(INFILE, &quot;/Users/lizeshuo/Desktop/test2.txt&quot;) ||   die &quot;Cannot open the newfile: $!\n&quot;;open(OUTFILE, &quot;&amp;gt;test3.txt&quot;) ||   die &quot;Cannot open the newfile: $!\n&quot;;my @a;while (...
大神帮忙指出我的错误
这是我编写的一个C++程序,但不知哪里出错了,求各路<em>大神</em>指教rn#includernusing namespace std;rnrnint main()rnrn int x,a,b,c,d,e;rn cout<>x;rn a=x/10000;rn b=x%10000/1000;rn c=x%10000%1000/100;rn d=x%10000%1000%100/10;rn e=x%10;rn cout<<<<<<<<<<
大神帮忙看看 是哪里的错误
[img=https://img-bbs.csdn.net/upload/201511/18/1447814960_170082.png][/img]
大神帮忙看看,这个是什么错误
[code=text]07-26 18:13:19.311: E/StrictMode(13027): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.rn07-26 18:13:19.311: E/StrictMode(13027): java.lang.Throwable: Explicit termination method 'release' not calledrn07-26 18:13:19.311: E/StrictMode(13027): at dalvik.system.CloseGuard.open(CloseGuard.java:184)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.Surface.(Surface.java:294)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.SurfaceView.(SurfaceView.java:96)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Constructor.constructNative(Native Method)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.createView(LayoutInflater.java:587)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:643)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.Activity.setContentView(Activity.java:1881)rn07-26 18:13:19.311: E/StrictMode(13027): at com.thinkerx.kshow.zxing.MipcaActivityCapture.onCreate(MipcaActivityCapture.java:47)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.Activity.performCreate(Activity.java:5104)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.access$600(ActivityThread.java:141)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)rn07-26 18:13:19.311: E/StrictMode(13027): at android.os.Handler.dispatchMessage(Handler.java:99)rn07-26 18:13:19.311: E/StrictMode(13027): at android.os.Looper.loop(Looper.java:137)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.main(ActivityThread.java:5041)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Method.invokeNative(Native Method)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Method.invoke(Method.java:511)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)rn07-26 18:13:19.311: E/StrictMode(13027): at dalvik.system.NativeStart.main(Native Method)rn[/code]rnrn调用扫描二维码,从拍照界面返回到原来界面时,动一下就报错,求人<em>帮忙</em>看看这个什么<em>错误</em>,为何在平板上报错,在我的手机上却能正常运行
sql建表错误,求大神帮忙看看
drop table if exists t_progress_display;nn/*==============================================================*/n/* Table: t_progress_display */n/*==============================================================*/ncreate table t_progress_displayn(n id national varchar(32) not null,n create_time datetime default NULL comment '创建时间',n create_user varchar(32) default NULL comment '创建人',n update_time datetime default NULL comment '修改时间',n update_user varchar(32) default NULL comment '修改人',n institutions varchar(32) comment '所属驻外机构',n prj_id national varchar(32) comment '工程编码',n prj_name varchar(512) comment '工程名称',n post_sub_name varchar(512) comment '分指',n part_name varchar(512) comment '标段',n Item_name national varchar(120) comment '分项名称',n finish_fact national int,n plan_prj national int,n unit national varchar(10) comment '工程量单位',n finish_month_f int comment '本月完成比例',n plan_prj_month int comment '本月计划',n total_start int comment '开工累计',n total_percent double comment '累计完成比例',n total_year int comment '本年累计',n plan_prj_year int comment '本年计划',n name national varchar(120) comment '名称',n plan_start_date date comment '计划开始日期',n plan_end_date date comment '计划结束时间',n start_date date comment '实际开始时间',n end_date date comment '实际结束时间',n state int default 0,n primary key (id)n);n![图片说明](https://img-ask.csdn.net/upload/201701/17/1484636558_705713.png)
大神帮忙看下这个错误是什么
[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
vs2013发生生成错误,求大神帮忙
显示的下面这两个<em>错误</em>,求<em>大神</em><em>帮忙</em>啊!n <em>错误</em> 2 error LNK1120: 1 个无法解析的外部命令 G:\程序代码\C++程序\ConsoleApplication3\Debug\ConsoleApplication3.exe 1 1 ConsoleApplication3。n <em>错误</em> 1 error LNK2019: 无法解析的外部符号 "public: void __thiscall Seqlist::Printlist(void)" (?Printlist@?$Seqlist@H@@QAEXXZ),该符号在函数 _wmain 中被引用 G:\程序代码\C++程序\ConsoleApplication3\ConsoleApplication3\ConsoleApplication3.obj ConsoleApplication3。n
大神帮忙看下算法的错误
#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
空指针错误大神帮忙
[img=https://img-bbs.csdn.net/upload/201806/25/1529913206_313148.png][/img]rn如果可以能加个微信细谈的最好 本人小白
大神帮忙。WebSphere MQ 下的错误
WebSphere MQ 调用失败,完成代码为“2”(“MQCC_FAILED”),原因为“2035”(“MQRC_NOT_AUTHORIZED”)。rnrn为队列管理器“TestPPS”提供的安全性认证无效,连接方式为“Client”,主机名为“192.168.10.124”。 请检查提供的用户名和密码在您连接至的队列管理器中是否正确rnrn系统是windows 系统
java.lang.ClassNotFoundException: com.chat.common.User错误,求大神帮忙看看
public ChatServer()rn rn try rn System.out.println("我是服务器在8888监听...");rn ServerSocket ss=new ServerSocket(8888);rn while(true)rn rn Socket s=ss.accept();rn rn //接受客户发来的信息rn ObjectInputStream ois=new ObjectInputStream(s.getInputStream());rn //User u=(User)ois.readObject();rn Object o = ois.readObject();rn System.out.println(o.getClass());rn User u = (User) o;rn System.out.println("服务器接收到的ID:"+u.getUserId()+" 密码:"+u.getPasswd());rn Message m=new Message();rn ObjectOutputStream oos=new ObjectOutputStream(s.getOutputStream());rn if(u.getPasswd().equals("123456"))rn rn rn m.setMesType("1");rn oos.writeObject(m);rn rn elsern m.setMesType("2");rn oos.writeObject(m);rn //关闭连接rn s.close();rn rn rn rn rnrnrnpublic boolean sendLoginInfoToServer(Object o)rn rn boolean b=false;rn try rn System.out.println("正在连接...");rn Socket s=new Socket("127.0.0.1",8888);rn ObjectOutputStream oos=new ObjectOutputStream(s.getOutputStream());rn User u = (User) o;rn oos.writeObject(u);rn rn ObjectInputStream ois=new ObjectInputStream(s.getInputStream());rn rn Message ms=(Message)ois.readObject();rn if(ms.getMesType().equals("1"))rn rn b=true;rn rn rn catch (Exception e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn finallyrn rn rn return b;rn rnrnrnpublic class User implements Serializablern private static final long serialVersionUID = 511142319526449270L;rn private String userId;rn private String passwd;rn public String getUserId() rn return userId;rn rn public void setUserId(String userId) rn this.userId = userId;rn rn public String getPasswd() rn return passwd;rn rn public void setPasswd(String passwd) rn this.passwd = passwd;rn rnrnpublic class Message implements java.io.Serializablern rn private String mesType;rnrn public String getMesType() rn return mesType;rn rnrn public void setMesType(String mesType) rn this.mesType = mesType;rn rnrn调用rn private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) rn // TODO add your handling code here:rn System.out.println("OK");rn// new ChatFriendList();rn// this.dispose();rn if(evt.getSource()==jButton2)rn rn ChatClientUser chatClientUser=new ChatClientUser();rn User u=new User();rn u.setUserId(jTextField1.getText().trim());rn u.setPasswd(new String(jPasswordField1.getPassword()));rn //chatClientUser.checkUser(u);rn if(chatClientUser.checkUser(u))rn rn new ChatFriendList();rn //关闭登陆界面rn this.dispose();rn elsern JOptionPane.showMessageDialog(this,"用户名或密码<em>错误</em>!");rn rn rn rnrn<em>错误</em>rnjava.lang.ClassNotFoundException: com.chat.common.Userrn at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:247)rn at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)rn at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)rn at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)rn at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)rn at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)rn at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)rn at com.chat.server.model.ChatServer.(ChatServer.java:23)rn at com.chat.server.view.ServerFrame.jb1ActionPerformed(ServerFrame.java:75)rn at com.chat.server.view.ServerFrame.access$0(ServerFrame.java:71)rn at com.chat.server.view.ServerFrame$1.actionPerformed(ServerFrame.java:41)rn at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)rn at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)rn at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)rn at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)rn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)rn at java.awt.Component.processMouseEvent(Component.java:6216)rn at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)rn at java.awt.Component.processEvent(Component.java:5981)rn at java.awt.Container.processEvent(Container.java:2041)rn at java.awt.Component.dispatchEventImpl(Component.java:4583)rn at java.awt.Container.dispatchEventImpl(Container.java:2099)rn at java.awt.Component.dispatchEvent(Component.java:4413)rn at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)rn at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)rn at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)rn at java.awt.Container.dispatchEventImpl(Container.java:2085)rn at java.awt.Window.dispatchEventImpl(Window.java:2475)rn at java.awt.Component.dispatchEvent(Component.java:4413)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)rn at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
语法错误。。。具体什么错误,求大神帮忙。。。。。。。。。。。。。。。。。。
![图片说明](https://img-ask.csdn.net/upload/201603/30/1459308046_933144.png)
大神帮忙小童鞋,初学者遇到问题求帮忙解决
用DW5编辑网页搜索页面时,预览中出现如下代码:rnNotice: Undefined index: textfield in P:\leyou\search.php on line 224rnrn具体页面截图如下:[img=https://img-bbs.csdn.net/upload/201801/12/1515727452_860590.jpg][/img]rn[img=https://img-bbs.csdn.net/upload/201801/12/1515727511_99187.png][/img]rnrnrn具体代码如下(附代码截图[img=https://img-bbs.csdn.net/upload/201801/12/1515727631_341682.png][/img]):rnrnrnrnrnrn rnrn 搜索页rnrnrnrn rnrnrnrn rn rn rn rn 欢迎访问本网站rn rn rn rn rn rn rn rn rn rn 注册rn 登入rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn 网站首页rn 乐游动态rn 景区景点rn 旅游特产rn 旅游服务rn 乐游路线rn rn rn rn rn rn rn rn rn rn rn rn rn 搜索<em>有关</em>的内容是:rn rn 这里没有你要搜索的内容!rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn 乐游侨乡:乐游游乐悠悠!rn rn copyright©:乐游侨乡 版权所有!rn rn rn rn rnrnrnrnrn
大神!!有关对话框的!
我在主对话框里有个按键,按下会显示一个子对话框,子对话框只能在主对话框里移动!!rn求大侠指教!!!!rnrn不要设Child
急求大神帮忙解决的问题
上一篇的动态规划入门题我引申了几个问题不会<em>解决</em>求<em>大神</em><em>帮忙</em> 1:如何判断对于给定的硬币的种类对某个特定的值不存在任何一个可以满足的情况 2:如何将所有可能的凑出来的情况都进行保存
redis启动时报错 求大神帮忙解决
2019-07-08 10:48:10,014 WARN [com.mchange.v2.async.ThreadPoolAsynchronousRunner] - com.mchange.v2.async.ThreadPoolAsynchronousRunnerDeadlockDetector@1a6955fb−−APPARENTDEADLOCK!!!Creatingemergencythrea...
急急急,求sql大神帮忙解决
各位<em>大神</em>们,现在有两张表realtime(send_time,range,oil)和gps(send_time,speed),我要把这两张表的数据汇总到sum表中,sum表的字段有year,month,day,hour,max(range)-min(range),avg(oil),max(speed),avg(speed),sum表记录的是每小时的数据,年月日小时就是send_time里面的,前两张表是每10秒的数据,他们每条数据都是一一对应的,sum表用的是是组合主键,有年月日小时这4个主键,我用的mysql,达到这一操作的sql语句要怎么写啊,我之前想写成一条,总写不好,后来分2条写,第二个update语句又不知道怎么写了,谢谢帮助我的各位<em>大神</em>
大神帮忙解决这个问题
[img=https://img-bbs.csdn.net/upload/201707/17/1500268010_918862.png][/img]
求各位大神帮忙解决下这个异常!
type Exception reportrnrnmessage An exception occurred processing JSP page /util/do_login.jsp at line 16rnrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexceptionrnrnorg.apache.jasper.JasperException: An exception occurred processing JSP page /util/do_login.jsp at line 16rnrn13: String uname = request.getParameter("uname");rn14: String upwd = request.getParameter("upwd");rn15: rn16: NewsUser NU = nus.login(uname, upwd);rn17: if(NU!=null)rn18rn19: session.setAttribute("NU", NU);rnrnrnStacktrace:rn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:727)rn org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rnroot causernrnjava.lang.NullPointerExceptionrn cn.news.dao.NewsUserDao.findNewsUser(NewsUserDao.java:16)rn cn.news.service.NewsUserService.login(NewsUserService.java:19)rn org.apache.jsp.util.do_005flogin_jsp._jspService(do_005flogin_jsp.java:80)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:727)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:727)rn org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rnnote The full stack trace of the root cause is available in the Apache Tomcat/7.0.55 logsrn下面这是报错的地方rn.[img=https://img-bbs.csdn.net/upload/201802/01/1517416368_842585.png][/img]
大神帮忙解决字符串分割问题
表中的数据是这样的 rn1.25.26.27.28 rn1.29.32.35rn57.58.59.60.62.63rn57.65.66.67.68rn。。。rn这样的一列数据怎么SELECT出按"."分割的多列如:1 25 26 27 28 这样的数据求<em>大神</em><em>帮忙</em>,谢谢rn
大神帮忙解决 ,找不到符号问题
[img=https://img-bbs.csdn.net/upload/201707/17/1500262020_165637.png][/img]rn变量GROUP_OPERATION_CREATE是GroupNotificationMessage类里边定义的rnGroupNotificationMessage是Rong_IMLib.jar里的文件,rn包名也没错rn而且变量GROUP_OPERATION_CREATE和GroupNotificationMessage都能点进去,rn定位的也是.jar包里的文件rnrn问题可能很简单,但是我是初学者,懵逼了一上午了,求<em>大神</em>们<em>帮忙</em><em>解决</em>rn先谢过了
@Autowired 困扰了几天,求大神帮忙解决
感谢各位<em>大神</em>路过!rnrntomcat启动时logback 日志显示:processing,但是没有显示creating (不知道成功会不会显示creating)rn[code=c]rn[EHSS_INTER] 2013-04-15 09:10:02.210 [main] DEBUG [org.springframework.beans.factory.annotation.InjectionMetadata] rn - Processing injected method of bean 'mobilePayHandlerImpl': AutowiredFieldElement for private com.talkweb.ehss.pay.mpay.dao.IMpayLogger com.talkweb.ehss.pay.mpay.service.impl.MobilePayHandlerImpl.mpayLoggerrn[/code]rn@Controllerrn[code=c]rn@Controllerrnpublic class MpayTaskDistribute extends HessianServlet implements IPerformrn @Autowiredrn private IMobilePayHandler handler;rn private Logger logger = LoggerFactory.getLogger(MpayTaskDistribute.class);rn[/code]rn@Servicern[code=c]rn@Servicernpublic class MobilePayHandlerImpl implements IMobilePayHandlerrn private Logger logger = LoggerFactory.getLogger(MobilePayHandlerImpl.class);rn @Autowiredrn private IMpayLogger mpayLogger;rn[/code]rnapplicationContext.xmlrn[code=c]rnrnrnrn rn rn rn rn rn rn rnrn rn rn rn rn rnrn rn rn rnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrn rn rn rn rn rn rn rn classpath:META-INF/application.propertiesrn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rnrn rn rn rnrn rn rnrn[/code]
大神 帮忙解决下这个问题
[img=https://img-bbs.csdn.net/upload/201703/06/1488790756_170912.jpg][/img]rnrn地图不能完整显示,只能显示文字怎么<em>解决</em>???
大神帮忙解决html+css的问题
[i][b]这是html:[/b][/i]rnrn[color=#FFFF00]rnrnrn rn 无标题文档rn rn rnrnrnrn rn rn 用户名: rn 密 码: rn 验证码: rn rnrn rn rn ENTERENTERrn rnrn 版权所有:青岛丽城时速科技有限公司 CopyRight 2011-2013,All Rights Reserved. rnrnrn[/color]rnrnrn[b][i]这是CSS:[/i][/b]rn[color=#FFFF00].wrapper rn height: 768px;rn width: 1024px;rn margin:auto;rn padding:auto;rn background:url(images/dl.jpg);rn background-repeat:no-repeat;rnrn#top rn width:250px;rn height:107px;rn padding-left:365px;rn padding-top:316px;rn float:left;rn line-height:31px;rn font-size:12px;rn color:#FFF;rnrn#enter rn width:109px;rn height:72px;rn float:right;rn padding-top:350px;rn padding-right:290px;rn color:#FFF;rnrn #enter #div1rn margin-left:1px;rn font:30px tahoma;rn font-family:Arial;rn font-weight:bold;rn rn#enter #div2rn position:relative;rn z-index:1;rn rn#enter #span1rn position:absolute;rn top:1px;rn left:2px;rn z-index:-1;rn color:#cccccc;rn width: 100px;rn height: 52px;rn rn#foot rn width:964px;rn height:403px;rn padding-left: 300px;rn padding-top: 600px;rn font-size:12px;rn left: 316px;rn color:#FFF;rn[/color]rnrn
急救!!!求大神帮忙解决啊!!!
条件:rn Levels:等级; Num:次数; No:排名;rn DataTable dt = new DataTable();rn dt.Columns.Add("Levels", typeof(string));rn dt.Columns.Add("Num", typeof(string));rn dt.Columns.Add("No", typeof(int));rn DataRow dr1 = dt.NewRow();rn dr1["Levels"] = "1";rn dr1["Num"] = "7";rn dt.Rows.Add(dr1);rn dr1 = dt.NewRow();rn dr1["Levels"] = "1";rn dr1["Num"] = "5";rn dt.Rows.Add(dr1);rn dr1 = dt.NewRow();rn dr1["Levels"] = "1";rn dr1["Num"] = "3";rn dt.Rows.Add(dr1);rn dr1 = dt.NewRow();rn dr1["Levels"] = "2";rn dr1["Num"] = "6";rn dt.Rows.Add(dr1);rn dr1 = dt.NewRow();rn dr1["Levels"] = "2";rn dr1["Num"] = "4";rn dt.Rows.Add(dr1);rn dr1 = dt.NewRow();rn dr1["Levels"] = "3";rn dr1["Num"] = "0";rn dt.Rows.Add(dr1);rn dr1 = dt.NewRow();rn dr1["Levels"] = "3";rn dr1["Num"] = "9";rn dr1 = dt.NewRow();rn dr1["Levels"] = "3";rn dr1["Num"] = "3"; rn dr1 = dt.NewRow();rn dr1["Levels"] = "3";rn dr1["Num"] = "4";rn dt.Rows.Add(dr1);rnrn问题 : 需要对dt进行同一等级下按次数进行排名,然后需要把排名的名次插入到dt当中rn结果 : 排名 等级 次数rn 1 1 7rn 2 1 5rn 3 1 3rn 1 2 6rn 2 2 4rn 1 3 9rn 2 3 4rn 3 3 3rn 4 3 0 rn
大神帮忙解决个小问题
2440的开发板,在examples里有个leds,编译出来是led可运行程序,对应是在板子上的/usr/bin的led吧。rnrn用超级终端连接上,进入/usr/bin目录里输入命令led,出现的是Usage:leds led_on 0|1,参数不对耶。rnrn应该怎么使用这个程序呢?看源代码,不知道main(参数)里面的参数是怎么传递的,不懂,完全不懂,请大虾简单解释一下,谢谢!rn就是想用led这个测试程序控制led的亮灭。rn[code=C/C++]rn#include rn#include rn#include rn#include rnrnint main(int argc, char **argv)rnrn int on;rn int led_no;rn int fd;rn if (argc != 3 || sscanf(argv[1], "%d", &led_no) != 1 || sscanf(argv[2],"%d", &on) != 1 ||rn on < 0 || on > 1 || led_no < 0 || led_no > 3) rn fprintf(stderr, "Usage: leds led_no 0|1\n");rn exit(1);rn rn fd = open("/dev/leds0", 0);rn if (fd < 0) rn fd = open("/dev/leds", 0);rn rn if (fd < 0) rn perror("open device leds");rn exit(1);rn rn ioctl(fd, on, led_no);rn close(fd);rn return 0;rnrn[/code]
一个小问题,求大神帮忙解决
一个很简单的定义函数。rnvoid mufun(char *ch)rnrncout<
nutch配置出问题了,求大神帮忙解决
ppdeMacBook-Pro:apache-nutch-2.3 yangjiang$ antrnBuildfile: /Users/yangjiang/Documents/workspace/apache-nutch-2.3/build.xmlrnTrying to override old definition of task javacrnrnivy-probe-antlib:rnrnivy-download:rnrnivy-download-unchecked:rnrnivy-init-antlib:rnrnivy-init:rnrninit:rnrnclean-lib:rnrnresolve-default:rn[ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::rn[ivy:resolve] :: loading settings :: file = /Users/yangjiang/Documents/workspace/apache-nutch-2.3/ivy/ivysettings.xmlrn[ivy:resolve] rn[ivy:resolve] :: problems summary ::rn[ivy:resolve] :::: WARNINGSrn[ivy:resolve] module not found: com.google.javascript#closure-compiler;v20130603rn[ivy:resolve] ==== local: triedrn[ivy:resolve] /Users/yangjiang/.ivy2/local/com.google.javascript/closure-compiler/v20130603/ivys/ivy.xmlrn[ivy:resolve] -- artifact com.google.javascript#closure-compiler;v20130603!closure-compiler.jar:rn[ivy:resolve] /Users/yangjiang/.ivy2/local/com.google.javascript/closure-compiler/v20130603/jars/closure-compiler.jarrn[ivy:resolve] ==== maven2: triedrn[ivy:resolve] http://mirrors.ibiblio.org/maven2/com/google/javascript/closure-compiler/v20130603/closure-compiler-v20130603.pomrn[ivy:resolve] -- artifact com.google.javascript#closure-compiler;v20130603!closure-compiler.jar:rn[ivy:resolve] http://mirrors.ibiblio.org/maven2/com/google/javascript/closure-compiler/v20130603/closure-compiler-v20130603.jarrn[ivy:resolve] ==== sonatype: triedrn[ivy:resolve] http://oss.sonatype.org/content/repositories/releases/com/google/javascript/closure-compiler/v20130603/closure-compiler-v20130603.pomrn[ivy:resolve] -- artifact com.google.javascript#closure-compiler;v20130603!closure-compiler.jar:rn[ivy:resolve] http://oss.sonatype.org/content/repositories/releases/com/google/javascript/closure-compiler/v20130603/closure-compiler-v20130603.jarrn[ivy:resolve] ==== apache-snapshot: triedrn[ivy:resolve] https://repository.apache.org/content/repositories/snapshots/com/google/javascript/closure-compiler/v20130603/closure-compiler-v20130603.pomrn[ivy:resolve] -- artifact com.google.javascript#closure-compiler;v20130603!closure-compiler.jar:rn[ivy:resolve] https://repository.apache.org/content/repositories/snapshots/com/google/javascript/closure-compiler/v20130603/closure-compiler-v20130603.jarrn[ivy:resolve] [FAILED ] org.apache.hbase#hbase;0.94.14!hbase.jar: (0ms)rn[ivy:resolve] ==== local: triedrn[ivy:resolve] /Users/yangjiang/.ivy2/local/org.apache.hbase/hbase/0.94.14/jars/hbase.jarrn[ivy:resolve] ==== maven2: triedrn[ivy:resolve] http://mirrors.ibiblio.org/maven2/org/apache/hbase/hbase/0.94.14/hbase-0.94.14.jarrn[ivy:resolve] ==== sonatype: triedrn[ivy:resolve] http://oss.sonatype.org/content/repositories/releases/org/apache/hbase/hbase/0.94.14/hbase-0.94.14.jarrn[ivy:resolve] ==== apache-snapshot: triedrn[ivy:resolve] https://repository.apache.org/content/repositories/snapshots/org/apache/hbase/hbase/0.94.14/hbase-0.94.14.jarrn[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::rn[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::rn[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::rn[ivy:resolve] :: com.google.javascript#closure-compiler;v20130603: not foundrn[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::rn[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::rn[ivy:resolve] :: FAILED DOWNLOADS ::rn[ivy:resolve] :: ^ see resolution messages for details ^ ::rn[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::rn[ivy:resolve] :: org.apache.hbase#hbase;0.94.14!hbase.jarrn[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::rn[ivy:resolve] rn[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILSrnrnBUILD FAILEDrn/Users/yangjiang/Documents/workspace/apache-nutch-2.3/build.xml:467: impossible to resolve dependencies:rn resolve failed - see output for detailsrnrnTotal time: 10 secondsrn
大神帮忙解决调用函数问题
我在用java写学生成绩管理系统,现在遇到一个问题,就是事件监听器在传事件的时候没办法传过去,我写了三个java文件,在同一个包里。rn这是主函数的java文件代码:rn[code=java]rnpackage ManageSystem;rnrnpublic class ManageSystem rn public static void main(String[] args) rn MSFrame frame=new MSFrame("学生成绩管理系统");rn frame.setVisible(true);rn rnrn[/code]rnrnrn这是MSFrame的代码,第二个java文件的代码:rn[code=java]rnpackage ManageSystem;rnrnimport java.awt.*;rnimport java.awt.event.*;rnimport javax.swing.*;rnrnclass MSFrame extends JFramern JLabel label,lblUser,lblPassword;rn JTextField tfUser,tfPassword;rn JButton btnLogin;rn public MSFrame(String s)rn //创建系统登陆界面rn super(s);rn label=new JLabel("南京晓庄学院学生成绩管理系统");rn lblUser=new JLabel("User:");rn lblPassword=new JLabel("Password:");rn tfUser=new JTextField(10);rn tfPassword=new JTextField(20);rn btnLogin=new JButton("Login");rn rn Listener bm=new Listener();rn btnLogin.setBackground(new Color(204,204,255));rn rn //布局rn Box box=Box.createVerticalBox(); rn box.add(label);rn Box bh1=Box.createHorizontalBox(); //用户名Userrn bh1.add(lblUser);rn bh1.add(Box.createHorizontalStrut(8));rn bh1.add(tfUser);rn box.add(bh1);rn box.add(Box.createVerticalStrut(8));rn Box bh2=Box.createHorizontalBox(); //密码Passwordrn bh2.add(lblPassword);rn bh2.add(Box.createHorizontalStrut(10));rn bh2.add(tfPassword);rn box.add(bh2);rn box.add(Box.createVerticalStrut(8));rn box.add(btnLogin);rn box.add(Box.createVerticalStrut(8));rn rn this.add(box);rn this.setBounds(250,250,480,300);rn this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn rn rn btnLogin.addActionListener(bm);rn rn rnrn[/code]rnrnrn这是事件监听器的代码,第三个java文件的代码:rn[code=java]rnpackage ManageSystem;rnrnimport java.awt.event.*;rnrnpublic class Listener implements ActionListenerrn rn @Overridern public void actionPerformed(ActionEvent e) rn String User="iamthemanager";rn String Password="iamthemanager";rn String getUser=bm.tfUser.getText();rn rnrn[/code]rnrnrn问题在这:btnLogin.addActionListener(bm);rnbm这个变量传到事件监听器的时候,就是到这句话“String getUser=bm.tfUser.getText();”的时候,说无法解析bm,我没办法从文本中得到文本框的内容,求详细的<em>解决</em>办法,不要太简短,小弟理解能力比较差。谢谢<em>大神</em>了
求真正的大神 帮忙解决Session问题
我想实现在C#中验证PHP中的登录 rn怎么能获取到php的Session呢。rnrn如果有其他方法可以在C#中 验证php登录 请详细讲解,Cookie 还是别的都行rnrnrn真心求各种<em>大神</em>。 别跟我来理论知识 来代码
求JAVA大神帮忙解决下这个问题
鄙人做了个坦克大战的小游戏,相信很多<em>大神</em>们都做过,但是鄙人的炮筒就是显示不出来...求好心人指点,本人学生新手,就这点分了,全拿出来了。rn1,目前共三个class文件,分别为TankClient,Tank,Missile....rn2,疑问所在:我的drawLine()画不出直线。。。rn3,疑问来源: case D: rnSystem.out.println("炮筒方向开始调用--下!"); rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x+Tank.TKLENGTH/2,y+Tank.TKWIDTH ); //就是画不出来! rnSystem.out.println("炮筒方向调用结束--下!");rn3.11简要说明:dir坦克当前方向。PTdir炮筒当前方向。fire()开火,setlocation()调整当前方向。命名做到见名知意。 rnrn4,原先的3个文件的代码:rn ①TankClient类:rnimport java.awt.*;rnimport java.awt.event.*;rnrnpublic class TankClient extends Frame rn rn Tank mytank=new Tank(50,50,this);rn Missile mis=null;rn rn public void paint(Graphics g) rn mytank.drawTank(g);rn if(mis!=null) mis.drawMissile(g);rn rn rn rn public void launchFrame()rn this.setLocation(40, 30);rn this.setSize(800, 600);rn this.setVisible(true);rn this.setResizable(false);rn this.setBackground(Color.green);rn this.addWindowListener(new WindowAdapter()rn rn public void windowClosing(WindowEvent e) rn System.exit(0);rn rn ); rn this.addKeyListener(new KeyMoniter());rn new Thread(new PaintThread()).start();rn rn rn rn public static void main(String[] args) rn TankClient tc =new TankClient();rn tc.launchFrame(); rn rn rn rn private class PaintThread implements Runnablern rn public void run() rn rn while(true)rn repaint();rn try rn Thread.sleep(35);rn catch (InterruptedException e) rn rn e.printStackTrace();rn rn rn rn rn rn rn private class KeyMoniter extends KeyAdapter rn rnrn public void keyPressed(KeyEvent e) rn mytank.keyPressed(e);rn //mis.keyPressed(e);rn rn rn public void keyReleased(KeyEvent e) rn mytank.keyReleased(e);rn rn rnrnrn②Tank类rnimport java.awt.Color;rnimport java.awt.Graphics;rnimport java.awt.event.KeyEvent;rnrnrnpublic class Tank rn private int x,y;rn public static final int XSPEED=5,YSPEED=5;rn public static final int TKLENGTH=30,TKWIDTH=30;rn private boolean BL,BR,BU,BD;rn TankClient tc;rn rn enum DirectionU,D,L,R,LU,RU,RD,LD,STOP; rn rn private Direction dir=Direction.STOP; rn Direction PTdir=Direction.D;rn rn public Tank(int x,int y) rn this.x=x;this.y=y;rn rn public Tank(int x,int y,TankClient tc)rn this.x=x;this.y=y;rn this.tc=tc;rn rn rn Missile fire()rn int x=this.x+Tank.TKLENGTH/2;rn int y=this.y+Tank.TKWIDTH/2;rn Missile mis=new Missile(x,y,PTdir);rn return mis;rn rn rn rn public void drawTank(Graphics g)rn rn Color c=g.getColor();rn g.setColor(Color.red);rn g.fillOval(x, y, TKLENGTH, TKWIDTH);rn g.setColor(c); rn rn//System.out.println("炮筒方向开始调用");rng.drawLine(x+Tank.TKLENGTH/2,y+Tank.TKWIDTH/2,x+Tank.TKLENGTH/2,y+Tank.TKWIDTH );rn//g.setColor(Color.black);rn switch(PTdir) rn case U: rn g.drawLine(x+Tank.TKLENGTH/2,y+Tank.TKWIDTH/2,x+Tank.TKLENGTH/2,y);rnSystem.out.println("炮筒方向开始调用--上!"); rn break;rn case D: rnSystem.out.println("炮筒方向开始调用--下!"); rng.setColor(Color.black);rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x+Tank.TKLENGTH/2,y+Tank.TKWIDTH );rn rnSystem.out.println("炮筒方向调用结束--下!"); rn break;rn case L: rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x,y+Tank.TKWIDTH/2 );rn rn break;rn case R: rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x+Tank.TKLENGTH,y+Tank.TKWIDTH/2 );rn rn break;rn case LU: rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x,y);rn break;rn case RU: rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x+Tank.TKLENGTH,y );rn break;rn case RD: rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x+Tank.TKLENGTH,y+Tank.TKWIDTH );rn break;rn case LD: rn g.drawLine(x+Tank.TKLENGTH/2, y+Tank.TKWIDTH/2, x,y+Tank.TKWIDTH); rn break; rn rn move();rnrn rn rn void move()rn rn switch(dir) rn rn case U: y-=XSPEED;rn break;rn case D: y+=XSPEED;rn break;rn case L: x-=XSPEED;rn break;rn case R: x+=XSPEED;rn break;rn case LU: x-=XSPEED;rn y-=XSPEED;rn break;rn case RU: x+=XSPEED;rn y-=XSPEED;rn break;rn case RD: x+=XSPEED;rn y+=XSPEED;rn break;rn case LD: x-=XSPEED;rn y+=XSPEED; rn break; rn case STOP:rn break;rn rn rn if(this.PTdir!=Direction.STOP) rn this.PTdir=this.dir;rnSystem.out.println("坦克移动方向为子弹射出方向!");rn rn rn rn public void keyPressed(KeyEvent e) rn int key=e.getKeyCode();rn switch(key)rn case KeyEvent.VK_RIGHT:rn BR=true;rn break;rn rn case KeyEvent.VK_LEFT:rn BL=true;rn break;rn rn case KeyEvent.VK_UP:rn BU=true;rn break;rn rn case KeyEvent.VK_DOWN:rn BD=true;rn break;rn case KeyEvent.VK_SPACE:rn tc.mis=fire();rn break;rn rn setLocation();rn//System.out.println(".........KeyPressed()");rn rn rn public void keyReleased(KeyEvent e) rn int key=e.getKeyCode();rn if(key==KeyEvent.VK_RIGHT)rn BR=false;rn rn if(key==KeyEvent.VK_LEFT)rn BL=false;rn rn if(key==KeyEvent.VK_UP)rn BU=false;rn rn if(key==KeyEvent.VK_DOWN)rn BD=false;rn rn rn setLocation();rn rn rn void setLocation()rn if(!BL && !BR && !BU && !BD) dir=Direction.STOP;rn else if( BL && !BR && !BU && !BD) dir=Direction.L;rn else if(!BL && BR && !BU && !BD) dir=Direction.R;rn else if(!BL && !BR && BU && !BD) dir=Direction.U;rn else if(!BL && !BR && !BU && BD) dir=Direction.D;rn else if(BL && !BR && BU && !BD) dir=Direction.LU;rn else if(BL && !BR && !BU && BD) dir=Direction.LD;rn else if(!BL && BR && BU && !BD) dir=Direction.RU;rn else if(!BL && BR && !BU && BD) dir=Direction.RD;rn//System.out.println("setLocation() 可用"); rn rn rn rn rnrnrn③Missile类:rnimport java.awt.Color;rnimport java.awt.Graphics;rnimport java.awt.event.KeyEvent;rnrnrnpublic class Missile rn int x,y; Tank.Direction dir;rn private static final int XSPEED=10;rn private static final int YSPEED=10;rn public static final int LENGTH=10;rnpublic static final int WIDTH=10;rn rnpublic Missile(int x,int y,Tank.Direction dir) rn this.x=x; this.y=y;this.dir=dir;rn rn public void drawMissile(Graphics g)rn//System.out.println("子弹drawMissile()开始调用!"); rn Color c=g.getColor();rn g.setColor(Color.black);rn g.fillOval(x, y, LENGTH, WIDTH);rn g.setColor(c); rn move();rn//System.out.println("子弹drawMissile()调用结束!");rnrn rn void move()rn//System.out.println("子弹move()开始调用!"); rn switch(dir) rn rn case U: y-=XSPEED;rn//System.out.println("子弹移动开始调用--上!"); rn break;rn case D: y+=XSPEED;rn break;rn case L: x-=XSPEED;rn break;rn case R: x+=XSPEED;rn break;rn case LU: x-=XSPEED;rn y-=XSPEED;rn break;rn case RU: x+=XSPEED;rn y-=XSPEED;rn break;rn case RD: x+=XSPEED;rn y+=XSPEED;rn break;rn case LD: x-=XSPEED;rn y+=XSPEED; rn break; rn rn rn//System.out.println("子弹move()调用结束!"); rn rn rn
绝对定位和浮动的问题,求大神帮忙解决
[code=HTML]rn rnrn rn rn 快运单打印rn rn 泉汇来rn 美的小家电rn rn rn 淘宝订单拣货rn 淘宝订单发货rn rn 泉汇来rn 美的小家电rn rn rn 销售商品统计rn rn rnrn[/code]rn这段代码运行时,如果页面很长,超出屏幕长度的话,滚动页面时整个div中的东西都跟着滚动,而且鼠标悬浮时div内容会彻底消失,我知道css没写好,对齐的原因,但是改不过来,求<em>大神</em><em>帮忙</em>。
大神接单,帮忙解决,价格好说
APP限制只能选择3个版块,再选就选不上了,想全选,但是软件限制只能选三个。有没有<em>大神</em>能<em>解决</em>,有的联系qq389902591
大神帮忙解决一下移植问题
我们公司有个收费系统是在Win98系统中使用,用的是ACCESS数据库(因为公司没有续费维护和软件公司倒闭...多年来一直未升级系统)。rn 最近我把那个系统放到了虚拟机中,虚拟机和原来那台计算机中安装的软件一样,都是office97和VF6.0。用收费系统的其他功能都没问题,但是只要是使用日历控件的页面就会出问题。 rn rn 提示“这个对象不包含OLE自动对象day,您试图运行一个Visual Basic过程为对象设置属性或方法的过程。但是使用组件设置OLE自动对象的属性或方法是无效的。”rn rn 宏里面的内容是“[Forms]![f203_setdate]![monthselector].[day]31”
大神帮忙解决一个bug!!!
在使用Dictionary时,遇到一个bug。具体如下rn定义了一个Dictionary Category>;rn填充时Category[key1].Add(temp2)时,key2、key3也被添加了temp2。rn谁能帮帮我啊!!万分感谢!!!
急急急 求各位大神帮忙解决!!!
根据ID查找出当前用户所拥有的权限 然后显示出菜单 只显示该用户所拥有的权限 菜单也是从数据库动态获取的 所以想问怎样动态创建菜单按钮 而只显示当前登录用户的权限菜单
满地打滚求大神帮忙解决
2014.07.24 15:40:04 INFO ContextLoader(272):? Root WebApplicationContext: initialization startedrn 2014.07.24 15:40:04 INFO XmlWebApplicationContext(500):? Refreshing Root WebApplicationContext: startup date [Thu Jul 24 15:40:04 CST 2014]; root of context hierarchyrn 2014.07.24 15:40:04 INFO XmlBeanDefinitionReader(315):? Loading XML bean definitions from file [C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\Students\WEB-INF\classes\applicationContext.xml]rn 2014.07.24 15:40:04 INFO DefaultListableBeanFactory(581):? Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@77eb97: defining beans [SQLServerDataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,txAdvice,siteTableEntityDAOImpl,news]; root of factory hierarchyrn 2014.07.24 15:40:04 INFO Environment(514):? Hibernate 3.2.6rn 2014.07.24 15:40:04 INFO Environment(547):? hibernate.properties not foundrn 2014.07.24 15:40:04 INFO Environment(681):? Bytecode provider name : cglibrn 2014.07.24 15:40:04 INFO Environment(598):? using JDK 1.4 java.sql.Timestamp handlingrn 2014.07.24 15:40:04 INFO HbmBinder(300):? Mapping class: po.SiteTableEntity -> SiteTablern 2014.07.24 15:40:04 INFO LocalSessionFactoryBean(780):? Building new Hibernate SessionFactoryrn 2014.07.24 15:40:04 INFO ConnectionProviderFactory(72):? Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProviderrn 2014.07.24 15:40:19 WARN JDBCExceptionReporter(77):? SQL Error: 0, SQLState: nullrn 2014.07.24 15:40:19 ERROR JDBCExceptionReporter(78):? Cannot create PoolableConnectionFactory (通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。<em>错误</em>:“Connection refused: connect。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。)rn 2014.07.24 15:40:19 WARN SettingsFactory(117):? Could not obtain connection metadatarn org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。<em>错误</em>:“Connection refused: connect。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)rn at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)rn at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)rn at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:863)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:782)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:591)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn .......rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: com.microsoft.sqlserver.jdbc.SQLServerException: 通过端口 1433 连接到主机 localhost 的 TCP/IP 连接失败。<em>错误</em>:“Connection refused: connect。请验证连接属性。确保 SQL Server 的实例正在主机上运行,且在此端口接受 TCP/IP 连接,还要确保防火墙没有阻止到此端口的 TCP 连接。”。rn at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)rn at com.microsoft.sqlserver.jdbc.SQLServerException.ConvertConnectExceptionToSQLServerException(SQLServerException.java:241)rn at com.microsoft.sqlserver.jdbc.SocketFinder.findSocket(IOBuffer.java:2243)rn ........rn ... 46 morernrn 2014.07.24 15:40:19 ERROR ContextLoader(307):? Context initialization failedrn org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\webapps\Students\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilterrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:591)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn 10)rn at.......rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilterrn at org.hibernate.bytecode.cglib.BytecodeProviderImpl.getProxyFactoryFactory(BytecodeProviderImpl.java:33)rn at.........rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:863)rn at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:782)rn at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:188)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)rn ... 36 morernCaused by: java.lang.ClassNotFoundException: net.sf.cglib.proxy.CallbackFilterrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 53 morern太长了省略了一大堆rn那个数据库不知道为什么也连不上 端口也对了 什么http://localhost/改127.什么 改本机IP都还不行 防火墙也关了 使用SQL身份验证登陆的, 这两个<em>错误</em>要死了rn求救啊[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]
汇编新手遇到问题 求大神帮忙解决
数码管显示 P2位选,P0段选,没有最后一句话MOV C,LEDKEY显示全灭正常。加上最有一句话后将CY置1,数码管变成这样了rn[img=https://img-bbs.csdn.net/upload/201603/04/1457073088_716003.jpg][/img]rnrnrnrnrn MOV P2, #0FFH rn MOV R1, #XSL40 rn MOV A, @R1 rn CPL A rn MOV P0, A rn MOV C, LEDKEY
新手求大神帮忙解决一下,拜谢!!!
用C++写一个*号组成的等腰三角形,打印在控制台上可以通过键盘控制使它上下左右移动。要求用类写,注释随意。
javaweb 小问题求大神帮忙解决
Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the deployed archive.nMissing web.xml deployment descriptor in WEB-INF foldernnmyeclipse2014 tomcat 7.0 n刚安装的时候好好的 几天后就在部署项目时不能部署 大学生初学 请求帮助
大神帮忙解决日期控件问题
string myStrYear, myStrMonth, myStrDay, myStrDay1;rn string myStrFileName = "";rn myStrYear = myDTTime.Year.ToString().Substring(2, 2);rn if (myDTTime.Month > 9)rn rn myStrMonth = myDTTime.Month.ToString();rn rn elsern rn myStrMonth = "0" + myDTTime.Month.ToString();rn rn if (myDTTime.Day > 9)rn rn myStrDay = myDTTime.Day.ToString();rn rn elsern rn myStrDay = "0" + myDTTime.Day.ToString();rn rn d = Convert.ToInt32(myStrDay) - 1;rn myStrDay1 = Convert.ToString(d);rnrn myStrFileName = myStrYear + myStrMonth + myStrDay1 ;
asp.net 同时存在于。。。。求大神帮忙解决
开始运行成功 在次运行时<em>错误</em>rnrn<em>错误</em> 239 类型“ASP.ascx_proselectdetail_ascx”同时存在于“c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\web\8c181154\e217f223\App_Web_1fftfma4.dll”和“c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\web\8c181154\e217f223\App_Web_proselectdetail.ascx.c95a9aa.kwawfgvn.dll”中 C:\Users\Administrator\Desktop\ERP\Web\Sell\SelectProInStoroom.aspx 16 rnrnrn求<em>大神</em><em>帮忙</em><em>解决</em>
有关程序运行出现错误的问题,求高手帮忙解决!!
class Equalrn int i = 100;rn int j = 100; rn Integer objI = new Integer(i);rn Integer objJ = new Integer(j);rnpublic boolean equals(Object obj) rn if (obj == null) rn return false;rn rn if (this == obj) rn return true;rn rn if (this.getClass() != obj.getClass()) rn return false;rn rn Equal c = (Equal) obj;rn return this.equals(c);rn rn public static void main(String[] args)rn System.out.println("i == j:= " + (i == j));rn System.out.println("objI == objJ:= " + (objI == objJ));rn System.out.println("objI == objJ:= " + (objI.equals(objJ));rnrn rnrn运行时出现了无法从静态上下文中引用非静态变量的<em>错误</em>,哪位高手<em>帮忙</em>解释下,顺便提供下<em>解决</em>方案,不胜感激。
菜鸟求大神帮忙解决一问题
[img=https://img-bbs.csdn.net/upload/201308/06/1375718619_337215.png][/img] [img=https://img-bbs.csdn.net/upload/201308/06/1375718816_744436.png][/img]rnrn[color=#FF0000] 想要实现上图这种效果(外面蓝色那个圈随时间慢慢减少) rnrn 有<em>大神</em><em>帮忙</em>实现吗?rnrn 最好能详细点。[/color]
算法问题,求大神帮忙解决下啊!!!
求教,要做一个交通咨询模拟,提供对城市信息进行编辑(如:添加或删除)的功能。城市之间有两种交通工具:火车和飞机。提供对列车时刻表和飞机航班进行编辑(增设或删除)的功能。提供两种最优决策:最快到达或最省钱到达。全程只考虑一种交通工具。想问算法的大体思想。谢谢!!rn
c++编译出错,求大神帮忙解决
#include rn#includern#includernrnusing namespace std;rnrnrntemplateclass Car //车的类rnrnpublic:rn Car();rn void GetLicensePlate(string);//输入车牌rn void GetInTime(string); //输入车进入停车场的时间rn void GetOutTime(string); //输入车离开停车场的时间rn bool Compare(string); //字符串相等则返回0rn void Charge(double);rn Car *link; //用于链式队列rnprivate:rn string licensePlate; //车牌号记录rn double inTime; //车到停车场的时间rn double outTime; //车离开停车场的时间rn;rntemplate Car::Car()rnrn inTime=0;rn outTime=0;rn licensePlate="8888888";rn link=NULL;rnrntemplatevoid Car::GetLicensePlate(string a)rnrn licensePlate=a; //传递车牌号进来rnrntemplatevoid Car::GetInTime(string y) //把字符串形式的时间转换为数字rnrn int aa,bb,cc=1;rn int xx=0;rn int i;rn double d;rn for(i=0; i<<<< class SeqStack //栈定义,模拟车库rnrnpublic:rn SeqStack()top=-1; maxSize=20;T elements[maxSize];; //构造函数rn SeqStack(int x) top=-1; elements=new T[x]; ; //构造函数rn ~SeqStack() delete []elements;; //析构函数rn void Push(const T&item); //入栈rn T Pop(); //出栈rn void GetSize(int); //定义数组长度rnprivate:rn T *elements; //定义栈元素数组rn int top; //栈顶指针rn int maxSize; //最大容量个数rn void OverFlowProcess(); //栈满处理rnrn;rntemplate void SeqStack::GetSize(int sz) //定义栈数组长度rnrn maxSize=sz;rn elements=new T[maxSize];rnrntemplate void SeqStack::Push(const T &item) //入栈函数rnrn if(top==maxSize-1)rn cout<< T SeqStack::Pop() //出栈函数rnrn T ret; //自由垃圾值,参考老师做法rn if(top>=0) ret=elements[top--]; //先判定是否空,空则返回垃圾值rn else cout< class LinkedQueuernrnprivate:rn T *front, *rear; //队头、队尾指针rnpublic:rn LinkedQueue()rear=NULL;front=NULL;rn bool EnQueue ( const T & x );rn bool DeQueue (T& x);rn bool GetFront (T& x);rn void MakeEmpty ( ); //清空队列rn bool IsEmpty ( ) constrn rn return front == 0 ? true : false;rn rn int GetSize();rn;rntemplate void LinkedQueue :: MakeEmpty() // 清空队列rnrn T *p;rn while ( front != NULL ) //逐个结点释放rn rn p = front;rn front = front->link;rn delete p;rn rn rear = 0;rnrntemplate bool LinkedQueue::EnQueue(const T& x) //插入到队尾rnrn if ( front == NULL ) //若队空则创建第一个结点rn rn front = rear = new T(x);rn if( !front ) return false;rn rn else // 队列不空, 插入rn rn rear->link = new T(x);rn if(!rear->link ) return false;rn rear = rear->link;rn rn return true;rnrntemplate bool LinkedQueue :: DeQueue (T& x)rnrn if ( IsEmpty ( ) ) return false; // 若队空rn T *p = front;rn x= *front;rn front = front->link;rn delete p; //队首后移rn return true;rnrnrntemplate bool LinkedQueue :: GetFront (T& x)rnrn if ( IsEmpty( ) ) return false;rn x = *front;rn return true;rnrnrntemplate int LinkedQueue :: GetSize () //求队列元素个数rnrn T *p = front;rn int count = 0;rn while ( p )rn rn p = p->link;rn count++;rn rn return count;rnrnrnrnrnrnrn int main()rn rn int parkSize=10; //停车场拥有的车位数rn int parkNum=0; //当前停车场里面停车数rn int waitNum=0; //当前后备车道等待车数rn int price=0; //停车每分钟收费价格rn int reversing=0; //用于记录车辆离开时需要倒回停车场的车rn bool haveCar=false; //用于标记是否存在车牌为name的车rn bool selectRight=false;rn string name; //车牌名,形如AD1235rn string inTime,outTime; //进出时间,输入格式为xx:xx:xxrn Car car,tempCar; //定义两个车类的对象,便于操作rn SeqStack< Car > ParkingLot; //停车场rn SeqStack< Car > TempPark; //临时停车场,当有车离开时,用于倒车rn LinkedQueue< Car > ReserveLane; //后备车道rn cout<<>selection;rn if(selection.size()>1||!(selection[0]=='1'||selection[0]=='2'||selection[0]=='3'||selection[0]=='0'||selection[0]=='9'))rn rn cout<<>price;rn cout<>parkSize;rn if(parkSize>=1)rn rn ParkingLot.GetSize(parkSize); //设定停车场容量rn TempPark.GetSize(parkSize);rn mark=1; //标记初始化完成rn rn else continue;rn rn if(select==3)rn rn if (mark!=1)rn rn cout<<>name;rn car.GetLicensePlate(name);rn rn else continue;rnrn if(select==1)rn rn if(parkNum>=parkSize)rn rn cout<<>inTime;rn car.GetInTime(inTime);rn ParkingLot.Push(car);rn parkNum++; //当前停车场里面车数加1rn rn rn if (select==2)rn rn if(parkNum<<>outTime;rn tempCar.GetOutTime(outTime);rn tempCar.Charge(price); //计算费用,并输出rn tempCar=TempPark.Pop();rn ParkingLot.Push(tempCar);rn reversing--;rn parkNum--;rn break; //跳出循环rn rn elsern rn TempPark.Push(tempCar);rn reversing++; //记录需要倒回的车数rn rn rn if(!haveCar)rn rn coutinTime;rn tempCar.GetInTime(inTime);rn ParkingLot.Push(tempCar);rn waitNum--;rn parkNum++;rn cout<<
大神帮忙解决sql server 数据库问题
最近在完善毕业设计,数据库中有两个表,分别为表table_book、表table_bookStoreList,book表包含列bookid,为主键。bookstorelist表内包含列bookstorelistid,bookid,其中,bookstorelistid为主键,bookid为表book内列bookid的外键,rn 现在我想让这两个表的bookid数据实现同步,即向book表内添加数据时,bookstorelist表内也加入一条相同的数据,且,bookstorelistid字段值为bookid的值+‘00‘,并使bookstorelistid列自增长。 rn 求各路<em>大神</em>帮<em>帮忙</em>!真的很重要!谢谢你们!
大神帮忙解决android中的编程问题
package mobile.android.first;rnimport java.util.Random;rnimport android.graphics.Color;rnimport android.app.Activity;rnimport android.os.Bundle;rnimport mobile.android.first.CircleCanvas.CircleInfo;rnimport android.view.View;rnimport android.view.ViewGroup;rnimport android.view.ViewGroup.LayoutParams;rnpublic class main extends Activity rn rn private CircleCanvas mCircleCanvas;rn @Overridern public void onCreate(Bundle savedInstanceState)rn super.onCreate(savedInstanceState);rn ViewGroup.viewGroup=(ViewGroup)getLayoutInflater().inflate(R.layout.main,null);rn mCircleCanvas=new CircleCanvas(this);rn viewGroup.addView(mCircleCanvas,new LayoutParams(LayoutParams.FILL_PARENT,350));rn setContentView(viewGroup);rn rn public void onClick_DrawRandomCircle(View view)rn Random random=new Random();rn float randomX=(float)(100+random.nextInt(100));rn float randomY=(float)(100+random.nextInt(100));rn float randomRadius=(float)(20+random.nextInt(40));rn int randomColor=0;rn if(random.nextInt(100)>50)rn randomColor=Color.BLUE;rn elsern if(random.nextInt(100)<50)rn randomColor=Color.RED;rn elsern randomColor=Color.GREEN;rn rn CircleInfo circleInfo=new CircleInfo();rn circleInfo.setX(randomX);rn circleInfo.setY(randomY);rn circleInfo.setRadius(randomRadius);rn circleInfo.setColor(randomColor);rn mCircleCanvas.mCircleInfos.add(circleInfo);rn mCircleCanvas.invalidate();rn rn rn public void onClick_Clear(View view)rn mCircleCanvas.mCircleInfos.clear();rn mCircleCanvas.invalidate();rn rn rn rn报错内容:rn此行的多个标记rn - viewGroup cannot be resolved or is not rn a fieldrn - 行断点:main [行: 16] - rn onCreate(Bundle)rn - 无法解析 viewGroup,或者它不是字段rn如何<em>解决</em>好啊???rn
大神帮忙解决WebView的问题
请问<em>大神</em>们,WebView怎么保存图片。求<em>大神</em>详细告知,或者别人好使的帖子。或者源码
报错,不会解决了。。。求大神帮忙看一下
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Linq;rnusing System.Text;rnusing System.Windows.Forms;rnusing System.Runtime.InteropServices;rnusing System.Management;rnusing System.Net.NetworkInformation;rnusing System.Text.RegularExpressions;rnrn rnrnnamespace WebPagesrnrn public partial class Form1 : Formrn rn ConfigFile cf = ConfigFile.Instanse; rn public Form1()rn rn InitializeComponent();rn rnrn private void button1_Click(object sender, EventArgs e)rn rn DialogResult choice;  // 用户的选择rn choice = MessageBox.Show("确定要退出吗?", "退出系统", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);rnrn if (choice == DialogResult.OK)rn rn Application.Exit(); // 退出应用程序rn rn rnrnrn ////ShellExecute函数ShowCmd参数可选值 rnrn /// rn /// 小程序rn /// rnrnrn //开始删除IE缓存、打开计算器、打开记事本rnrn public enum ShowCommands : int rn rn SW_HIDE = 0, rn SW_SHOWNORMAL = 1, rn SW_NORMAL = 1, rn SW_SHOWMINIMIZED = 2, rn SW_SHOWMAXIMIZED = 3, rn SW_MAXIMIZE = 3, rn SW_SHOWNOACTIVATE = 4, rn SW_SHOW = 5, rn SW_MINIMIZE = 6, rn SW_SHOWMINNOACTIVE = 7, rn SW_SHOWNA = 8, rn SW_RESTORE = 9, rn SW_SHOWDEFAULT = 10, rn SW_FORCEMINIMIZE = 11, rn SW_MAX = 11 rn rn rn //调用Win32 API rn [DllImport("shell32.dll")] rn static extern IntPtr ShellExecute(IntPtr hwnd, string lpOperation, string lpFile, rn string lpParameters, string lpDirectory, ShowCommands nShowCmd); rnrn private void button43_Click(object sender, EventArgs e)rn rn //删除IE临时文件rn ShellExecute(IntPtr.Zero, "open", "rundll32.exe",rn "InetCpl.cpl,ClearMyTracksByProcess 255", "", ShowCommands.SW_SHOWMAXIMIZED);rn rnrn private void button44_Click(object sender, EventArgs e)rn rn //调用calc.exe打开计算器 rn ShellExecute(this.Handle, "open", "calc.exe", null, null, ShowCommands.SW_FORCEMINIMIZE); rn rnrn private void button45_Click(object sender, EventArgs e)rn rn //调用NOTEPAD.EXE打开记事本 rn ShellExecute(this.Handle, "open", "NOTEPAD.EXE", null, null, ShowCommands.SW_SHOWNORMAL); rn rn //结束删除IE缓存、打开计算器、打开记事本rnrn ///rnrn #region 加载配置文件中的信息 rn /// rn /// 加载配置文件中的信息 rn /// rn protected void loadConfig() rn rn cf.fileName = AppDomain.CurrentDomain.BaseDirectory + "\\config.ini"; rn txtIP.Text = cf["ip地址"]; rn txtSubMark.Text = cf["子网掩码"]; rn txtGateWay.Text = cf["默认网关"]; rn txtDNS1.Text = cf["主DNS"]; rn txtDNS2.Text = cf["备用DNS"]; rn rn #endregion rn rn #region 设置ip信息到网卡 rn private void btnSettingNetwork_Click(object sender, EventArgs e) rn rn rn try rn rn if (!IsIpaddress(txtIP.Text.Trim())) rn rn MessageBox.Show("ip格式不正确!"); return; rn rn if (!IsIpaddress(txtSubMark.Text.Trim())) rn rn MessageBox.Show("子网掩码格式不正确!"); return; rn rn if (!IsIpaddress(txtGateWay.Text.Trim())) rn rn MessageBox.Show("网关格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS1.Text.Trim())) rn rn MessageBox.Show("DNS1格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS2.Text.Trim())) rn rn MessageBox.Show("DNS2格式不正确!"); return; rn rn string[] ip = new string[] txtIP.Text.Trim() ; rn string[] SubMark = new string[] txtSubMark.Text.Trim() ; rn string[] GateWay = new string[] txtGateWay.Text.Trim() ; rn string[] DNS = new string[] txtDNS1.Text.Trim(),txtDNS2.Text.Trim() ; rn SetIpInfo(ip, SubMark, GateWay, DNS); rn cf["ip地址"] = txtIP.Text.Trim(); rn cf["子网掩码"] = txtSubMark.Text.Trim(); rn cf["默认网关"] = txtGateWay.Text.Trim(); rn cf["主DNS"] = txtDNS1.Text.Trim(); rn cf["备用DNS"] = txtDNS2.Text.Trim(); rn MessageBox.Show("ip信息设置成功!","成功提示",MessageBoxButtons.OK,MessageBoxIcon.Information); rn rn catch(Exception er) rn rn MessageBox.Show("设置出错:"+er.Message,"出错提示",MessageBoxButtons.OK,MessageBoxIcon.Error); rn rn rn rn protected void SetIpInfo(string []ip,string []SubMark,string []GateWay,string []DNS) rn rn ManagementBaseObject inPar = null; rn ManagementBaseObject outPar = null; rn ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); rn ManagementObjectCollection moc = mc.GetInstances(); rn foreach (ManagementObject mo in moc) rn rn if (!(bool)mo["IPEnabled"]) continue; rn inPar = mo.GetMethodParameters("EnableStatic"); rn inPar["IPAddress"] = ip;//ip地址 rn inPar["SubnetMask"] =SubMark; //子网掩码 rn mo.InvokeMethod("EnableStatic", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetGateways"); rn inPar["DefaultIPGateway"] = GateWay; //设置网关地址 1.网关;2.备用网关 rn outPar = mo.InvokeMethod("SetGateways", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetDNSServerSearchOrder"); rn inPar["DNSServerSearchOrder"] = DNS; //设置DNS 1.DNS 2.备用DNS rn mo.InvokeMethod("SetDNSServerSearchOrder", inPar, null);// 执行 rn break; //只设置一张网卡,不能多张。 rn rn rn rn #endregion rn rn #region 从网卡获取ip设置信息 rn /// rn /// 从网卡获取ip设置信息 rn /// rn /// rn /// rn private void btnGetFromNetwork_Click(object sender, EventArgs e) rn rn NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); rn foreach (NetworkInterface adapter in nics) rn rn bool Pd1 = (adapter.NetworkInterfaceType == NetworkInterfaceType.Ethernet); //判断是否是以太网连接 rn if (Pd1) rn rn IPInterfaceProperties ip = adapter.GetIPProperties(); //IP配置信息 rn if (ip.UnicastAddresses.Count > 0) rn rn txtIP.Text = ip.UnicastAddresses[0].Address.ToString();//IP地址 rn txtSubMark.Text = ip.UnicastAddresses[0].IPv4Mask.ToString();//子网掩码 rn rn rn if (ip.GatewayAddresses.Count > 0) rn rn txtGateWay.Text = ip.GatewayAddresses[0].Address.ToString();//默认网关 rn rn int DnsCount = ip.DnsAddresses.Count; rn Console.WriteLine("DNS服务器地址:"); rn if (DnsCount > 0) rn rn try rn rn txtDNS1.Text = ip.DnsAddresses[0].ToString(); //主DNS rn txtDNS2.Text = ip.DnsAddresses[1].ToString(); //备用DNS地址 rn rn catch(Exception er) rn rn throw er; rn rn rn rn rn rn #endregion rn rn #region 判断是否是正确的ip地址 rn /// rn /// 判断是否是正确的ip地址 rn /// rn /// rn /// rn protected bool IsIpaddress(string ipaddress) rn rn string[] nums = ipaddress.Split('.'); rn if (nums.Length != 4) return false; rn foreach (string num in nums) rn rn if ( Convert.ToInt32(num) < 0 || Convert.ToInt32(num) > 255) return false; rn rn return true; rn rn #endregion rn rn #region Form1_Load rn private void Form1_Load(object sender, EventArgs e) rn rn loadConfig(); rn rn #endregion rn rnrn rn rnrnrn报错:rn未能找到类型或命名空间名称“ManagementBaseObject”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementClass”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementObjectCollection”(是否缺少 using 指令或程序集引用?)rnrnrn
哪里错了,求大神帮忙解决一下
rn#include rnvoid ZH()rnrn int a[3][4];rn int n,m;rn printf("原矩阵是:\n");rn for(n=0;n);rnrnvoid main()rnrn ZH();rnrn
大神帮忙解决javaweb数据存储问题
我写了一个项目,在页面有一个编辑器,我想将编辑器里的内容存到数据库中,然后再从数据库中读取出来,但是存放到数据库是编码正常,取出来就出现乱码,我的页面、数据库和Java编码都是utf-8编码,为什么还要乱码
ajax post问题,求大神帮忙解决
求<em>大神</em><em>帮忙</em>解析这个api 中的cookies,默认phone_number为123456,password 为123456![图片说明](https://img-ask.csdn.net/upload/201511/24/1448297172_353361.png)
大神帮忙解决一个问题
在unity中,玩家招式攻击范围正面是1.8、夹角为60度的扇形区域,其中扇形的左半部分能把NPC打晕,扇形的右半部分能把NPC打飞。现有条件:GameObject player; GameObject npc; rn请写出玩家攻击时的代码,计算出是否能击中npc,如果能击中是把npc击中,还是击飞。不要用unity的碰撞框
求js大神帮忙解决,困扰多时.
现在有一个table, table外面有一个添加按钮rn 点添加以后,会直接插入一条TRrn ---------------------------------------------------------------------------------rn序号 名称 操作rn1 动态tr行 删除, 添加子行rnrn 如果在店table外面的添加按钮,则继续添加一条,序号要跟着变rn---------------------------------------------------------------------------------rn序号 名称 操作rn1 动态tr行 删除, 添加子行rn2 动态tr行2 删除,添加子行rnrn 如果点击动态tr行的添加子行,则在该tr的下面直接插入一行tr,依次类推,可以无限添加子行,关键是序号要跟着变,rn1添加子行就是1.1,1.1添加子行就是1.1.1,在添加一个子行就是1.1.2,rnrn 序号 名称 操作rn1 动态tr行 删除, 添加子行rn1.1 序号1的动态子行 删除, 添加子行rn2 动态tr行2 删除,添加子行rnrnrn 也不知道怎么添加tr到应该出现的tr后面rn ,新增和删除后序号的变化很麻烦,各种头大,请高手<em>帮忙</em>写写。。我们公司只用js和prototype.jsrn
Huffman编码 程序 数据结构实验下载
步骤: 1.用C语言实现二叉树的说明 2.输入n个权值,并生成n个二叉树 3.对n个二叉树逐步生成Huffman树 4.对Huffman树的每个叶子结点生成编码 5.输出叶子的编码,即输出每个权值及其对应的编码 相关下载链接:[url=//download.csdn.net/download/junny8901/1970868?utm_source=bbsseo]//download.csdn.net/download/junny8901/1970868?utm_source=bbsseo[/url]
Android应用框架原理与程序设计36技(简体版)下载
如其名字所说,主要介绍Android系统的总体架构和实际编程的一些技巧,希望能对大家有所帮助。 相关下载链接:[url=//download.csdn.net/download/thunderlightgx2/3031376?utm_source=bbsseo]//download.csdn.net/download/thunderlightgx2/3031376?utm_source=bbsseo[/url]
access数据库密码破解程序下载
可以破解access数据库密码,密码获取轻而易举,很好用! 相关下载链接:[url=//download.csdn.net/download/nancyenjoy/4438219?utm_source=bbsseo]//download.csdn.net/download/nancyenjoy/4438219?utm_source=bbsseo[/url]
相关热词 c# 线程顺序 c#昨天当前时间 c# 多进程 锁 c#mysql图片存取 c# ocx 委托事件 c# 读取类的属性和值 c# out 使用限制 c#获取url的id c#怎么进行分页查询 c# update 集合
我们是很有底线的