sql建表错误,求大神帮忙看看

drop table if exists t_progress_display;

/*==============================================================*/
/* Table: t_progress_display /
/
==============================================================*/
create table t_progress_display
(
id national varchar(32) not null,
create_time datetime default NULL comment '创建时间',
create_user varchar(32) default NULL comment '创建人',
update_time datetime default NULL comment '修改时间',
update_user varchar(32) default NULL comment '修改人',
institutions varchar(32) comment '所属驻外机构',
prj_id national varchar(32) comment '工程编码',
prj_name varchar(512) comment '工程名称',
post_sub_name varchar(512) comment '分指',
part_name varchar(512) comment '标段',
Item_name national varchar(120) comment '分项名称',
finish_fact national int,
plan_prj national int,
unit national varchar(10) comment '工程量单位',
finish_month_f int comment '本月完成比例',
plan_prj_month int comment '本月计划',
total_start int comment '开工累计',
total_percent double comment '累计完成比例',
total_year int comment '本年累计',
plan_prj_year int comment '本年计划',
name national varchar(120) comment '名称',
plan_start_date date comment '计划开始日期',
plan_end_date date comment '计划结束时间',
start_date date comment '实际开始时间',
end_date date comment '实际结束时间',
state int default 0,
primary key (id)
);
图片说明

4个回答

national int?是什么

finish_fact national int,
plan_prj national int,

finish_fact national int,
plan_prj national int,

吧national 去掉就好了

id national?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求大神帮忙 看看!!
Fatal error: Call to a member function recordcount() on a non-object in C:\Users\Administrator\Desktop\oecsm\Apache2\htdocs\classes\user.class.php on line 34rnrnrn项目更改数据库之后就报这个错!
求大神帮忙,!看看
/* 题目:一球从100米高度自由落下,rn * 每次落地后反跳回原高度的一半;rn * 再落下,求它在 第N次落地时,共经过多少米?rn * 第N次反弹多高?(将处理写到方法中,rn * 并且方法需要带一个参数,该参数表示第N次落地)rn */import java.util.Scanner;rnpublic class Test3 rnrn rn public static double method(int k)rn rn double sum=100;rn double h=100;rn for(int i=1;i<=k;i++)rn rn sum+=h/2*2;rn h=h/2;rn rn return sum;rn rn rn rnrn public static void main(String[] args)rn rn Scanner scanner=new Scanner(System.in);rn System.out.println("请输入第N次数:");rn int n=scanner.nextInt();rn double y=method(n);rn System.out.println(y);rnrn rn rn rn rn rn rnrn我的方案不行!求大神帮忙!rn
求大神帮忙看看
public static void main(String[] args)rn System.out.println(getFormatNum("0.000",1.2224));rn System.out.println(getFormatNum("0.000",1.2225));rn System.out.println(getFormatNum("0.000",1.2226));rn System.out.println(getFormatNum("0.000",0.2224));rn System.out.println(getFormatNum("0.000",0.2225));rn System.out.println(getFormatNum("0.000",0.2226));rn System.out.println(getFormatNum("0.000",2.4924));rn System.out.println(getFormatNum("0.000",2.4925));rn System.out.println(getFormatNum("0.000",2.4926));rn rn rn public static Double getFormatNum(String pattren,Double data)rn String reStr = "";rn reStr = new java.text.DecimalFormat(pattren).format(data); rn return Double.parseDouble(reStr);rn rn为什么执行结果会是rn1.222rn1.222rn1.223rn0.222rn0.223rn0.223rn2.492rn2.493rn2.493rn当个位为1时并没有按照四舍五入的规则执行
求大神帮忙看看~
";rn $datanum = mysqli_num_rows($result);rn echo "共有".$totalnum."条留言,每页".$pagesize."条,共".$totalpage."页。 ";rn for( $i = 1; $i <= $totalpage; $i++)rn echo "[".$i."] ";rn rn echo " ";rn 43 $query = "select * from message order by addtime desc limit $begin,$pagesize";rn 44 $result = mysqli_query($link,$query);rn 45 $datanum = mysqli_num_rows($result);rn for( $i = 1; $i <= $datanum; $i++)//$datanum???rn $info = mysqli_fetch_array($result);rn echo " ".$row['author']."rn ".$row['addtime']."rn ".$row['content']."";rn rn mysqli_close($link)rn ?>rnrnrnrnrnrnrnrnwamp报错:Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:\wamp64\www\message\ceshi1.php on line 45rnrn $datanum = mysqli_num_rows($result);也就是这一行错误,跪求~
求大神帮忙看看!!!
>>> a = [1, 2]rn>>> b = arn>>> print b.append(3)rnNonernrnrnrn我查看了 a 和b的id, 是一样的 rnprint b 也确实显示出 【1, 2】rnrn为什么 调用append()方法打印出来是None。rnrn是赋值只是把值赋值过去,列表的方法不能调用?
求大神帮忙看看这个错误
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)
求大神们帮忙看看错误在哪
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 (...
求大神帮忙看看,这个是什么错误
[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调用扫描二维码,从拍照界面返回到原来界面时,动一下就报错,求人帮忙看看这个什么错误,为何在平板上报错,在我的手机上却能正常运行
求大神帮忙看看 是哪里的错误
[img=https://img-bbs.csdn.net/upload/201511/18/1447814960_170082.png][/img]
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
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,"用户名或密码错误!");rn rn rn rnrn错误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)
求大神帮忙看看。。。。。关于sql语句。。。。。
我先定义了 int型的a 赋值为quytitle的查询的一个结果rn然后定义了 int型的c 赋值为a+某个数rn然后同样使用quytitle执行下面的语句 rnquytitle->SQL->Add("update titles set ytd_sales="+c+" where title_id='"+title_id->Text+"'");rn编译器错误提示:rn[C++ Error] Unit1.cpp(122): E2085 Invalid pointer additionrn大家帮忙看看 怎么回事儿
C#+后台SQL,求大神帮忙看看!
private void button1_Click(object sender, EventArgs e)rn rn if (this.textBox1.Text.Trim() == "")rn rn MessageBox.Show("请输入用户名", "信息");rn rn if (this.textBox2.Text.Trim() == "")rn rn MessageBox.Show("请输入密码", "信息");rn rn elsern rn string sql = "server=.;uid=sa;pwd=;database=st";rn SqlConnection con = new SqlConnection(sql);rn con.Open();rn string str = "select * from userinfo where userid='" + textBox1.Text.Trim() + "' and passwd='" + textBox2.Text.Trim() + "'";rn SqlCommand cmd = new SqlCommand(str, con);rn SqlDataReader read = cmd.ExecuteReader();rn if (read.Read())rn rn form2 f=new form2();rn f.show();rn rn elsern rn MessageBox.Show("登录失败","信息");rn rnrn rnrnrn我想在SQL里面加入教师、学生、管理员,三个身份验证,就是在登录的时候,多一个身份验证,在C#里面,如果是教师登录、则调用出教师程序框体,学生登录、则调用出学生程序框体。请问大神们怎么修改?
SQL l连表查询 求大神帮忙看看
select y_num_e,m_num_e,deptname fromrn(rnselect sum(re_c.rdlc_num) y_num_e,de.deptname from REPORTVIEWER_count re_c left join hum_list h on re_c.user_id=h.human_sidrninner join department de on de.dept_id=h.dept_id rninner join s_hse_ticket s on s.reghumsid=h.human_sidrnwhere to_char(re_c.create_date,'yyyy')=to_char(sysdate,'yyyy') and s.erifystate='完成' group by re_c.rdlc_num,de.deptnamernunion allrnselect sum(re_c.rdlc_num) m_num_e,de.deptname from REPORTVIEWER_count re_c left join hum_list h on re_c.user_id=h.human_sidrninner join department de on de.dept_id=h.dept_id rninner join s_hse_ticket s on s.reghumsid=h.human_sidrnwhere to_char(re_c.create_date,'mm')=to_char(sysdate,'mm') and s.erifystate='完成' group by re_c.rdlc_num,de.deptnamern)rn如上 报错m_num_e标识符无效 单查询只有字段y_num_e,deptname 原来这样做没出现过这样的问题 rn请各位大神看看是不是哪写错了
sql错误 帮忙看看
DECLARE @X INT rnSET @X = 2rnSELECT TOP @X * FROM USER_INFOrnrnrn这样写是错的 rnrn怎么样写才是正确的啊
求大神看看错误原因!!!
程序类名叫LogCleanJob,我按照命令hadoop jar运行报错,网上说是classpath的问题,可是我的classpath没问题,jar包也都导入了![图片说明](https://img-ask.csdn.net/upload/201612/09/1481280991_365812.png)
求各位大神帮忙看看
用c写的一个关于把视频转换成图片的程序,但是一直显示不出来,然后出现下面这个rn“delect.exe”: 已加载“E:\my projects\delect\Debug\delect.exe”,已加载符号。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\ntdll.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\kernel32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\KernelBase.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\system\highgui100.dll”,Cannot find or open the PDB filern“delect.exe”: 已加载“C:\Windows\system\cxcore100.dll”,Cannot find or open the PDB filern“delect.exe”: 已加载“C:\Windows\SysWOW64\user32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\gdi32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\lpk.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\usp10.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\msvcrt.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\advapi32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\sechost.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\rpcrt4.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\sspicli.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\cryptbase.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\system\libguide40.dll”,未使用调试信息生成二进制文件。rn“delect.exe”: 已加载“C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_ec86b8d6858ec0bc\comctl32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\avifil32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\winmm.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\ole32.dll”,已加载符号。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\msacm32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\msvfw32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\shell32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\shlwapi.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\avicap32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\version.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\msvcr100d.dll”,已加载符号。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\imm32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\msctf.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\uxtheme.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\clbcatq.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\oleaut32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\apphelp.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\SogouPY.ime”,Cannot find or open the PDB filern“delect.exe”: 已加载“C:\Windows\SysWOW64\msimg32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\ws2_32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\nsi.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\oleacc.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\ntmarta.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\Wldap32.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\dwmapi.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“E:\sougou\SogouInput\Components\PicFace\1.0.0.1272\PicFace.dll”,Cannot find or open the PDB filern“delect.exe”: 已加载“E:\sougou\SogouInput\7.5.0.5674\Resource.dll”,未使用调试信息生成二进制文件。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\profapi.dll”,已加载符号(去除源信息)。rn“delect.exe”: 已加载“C:\Windows\SysWOW64\psapi.dll”,已加载符号(去除源信息)。rn线程 'Win32 线程' (0xa08) 已退出,返回值为 0 (0x0)。rn线程 'Win32 线程' (0x29a0) 已退出,返回值为 0 (0x0)。rn线程 'Win32 线程' (0x16e4) 已退出,返回值为 0 (0x0)。rn线程 'Win32 线程' (0x24f4) 已退出,返回值为 0 (0x0)。rn线程 'Win32 线程' (0x2abc) 已退出,返回值为 0 (0x0)。rn程序“[9916] delect.exe: 本机”已退出,返回值为 0 (0x0)。rn
matlab 求大神帮忙看看
[img=https://img-bbs.csdn.net/upload/201804/21/1524307765_259653.png][/img]rnrn如何用matlab实现
求大神帮忙看看内联汇编
有一个gcc下AT$T格式的内联汇编函数,就几行,要转到windows下masm格式的,实现的是rncompare-and-swap的一个基本操作,求大神帮忙看看,感激不尽!!rnrninline bool CAS(long *ptr, long oldv, long newv) rn rn unsigned char ret;rn /* Note that sete sets a 'byte' not the word */rn __asm__ __volatile__ ( // AT&T assemblyrn " lock\n"rn " cmpxchgq %2,%1\n"rn " sete %0\n"rn : "=q" (ret), "=m" (*ptr)rn : "r" (newv), "m" (*ptr), "a" (oldv)rn : "memory");rn return ret;rn rn
求各位大神帮忙看看~!
各位大哥好,我现在在一家五星级酒店实习,做系统维护工作。他们那个客房电脑系统是用的网吧的系统,现在就是老是出现卡频,自动死机重启,还有就是自动断网重启 ,我们让做系统的来看了的,他们说要限制那个上传和下载的速度。可是改了之后比以前还不如了,我们纠结了半天,都没有弄明白到底是哪里出问题了,哪位大哥能帮忙解决哈!
求高手,大神帮忙看看.....
我做一个struts2的下载,但是,弹不出保存的对话框,整了很久都没有效果,一看,才知道,[img=https://img-bbs.csdn.net/upload/201310/27/1382864710_718899.jpg][/img]rn就是Content-Disposition:返回为空。rnrn我的struts配置是:rnrn rn rn downloadFilern $mimeTypern attachment;filename="$fileName" rn 100000rn rnrnrn代码如下:rnpublic String getFileName()rn try rn return new String(fileName.getBytes(), "ISO8859-1");rn catch (UnsupportedEncodingException e) rn e.printStackTrace();rn return this.fileName;rn rnrnpublic void setFileName(String fileName) rn try rn this.fileName = new String(fileName.getBytes("ISO-8859-1"),"UTF-8");rn catch (UnsupportedEncodingException e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn rn rn public String download()rn mimeType = context.getMimeType(fileName);rn return "success";rn rn public InputStream getDownloadFile() throws UnsupportedEncodingExceptionrn rn String path = "/file/";rn // 取得目录文件流返回。rn inStream = context.getResourceAsStream(path+fileName);rn return inStream; rn rnrn求各位能给看看是什么情况,谢谢了。rnrnrn
求大神进来帮忙看看
输入gsettings set com.canonical.Unity.launcher launcher-position Bottom 报错 怎么也调整不到下面。输入以上命令就出错
求大神帮忙 诡异错误
我用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;i<24;i++)rn for(j=248; j>0; 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");还会乱码 但是不加 程序运行完全正确
建表错误,帮忙~
建表的时候发现错误,信息如下,是什么原因?rnrnError Code No. : ORA-02217: duplicate storage option specificationrnrn--------------------------------------------------------------------------------------------------------rnCREATE TABLE SESS.TADIS_PR_HIS (rn ID NUMBER(10,0) NOT NULL,rn FID NUMBER(10),rn ZID NUMBER(10),rn RCNT NUMBER(10),rn USERID VARCHAR2(10),rn LOGINID VARCHAR2(10),rn TITLE VARCHAR2(255) NOT NULL,rn CONTENT VARCHAR2(2500),rn ATTACH VARCHAR2(5),rn ATTACHPATH VARCHAR2(100),rn FILENAME VARCHAR2(100),rn DATETIME VARCHAR2(30),rn CONSTRAINT PK_TADIS_PR_HIS PRIMARY KEY ( ID )rn)rn PCTUSED 60rn STORAGE(rn NEXT 50 M rn MINEXTENTS 1rn NEXT 10 M rn NEXT 10 M rn PCTINCREASE 10rn )rn TABLESPACE SBL_EDBrn
sql语句,求大神帮忙
主从表,FID关联rn主表内容:rnFID FNAME HOUDU MENDIANrn 1 H123 1.2 ABrn 2 H278 1.2 IJrnrn从表内容rnFID FTYPE ALIAS(别名) FPRICE(单价)rn 1 箱包 K186 24rn 1 鞋材 H123 27rn 2 箱包 H278 32rnrn查询结果rnrnFID FNAME HOUDU 箱包 鞋材 箱包单价 鞋材单价rn 1 H123 1.2 K186 H123 24 27rn 2 H278 1.2 H278 32
求SQL大神帮忙解决问题!!!!!
这段SQL就是要查出某一个ID值在数据库全局的使用情况,然后用新的ID替换掉原来的数据。rn但是会一直报错,如图,求解!如果有更好的写法更好!rnrn```rn declare @str varchar(100)rnset @str='3a28c205-df29-40b0-b246-74fd8aa70a12';rndeclare @tablea table(name sysname, status tinyint, xusertype smallint, id int)rninsert into @tablea rnselect name,status,xusertype,id from syscolumns;rndeclare @tableb table(name sysname, xtype char(2), id int)rninsert into @tableb rnselect name,xtype,id from sysobjects;rndeclare @tableNmae varchar(100);rndeclare @columnName varchar(100);rndeclare @query varchar(8000);rndeclare @updateSql varchar(8000)rndeclare curs cursor local forrnrn select query = 'if exists(select 1 from ['+b.name+'] where ['+a.name+'] like ''%'+@str+'%'') print ''所在的表及字段: ['+b.name+'].['+a.name+']''' rn from @tablea a join @tableb b on a.id=b.idrn where b.xtype='U' and a.status>=0 and a.xusertype in(175,239,231,167) ;rn select @tableNmae = name from @tableb ;rn select @columnName = name from @tablea;rn select @updateSql = 'UPDATE '+@tableNmae+ ' SET '+ @columnName+' = LOWER(NEWID()) WHERE '+ @columnName+ 'like ''%'+ @str +'%'''rnopen cursrnrnfetch next from curs into @queryrnwhile @@fetch_status=0 beginrn exec(@query) rnrn exec(@updateSql)rnrnfetch next from curs into @queryrnendrnclose cursrndeallocate cursrnrn```rnrnrnrn图片:rn![图片说明](https://img-ask.csdn.net/upload/201708/07/1502077391_266734.png)rn
求大神帮忙 SQL语句的
我的数据库里有一些数据,但是列vcContent中有重复的,但每个事件都有对应的不同的完成度vcCompletePercent,例如30%、40%、50%,我想用SQL语句按照事件选出完成度最大的数据,按照事件分,就是每个事件只选一条(最大的),选出的数据得是此事件的完整信息,就是包括其他的我没提到的列。。。rn 哪位大神可以给个SQL语句~~~
求一句SQL,大神帮忙
Table:rnrnDocnum statusrn33 Fullrn33 NoFullrn34 Fullrn35 Fullrn35 NoFullrn36 Fullrn37 Fullrn38 Full rn38 NoFullrnrn结果需求:rn34rn36rn37rn
求sql大神帮忙,急急。。。
有姓名和年龄两个字段,姓名有重复,要求查出所有的姓名和年龄,姓名重复的只查出年龄最大的那一个。再一个,查出重复次数最多的姓名。
求SQL Server大神帮忙~
我先装的VS2010 然后才装的SQL2008R2,不知道这个有没有影响rn[img=http://photo.renren.com/photo/238399197/photo-5503295257][/img]rn上图是我打开VS2010的服务器资源管理器 能搜到我打开的服务器,但是数据库连接不到rnrnhttp://photo.renren.com/photo/238399197/photo-5503295257#/238399197/photo-5503295258rn这张是连接服务器时候弹出来的错误rnrn网上很多内容都是 2005连接VS2008的例子。很多东西不一样了,我也不太明白。我只改了SQL Server网络配置,打开了TCP/IP,Named Pips,等4个协议。rn另外貌似还需要改web.config。可是我也不太明白,找到的例子里面都是需要有用户名和密码的,但是我的数据库选择的是window用户验证,不知道是不是和这个有关系。 具体代码是下面这段:rn rn rn rnrn跪求大神降临啊,小的恭候大驾。。。。 是在是摸爬滚打泪奔一天了,吃不消了
求大神帮忙写个sql
原sql是这样的rn[code=sql]SELECT YEARrn ( edc_Date ) AS 年,rn MONTH ( edc_Date ) AS 月,rn CONVERT (rn VARCHAR,rn YEAR ( edc_Date )) + '年' + CONVERT ( VARCHAR, MONTH ( edc_Date ) ) + '月' AS nianyue,rn--edc_Actualmoney 是实收 edc_Shouldmoney 是应收rn ROUND( SUM ( isnull( edc_Actualmoney, 0 ) ) * 1.000, 1 ) / ROUND( SUM ( isnull( edc_Shouldmoney, 0 ) ) * 1.000, 1 ) AS 收缴率 rnFROMrn EveryDayCollection rnWHERErn edc_state = 1 rnGROUP BYrn YEAR ( edc_Date ),rn MONTH (rn edc_Date rn )[/code]rn效果是这样的rn[img=https://img-bbs.csdn.net/upload/201904/16/1555394618_501020.png][/img]rn但是说不对 要改成 比如现在是2019年四月,四月的数据我得从2019年1月累计到4月 如果现在是三月 我就得从1月累积到3月,就这样求大神帮我改改 谢谢
求大神帮忙sql语句
假如公司每个部门本有一个部长和副部长位置,寻找公司员工张三部门的领导副部长姓名,如果该员工部门副部长没有人,则寻找部长姓名
求大神帮忙解决 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]
求帮忙看看错误,谢谢
A OpenFileDialog .hrn#ifndef OPENFILEDIALOG_Hrn#define OPENFILEDIALOG_Hrnrn#include rn#include "QFileDialog"rn#include "QString"rnrnclass OpenFileDialog : public QDialogrnrn Q_OBJECTrnrnpublic:rn OpenFileDialog(QWidget *parent = 0);rn ~OpenFileDialog();rn QString filename;rn;rnrn#endif // OPENFILEDIALOG_HrnrnB OpenFileDialog .cxxrn#include "OpenFileDialog.h"rn#include rn#include rnrnOpenFileDialog::OpenFileDialog(QWidget *parent): QDialog(parent)rn rn QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")) ;rn filename = QFileDialog::getOpenFileName(this,rn tr("选择文件"), rn "", rn tr("Files (*.txt)")); //选择路径 rn if(filename.isEmpty()) rn rn return; rn rnrnrnrnOpenFileDialog::~OpenFileDialog()rnrnrnrnrn1 严重性 代码 说明 项目 文件 行 禁止显示状态rn错误 LNK2019 无法解析的外部符号 "public: virtual __cdecl OpenFileDialog::~OpenFileDialog(void)" (??1OpenFileDialog@@UEAA@XZ),该符号在函数 "private: void __cdecl MainImageWindow::on_actionAddTransformInit_2_triggered(void)" (?on_actionAddTransformInit_2_triggered@MainImageWindow@@AEAAXXZ) 中被引用 ITK-SNAP E:\DeepIRT\DeepIRT2.0\SNAP3.6\itksnapui_qt.lib(MainImageWindow.obj) 1 rn2 严重性 代码 说明 项目 文件 行 禁止显示状态rn错误 LNK2019 无法解析的外部符号 "public: __cdecl OpenFileDialog::OpenFileDialog(class QWidget *)" (??0OpenFileDialog@@QEAA@PEAVQWidget@@@Z),该符号在函数 "private: void __cdecl MainImageWindow::on_actionAddTransformInit_2_triggered(void)" (?on_actionAddTransformInit_2_triggered@MainImageWindow@@AEAAXXZ) 中被引用 ITK-SNAP E:\DeepIRT\DeepIRT2.0\SNAP3.6\itksnapui_qt.lib(MainImageWindow.obj) 1 rn3 严重性 代码 说明 项目 文件 行 禁止显示状态rn错误 LNK1120 2 个无法解析的外部命令 ITK-SNAP E:\DeepIRT\DeepIRT2.0\SNAP3.6\Debug\ITK-SNAP.exe 1 rn
sql建表语句错误????
各位帮忙修改一下这段代码rn我找不出来错误rnrnCREATE tabale 'Books' `$tabale` ('ChapterId' int(20) auto_increment,rn 'ChapterName' varchar(50) not null unique,rn 'ChapterUrl' varchar(50) not null unique,rn 'PlBookId' int(20) not null,rn PRIMARY KEY ('ChapterId'),rn FOREIGN KEY ('PlBookId') REFERENCES book('BookId')rn )ENGINE = MYISAM
SQL错误呀,帮忙看看。。
意思是这样:rnselect a.*, b.field_1 from rn( select * from .....) as a,rn( select b.field_1,b.field_2 from .....) as brnwhere a.id=b.id and ....rnrnrna有数据,而b为空,rn为何输出就空了,如何才能在b无数据的时候让a的数据输出,不知这样大家有没有明白?
sql错误 帮忙看看啊
[code=C#] string StrSQL = "UPDATE * FROM v_Company SET Company_Name = " +rn "@Company_Name,Abbreviation = @Abbreviation ," +rn " Company_Address = @Company_Address, Company_Tel = " +rn "@Company_Tel,Company_Explain = @Company_Explain WHERE User_ID=@User_ID";rn SqlConnection DbConn = new DataBase().Open();rn SqlCommand thisCommand = DbConn.CreateCommand();rn thisCommand.CommandText = StrSQL;rn thisCommand.CommandType = CommandType.Text;rn thisCommand.Parameters.Add("@Company_Name", SqlDbType.NVarChar, 20).Value = Company_Name.Text;rn thisCommand.Parameters.Add("@Abbreviation", SqlDbType.NVarChar, 10).Value = Abbreviation.Text;rn thisCommand.Parameters.Add("@Company_Address", SqlDbType.NVarChar, 50).Value = Company_Address.Text;rn thisCommand.Parameters.Add("@Company_Tel", SqlDbType.VarChar, 20).Value = Company_Tel.Text;rn thisCommand.Parameters.Add("@Company_Explain", SqlDbType.NVarChar, 4000).Value = Company_Explain;rn thisCommand.Parameters.Add("@User_ID", SqlDbType.NVarChar, 20).Value = UserId;rn int Count = thisCommand.ExecuteNonQuery();rn DbConn.Close();[/code]rnrn出现错误rn System.InvalidCastException: 对象必须实现 IConvertible。rnrn这是什么原因啊
大神帮忙看看这是什么错误?
07-24 10:22:16.461: E/AndroidRuntime(8394): FATAL EXCEPTION: mainrn07-24 10:22:16.461: E/AndroidRuntime(8394): Process: com.example.test, PID: 8394rn07-24 10:22:16.461: E/AndroidRuntime(8394): java.lang.RuntimeException: Unable to start activity ComponentInfocom.example.test/com.android.activity.FristActivity: android.content.res.Resources$NotFoundException: Resource ID #0x0rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2464)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2526)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.ActivityThread.access$800(ActivityThread.java:169)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.os.Handler.dispatchMessage(Handler.java:111)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.os.Looper.loop(Looper.java:194)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.ActivityThread.main(ActivityThread.java:5549)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at java.lang.reflect.Method.invoke(Native Method)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at java.lang.reflect.Method.invoke(Method.java:372)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)rn07-24 10:22:16.461: E/AndroidRuntime(8394): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.content.res.Resources.getValue(Resources.java:1442)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.content.res.MiuiResources.getValue(MiuiResources.java:145)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.content.res.Resources.loadXmlResourceParser(Resources.java:2903)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.content.res.Resources.getLayout(Resources.java:1222)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.view.LayoutInflater.inflate(LayoutInflater.java:416)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.view.LayoutInflater.inflate(LayoutInflater.java:365)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:400)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.Activity.setContentView(Activity.java:2168)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at com.android.activity.FristActivity.onCreate(FristActivity.java:20)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.Activity.performCreate(Activity.java:5975)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)rn07-24 10:22:16.461: E/AndroidRuntime(8394): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)rn07-24 10:22:16.461: E/AndroidRuntime(8394): ... 10 more
大神帮忙看看这是asm-jar错误吗
[code=java]严重: 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 URL [file:/E:/apache-tomcat-6.0.41/webapps/a/WEB-INF/classes/applicationContext-core.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerErrorrn 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:587)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:4210)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)rn at org.apache.catalina.core.StandardService.start(StandardService.java:525)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rnCaused by: java.lang.ExceptionInInitializerErrorrn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:277)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.IllegalStateException: Expected method not found: java.lang.NoSuchMethodException: org.hibernate.cfg.Configuration.addAnnotatedClass(java.lang.Class)rn at org.springframework.util.ClassUtils.getMethod(ClassUtils.java:638)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.(LocalSessionFactoryBuilder.java:79)rn ... 39 morern2014-7-21 16:44:47 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2014-7-21 16:44:47 org.apache.catalina.core.StandardContext startrn严重: Context [/a] startup failed due to previous errors[/code]rnrn[img=https://img-bbs.csdn.net/upload/201407/21/1405932373_86377.png][/img]
指针的引用传参错误,大神帮忙看看
#include "stdio.h"rn#include "conio.h"rnrnmain()rn rn int * p1 = NULL;rn text(p1);rn printf("p1=%d\n",p1);rnrnrnvoid text(int * &p2) //这里winTC错误rnrn int a =1;rn *p2 = a;rn printf("p2=%d\n",p2);rnrnrn这样写对么,p1指向的值会因为p2指向a而改变么,定义函数text显示错误,不知道为什么
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数