大神们求助关于msp430f5529

求一个基于msp430f5529的贪吃蛇和走迷宫的小游戏代码(>﹏<)(>﹏<)(>﹏<)(>﹏<)

2个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
大神们 求助!!!
rn我想把word文档里面的内容显示在网页。rn之前试用过了字符流,字节流发现都乱码了。rn后来用了poi工具包,能读取word文档里面的文字,但是word的图片,和表格都不能读取。rn我想请问各位有什么办法能将word比较完整的显示在网页上。rn就是想qq邮箱 网易邮箱里面的word预览那效果那样!
求助大神们
这个地方为什么会有异常,照着模板写的,为什么模板的没有异常呢,求大神解答。[img=https://img-bbs.csdn.net/upload/201804/17/1523947095_576276.png][/img]
大神们求助。。。
为什么这段代码if条件进不去啊!!!rn理论上来说是应该进去的啊,困惑中。。跪求各位路过的大神们指导~rnusing System;[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img]rnusing System.Collections.Generic;rnusing System.Collections;rnrnnamespace ConsoleApplication1rnrn class Programrn rn static void Main(string[] args)rn rn string test = Console.ReadLine();rn string o = Console.ReadLine();rn int K = Convert.ToInt32(o);rn int n = test.Length;rn for (int i = n; i > 2*n; i++) rn if (i - K < n)rn rn Console.Write(test[i - K]);rn rn elsern rn Console.Write(test[i - n - K]);rn rn rn rn rnrnrnPs:这段代码是为了让字符串右移k位输出。。。rn
大神们,新人求助~
[img=https://img-bbs.csdn.net/upload/201902/08/1549618293_529912.png][/img]rnrn域名的后缀是源码的文件名吗?我在源码文件名名里没找到这个文件名啊~哪位大神指导下rn?
求助啊啊 !!大神们
private void button1_Click(object sender, EventArgs e)rn rn SqlConnection conn = new SqlConnection();rn conn.ConnectionString = "Data Source=(local);Initial Catalog=Tesk;Integrated Security=True";rnrn conn.Open();;rn string sql = "select @a=pwd from pwd where num='" + textBox1.Text + "'";rn SqlCommand sqlCommand = new SqlCommand(sql, conn);rn sqlCommand.CommandType = CommandType.Text;rn conn.Open();rn string a = sqlCommand.ExecuteScalar();最后一句错了,我只想把pwd的值赋值给a
大神们求助
我是新人 刚刚接触myeclipse。。在myeclipse设置tomcat7.0的时候出现[img=https://img-bbs.csdn.net/upload/201407/12/1405155717_213303.jpg][/img]怎么办求助rn用网上给的方法也不行
大神们,求助啊
class代码:rnpackage sale;rnrnpublic class Goods rn public String product;rn public double price;rn public String getProduct() rn return product;rn rn public void setProduct(String product) rn this.product = product;rn rn public double getPrice() rn return price;rn rn public void setPrice(double price) rn this.price = price;rn rn public Goods(String product, double price) rn super();rn this.product = product;rn this.price = price;rn rnjsp页面代码:rnrn rn <%Goods.setProduct("huangjinhua");rn Goods.setPrice(11.11); %>rn 方法一:rn 产品:<%=Goods.getProduct() %>rn 价格:<%=Goods.getPrice() %>rn 方法二:rn 产品:rn 价格:rn rn我一运行就出现如下的错误:rn[color=#FF0000]org.apache.jasper.JasperException: /index.jsp (line: 13, column: 1) The value for the useBean class attribute sale.Goods is invalid.rn org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)rn org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)rn org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:149)rn org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1234)rn org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1182)rn org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)rn org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2428)rn org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2434)rn org.apache.jasper.compiler.Node$Root.accept(Node.java:475)rn org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2376)rn org.apache.jasper.compiler.Generator.generate(Generator.java:3490)rn org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:250)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)[/color]
大神们新人求助
今天新买了一根海力士DDR3 1600的笔记本内存,然后电脑不兼容我就尝试刷SPD,然后忘记备份了,求SPD信息一份,同款或者通用的均可,谢谢!
大神们 小弟求助
今天重新安装了JDK文件,我的系统是xp.安装好后把classpath和path都设置好了,在任意目录下都能够显示javac java和java -version。我的版本是“1.7.0-03”。我编译好java文件后,javac能够正常编译java去显示找不到或无法加载主类。
大神们,毕业设计求助
本人用visual studio 2010 MFC 编写的图片信息查询系统,ODBC连接的数据库,现在只有图片显示不出来。rn[img=https://img-bbs.csdn.net/upload/201605/11/1462943110_553190.png][/img]rn这个是连接odbc数据源自动声明的变量,最后一个是图片,现在想把他通过picture control控件显示出来。该怎么办?[img=https://img-bbs.csdn.net/upload/201605/11/1462943445_670823.png][/img]rn我在网上搜的是用DFX_Binary能显示出来,可是却不行,求大神帮忙!rn
大神们求助。。关于jsp和Extjs的问题
之前旧项目中页面都是在jsp中写的html代码。。之后将就项目的某些模块页面用EXT重写成了新项目。。现在因客户要求要把旧项目中的一个模块加到新项目中。。需要将jsp页面的html 全部再改成Ext的吗???。有没有什么方法可以不写成Ext的?
关于线程的疑问,求助大神们
我知道在函数调用时,会把当前的段地址和偏移地址push入栈,在函数调用结束或者调用return时,再pop出来返回原地址。rn请问在创建线程的时候会怎么处理?
关于swich语句求助大神们
大神们帮帮忙啊 、、、%>_<%rn 程序老是 出错或者得不到想要的,程序主体没错,我其实就是想用switch语句编辑一个菜单方便我输入数字1 2 后就可以得到rn我想要的。其实就是[color=#FF0000]使用菜单选择操作,提示用户进行相应操作[/color], 但是我的swich语句 用的不对劲额。。。程序主体的求解部分没有错误(这个单独试过)关键是SWICH语句的使用rn各位教教我哈~十分感谢。。[color=#FFCC00]最好教我怎么用,简略点帮我改改[/color]~O(∩_∩)O谢谢rn#include rnint score[4][4],choose; rnvoid main() rn printf("welcome to my design !my c is who run the least fast \n");rn printf("if you want to go the program without thinking ,please put into 1\n");rn printf("if you wan to go over slightly, please put into 2\n ");rn switch(choose)rncase1:int i,j,k,who; rn score[1][1]=7; rn score[2][1]=8; rn score[3][1]=9; rn for(i=1;i<=3;i++) rn for(j=1;j<=3;j++) rn for(k=1;i!=j&&k<=3;k++) rn if(k!=i&&k!=j&&15-i-score[1][1]!=15-j-score[2][1] rn &&15-i-score[1][1]!=15-k-score[3][1] rn &&15-j-score[2][1]!=15-k-score[3][1]rn &&15-i-score[1][1]!=i+1rn &&15-j-score[2][1]!=j+1rn &&15-k-score[2][1]!=k+1) rn rn score[1][2]=i;score[1][3]=15-i-7; rn score[2][2]=j;score[2][3]=15-j-8; rn score[3][2]=k;score[3][3]=15-k-9; rn rn for(who=0,i=1;i<=3;i++,printf("\n")) rn for(j=1;j<=3;j++) rn rn printf("%d",score[i][j]); rn if(score[i][j]==1)who=i; rn rn if(who==1) rnrn printf("The last one arrived to end is a child from family Zhang.\n"); rn else if(who==2) rn printf("The last one arrived to end is a child from family Wang.\n"); rn else printf("The last one arrived to end is a child from family Li.\n"); rn caes2:printf("the program is over, thank you for your fitting\n");rn default:break; rnrn
大神们,大虾们快来!小白求助!!!
半年装过一次,最近又有需要要用,在安装SQL2012 出现在错误0x80244004异常来自 HRESULT:0x80244004,但我更新程序没问题啊!求大神!!!!!!!!!![img=https://img-bbs.csdn.net/upload/201405/10/1399730695_969283.jpg][/img][img=https://img-bbs.csdn.net/upload/201405/10/1399730711_530049.jpg][/img][img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/2.gif][/img]
求助大神们一道作业题。。
在data mining中,fact table 是不是符合第四范式的?rn我们的课程涉及这方面的很少,我对fact table了解也不深,但我觉得 fact table在生成的时候,并没有考虑范式吧?rn比如 这样一个fact table 表 rnSale( marketID, productID, salesmanID, time, price)rn其中 market ID product ID salesmanID 当作外码rn假如 同一时间只有一个售货员,那么marketID,time---salesmanID 不就违反BCNF了吗? 既然违反BCNF,那肯定也违反第四范式了。。。。rnrn求大神帮忙解答啊
大神们,求助,急急急,
SEVERE: Dispatcher initialization failedrnUnable to load configuration. - action - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:7:44rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:473)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$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)rnCaused by: Error building results for action login in namespace - action - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:7:44rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:437)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:543)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:250)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 16 morernCaused by: There is no result type defined for type 'success' mapped with name 'success'. Did you mean 'success'? - result - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:8:27rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:712)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:435)rn ... 21 morernrn四月 29, 2013 10:37:21 上午 org.apache.catalina.core.StandardContext filterStartrnSEVERE: Exception starting filter struts2rnUnable to load configuration. - action - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:7:44rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:485)rn at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)rn at java.util.concurrent.FutureTask$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)rnCaused by: Unable to load configuration. - action - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:7:44rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:429)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:473)rn ... 14 morernCaused by: Error building results for action login in namespace - action - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:7:44rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:437)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:543)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:250)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)rn ... 16 morernCaused by: There is no result type defined for type 'success' mapped with name 'success'. Did you mean 'success'? - result - file:/D:/workspace/tomcat-7.0.39/apache-tomcat-7.0.39/webapps/test/WEB-INF/classes/struts.xml:8:27rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:712)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:435)rn ... 21 morern怎么解决啊rn
大神们求助一个问题
在iframe里面的echarts饼状图不显示,有什么方式可以让他显示出来吗? 正常的是div下有一个cavans标签,我这个里面没有。
Shiro报错,求助大神们!!!
org.apache.shiro.authc.UnknownAccountException: Realm [org.apache.shiro.realm.text.IniRealm@3ae490fa] was unable to find account data for the submitted AuthenticationToken [org.apache.shiro.authc.UsernamePasswordToken - java, rememberMe=false].rn at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:184)rn at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)rn at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)rn at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)rn at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)rn at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)rn at com.java1234.shiro.HelleWorld.main(HelleWorld.java:26)
继续求助,感谢大神们!
还是根据前两幅图,得出第三幅图:rn[img=https://img-bbs.csdn.net/upload/201404/02/1396416529_41284.gif][/img]rn[img=https://img-bbs.csdn.net/upload/201404/02/1396416541_732910.gif][/img]rn通过上面的两幅图,得出下面的这一附图的效果:rn[img=https://img-bbs.csdn.net/upload/201404/02/1396416583_414402.gif][/img]rn谢谢咯!注意是SQL select语句完成的呢。
求助大神们个问题!
1.如何计算出两个矩形(x,y,width,height)的重叠部分的坐标。rn比如:矩形1(0.0.100.100),rn矩形2(20.20.100.40),rn结果(20.20.100.60),rn这个怎么解决呢?
新人求助!!谢谢大神们了!
#includenstruct birnn int year;n int month;n int day; n;nstruct peoplenn char name[12];n struct bir date;n char sex;n char gu[17];n char tele[17]; ns[20];nmain()nnn int i,n,a,xin[20];n scanf("%d",&n);n for(i=0;i=0&&xin[i]
新手求助,谢谢大神们。
把excel中的数据读取出来放在winform里面的datagridview控件中展示时,代码执行到conn.Open();时,窗体分辨率改变了,大小变了。这是为什么啊。求大神告知。小弟新手。求帮助。谢谢大家rnrn OleDbConnection conn = new OleDbConnection(strConn);rn tryrn rn conn.Open();//窗体分辨率改变了????rn OleDbDataAdapter adapter = new OleDbDataAdapter(strExcel, strConn);rn adapter.Fill(ds, strSheetName);rn
求助大神们~~报错看不懂= =
#include rnvoid MyFunc(void);rnclass Exptrnrnpublic:rn Expt();rn ~Expt();rn const char *ShowReason() constrn return "Expt类异常";rn;rnclass Demornpublic:rn Demo();rn ~Demo();rn;rnDemo::Demo()rncout<<"构造Demo。"<
大神们~~ffmpeg命令求助
我想转换pcm格式的音频,8位单声道8khz的alaw的pcm,转换成mp3rn我调用命令行ffmpeg -i E:\test.pcm E:\123.mp3,执行会有问题,rn[img=https://img-bbs.csdn.net/upload/201407/04/1404435568_784307.png][/img]rn有木有大神告诉我,我哪儿参数有问题么,rn我把知道设置音频参数的都用上了还是报同样的错,rnffmpeg -i E:\test.pcm -ab 8 -ar 8000 -ac 1 -acodec libmp3lame E:\123.mp3 rnps:我这用的是java
msp430f5529
原版英文资料,也可以去官方下载。切记该文档为英文原版5528和5529技术手册一样的
MSP430F5529
MSP430F5529文档里面有少部分程序,和MSP430F5529基本的资源信息,适合初学者学习
MSP430f5529
IAR for MSP430 v7.10.1 免费破解版(附注册机)。
大神们,关于出栈的问题
e1,e2,e3,e4,e5,e6入栈,为什么不是e6,e5,e4,e3,e2,e1,而是e2,e4,e3,e6,e,5,e1?是限制在表的一端同时进行插入和删除的问题?所以进入一个以上就要删除(出栈)
询问大神们 关于自动化测试
现在在用惠普的UFT做自动化测试 想询问下有 惠普UFT自动化测试 的认证么 ,怎么去考取呢 百度找了找了没找到,求传送门 或者相关信息
大神们,关于anr的问题
两个apk,一个是home进程,一个是管理设定的进程。rnhome进程会通过aidl调用设定进程的接口。rnrn而发生anr时,是home发生了anr,原因是home Reason: keyDispatchingTimedOut keyrnrn而在traces.txt中,home进程的anrlog却是没有的,停留在MessageQueue.next,rn而有设定进程的SUSPENDED信息rnrn而在errorlog中,设定进程发生了OOM。rnrn问下,设定进程OOM了,如果此时home调用设定进程的接口,会导致Home发生anr吗rnrnrn
大神们 帮帮忙 关于nutch
有谁知道怎么把nutch1.5 和eclipse整合来使用 抓取网站吗 有到麻烦详细说明下 谢谢了
关于TCPSERVER,请教大神们
我用服务端用的TCPSERVER接收数据。在内网测试时没有问题,可拿到外网上测试的时候,如果接收的数据量大,就自动断开连接了。怎么回事?有什么办法解决吗
求助大神关于j2ee的
2013-05-06 16:45:30,298 ERROR org.hibernate.util.JDBCExceptionReporter:(JDBCExceptionReporter.java:101) rn - Data truncation: Data too long for column 'commend' at row 1rn五月 06, 2013 4:45:30 下午 org.apache.catalina.core.StandardWrapperValve invokernSEVERE: Servlet.service() for servlet struts threw exceptionrncom.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'commend' at row 1rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2973)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)rn at com.mysql.jdbc.Connection.execSQL(Connection.java:3004)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1128)rn at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1357)rn at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1274)rn at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1259)rn at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)rn at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:94)rn at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:57)rn at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186)rn at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666)rn at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)rn at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)rn at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)rn at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)rn at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)rn at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49)rn at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)rn at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)rn at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)rn at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)rn at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)rn at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)rn at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:358)rn at $Proxy55.persist(Unknown Source)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:197)rn at $Proxy33.persist(Unknown Source)rn at cn.itcast.service.base.DaoSupport.save(DaoSupport.java:45)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)rn at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)rn at $Proxy47.save(Unknown Source)rn at cn.itcast.web.action.product.ProductManageAction.add(ProductManageAction.java:172)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:601)rn at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)rn at cn.itcast.web.action.privilege.PrivilegeRequestProcessor.processActionPerform(PrivilegeRequestProcessor.java:37)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at cn.itcast.web.filter.SetCodeFilter.doFilter(SetCodeFilter.java:41)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at cn.itcast.web.filter.PrivilegeFilter.doFilter(PrivilegeFilter.java:31)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:722)rn这是什么问题啊??
关于tss,求助大神
下午认真再看一下tss的知识,对其中一些问题很不解。书上说因为一个任务最多可以有四种特权级,所以它要有四个栈。其中有三对指针分别为ess0,esp0,ess1,esp1,ess2,esp2.。当任务进入不同的特权级就把ess和esp切换到不同的栈。比如ring3-->ring0,则ess=ess,esp=esp0。rn1.书上说一个进程可以有多个特权级,这个该怎么理解?rn2.什么时候会发生特权级切换?rn3.比如说现在有两个特权级为3就绪进程分别为进程A和进程B。当前正在执行执行的是A。rn然后发生时钟中断,那么我理解没错的话应该是执行进程调度程序。那么应该是发生特权级切换,进入到内核态吧rn那么这时候进程A的特权级是什么?调度程序运行完比如决定让进程B执行,于是就切换到进程B,那这时又从内核态切换到用户态。那这时进程A的特权级是?
求助大神!关于google地图的
大神好,我现在是要实现学校的地图导航,用的是google的地图sdk,但是现在google上没有学校的地图,是需要自己来画还是怎么弄?因为是导航的小软件,需要计算路线什么的,自己画这个地图的话怎么可以使它能够计算路径,谢谢
求助大神 关于级联
我的需求是 客户A 只可以显示 1-3 号联系人 , 客户B只可以显示4-7的联系人 , 我做了级联。 但是用不上。 刷出页面 还是可以显示别人的联系人。 不知道怎么用~ 可以给段代码 参考下么。 或者用语言能让我理解的~ 多谢大神们!!
大神们,在线求助死循环的问题??
代码:rnfunction sum(oper)rn rn rn var ifzzb = 0;rn var izkdje = 0;rn var ihdysr = 0;rn var izfz = 0;rn var idkfz = 0;rn var ixykfz = 0;rn var ajyg=document.getElementById("ajyg").value;rn var fdbs = $("input[name='fdbs']:checked").val(); //取值rn var lv = $("input[name='lv']:checked").val(); //取值rn var qs = $("input[name='qs']:checked").val(); //取值rn var xyk1=document.getElementById("xyk1").value; rn var xyk2=document.getElementById("xyk2").value; rn var xyk3=document.getElementById("xyk3").value;rn var xyk4=document.getElementById("xyk4").value; rn var xyk5=document.getElementById("xyk5").value; rn var xyyg1=document.getElementById("xyyg1").value;rn var xyyg2=document.getElementById("xyyg2").value; rn var xyyg3=document.getElementById("xyyg3").value; rn var xyyg4=document.getElementById("xyyg4").value; rn var ihdysr=eval(ajyg*8); rn var ifzzb=eval(ajyg*8*0.75);rn var izkdje=eval(ajyg*fdbs);rn var idkfz=eval(izkdje/qs+oper+izkdje*lv);rn var ixykfz=eval(xyk1*0.1+oper+xyk2*0.1+oper+xyk3*0.1+oper+xyk4*0.1+oper+xyk5*0.1);rn var izfz=eval(idkfz+oper+ixykfz+oper+xyyg1+oper+xyyg2+oper+xyyg3+oper+xyyg4);rn var i = izkdje;rn var j = izfz;rn var m = ifzzb;rn rn dorn rn rn var i = i-1;rn var h = eval(i/qs+oper+i*lv);rn j= eval(h+oper+ixykfz+oper+xyyg1+oper+xyyg2+oper+xyyg3+oper+xyyg4);rn rn rnwhile (j <= m);rn rn var kdje = i;rnrn rn document.getElementById("kdje").value=kdje; rn rn rnrnrn rnrnrn朋友们帮我看看,运行后是个死循环,需求是:当 j<=m 时,就停止计算,获取i的值
求助,c语言大神们帮帮忙
如图,这段程序的结果出错,求帮帮忙![图片](https://img-ask.csdn.net/upload/201705/04/1493897213_932281.jpg)![图片](https://img-ask.csdn.net/upload/201705/04/1493896938_330029.jpg)
[求助帖]大神们帮帮看看错误!
#includern#includernvoid main()rn int i=0;rn double ave1,ave2,sum1=0,sum2=0,a[10],x[10],s;rn for(i=0;i<5;i++)rn rn cin>>a[i];rn sum1=sum1+a[i];rn rn ave1=sum1/5;rn for(i=0;i<5;i++)rn rn x[i]=(a[i]-ave1)*(a[i]-ave1);rn sum2=sum2+a[i];rn rn ave2=sum2/5;rn s=sqrt(ave2);rn cout<<"n个数的均方差为"<
难题求助,大神们,谢谢了
这个程序是两个程序浅度用户名整合,webconn是主站,主站和副站的头像,没有统一。现在要在副站的页面上,调用当前用户主页,访客的头像,两个站仅仅用户名一样。其它通通不一样。。如何通过这个条件,,获取主站的头像并写入当前??rn注:ob_visit 是副站的访客表,ov_user是主站用户表,里面包括user_icon用户头像。rnrnrnrnpublic class UserLabel : SystemLabelrnrn rn rn private UserInfo _userInfo = new UserInfo();rn rn public string showmyvisitor()rn rn StringBuilder builder = new StringBuilder();rn using (IDataReader reader = DbHelper.ExecuteReader("SELECT TOP 9 v.username,v.usericon,v.userid FROM ob_visit AS v WHERE v.mainuserid =" + this.userInfo.userid + " AND type= 0 ORDER BY v.PkId DESC "))rn using (IDataReader readers = DbHelper.ExecuteReader(Config.GetConnectionString("webconn").ConnectionString, null, "select * from ov_user where username = '" + this.userInfo.username + "'", CommandType.Text, null))rn rn rn builder.Append(" ").Append(" ");rn while (reader.Read())rn rn while (readers.Read())rn rn builder.Append(reader["userid"]);rn rn builder.Append(" ");rn builder.AppendFormat(" " + Utils.HtmlEncode(reader[0].ToString()) + "", Utils.FormatPhotoPath(reader[1].ToString(), 1), BlogInfo.BlogUrl, reader[2]);rn builder.Append("");rn rn builder.Append("").Append("");rn rn rn return builder.ToString();rn rnrnrnrnrn求好心大神帮助~~
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池