这是什么情况? [问题点数:20分,结帖人rrrfff]

Bbs6
本版专家分:7435
Blank
黄花 2012年1月 C/C++大版内专家分月排行榜第二
结帖率 100%
Bbs10
本版专家分:139156
版主
Blank
进士 2018年总版新获得的技术专家分排名前十
2017年 总版技术专家分年内排行榜第六
Blank
金牌 2018年1月 总版技术专家分月排行榜第一
2016年12月 总版技术专家分月排行榜第一
2016年11月 总版技术专家分月排行榜第一
2016年10月 总版技术专家分月排行榜第一
Blank
优秀版主 2016年10月优秀大版主
2016年8月优秀大版主
Blank
银牌 2018年5月 总版技术专家分月排行榜第二
2017年12月 总版技术专家分月排行榜第二
2016年9月 总版技术专家分月排行榜第二
这是什么情况
开源中国杂写
加入注解操作:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0102/2247.html 开源中国android app代码托管地址:http://www.oschina.net/news/62434/oschina-android-app-2-0-opensource
这是什么情况,第一次创建项目
郁闷ing,这是什么情况
正常javac test.javarn可是java testrn出现D:\java\jsp>java testrnException in thread "main" java.lang.UnsupportedClassVersionError: ternrted major.minor version 49.0)rn at java.lang.ClassLoader.defineClass0(Native Method)rn at java.lang.ClassLoader.defineClass(Unknown Source)rn at java.security.SecureClassLoader.defineClass(Unknown Sourcern at java.net.URLClassLoader.defineClass(Unknown Source)rn at java.net.URLClassLoader.access$100(Unknown Source)rn at java.net.URLClassLoader$1.run(Unknown Source)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClass(Unknown Source)rn at java.lang.ClassLoader.loadClassInternal(Unknown Source)rn<em>这是</em>什么问题呢,在java -version 时候出现的版本号也不对……(windows平台)
这是一种什么情况!!!
[size=18px]比如说:rnrn$str="abcadef";rn$strone=$str[0];rnfor($i=0;$i
这是什么情况...
#includernusing namespace std;rnclass Stringrnrn public:rn String(char *p)ch=p;cout<<<
这是什么情况!struts2
rn[code=Java]rn public void setMinPrice(Float minPrice) rn System.out.println(minPrice);rn this.minPrice = minPrice;rn rnrnrn[/code]rn当我在http://A?minPrice=0rn时,他不设置。请问要怎么办。rn
VMware10.0这是什么情况
我电脑装了VMware10.0后来又重装了一下,然后yo
这是什么情况啊??
2011-5-20 15:57:28 org.apache.coyote.http11.Http11BaseProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8086rn2011-5-20 15:57:28 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 750 msrn2011-5-20 15:57:28 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-5-20 15:57:28 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.5.16rn2011-5-20 15:57:28 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2011-5-20 15:57:28 org.apache.catalina.core.StandardContext resourcesStartrn严重: Error starting static Resourcesrnjava.lang.IllegalArgumentException: Document base D:\apache-tomcat-5.5.16\webapps\HOMS does not exist or is not a readable directoryrn at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)rn at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3814)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:3985)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)rn at org.apache.catalina.core.ContainerBase.start(Cwww.cctv40.cnontainerBase.java:1013)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)rn at org.apache.catalina.core.StandardService.start(StandardService.java:450)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:551)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:585)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-5-20 15:57:28 org.apache.catalina.core.StandardContext startrn严重: Error in resourceStart()rn2011-5-20 15:57:29 org.apache.catalina.core.StandardContext startrn严重: Error getConfiguredrn2011-5-20 15:57:29 org.apache.catalina.core.StandardContext startrn严重: Context [] startup failed due to previous errorsrn2011-5-20 15:57:29 org.apache.catalina.core.StandardContext stoprn信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/] has not been startedrn2011-5-20 15:57:29 org.apache.coyote.http11.Http11BaseProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8086rn2011-5-20 15:57:29 org.apache.catalina.startup.Catalina startrn信息: Server startup in 922 ms
请问大神这是什么情况
错误代码:rn01-18 17:51:17.310 11520-11520/com.example.administrator.database_test E/Trace﹕ error opening trace file: No such file or directory (2)rn01-18 17:51:17.440 11520-11520/com.example.administrator.database_test E/AndroidRuntime﹕ FATAL EXCEPTION: mainrn java.lang.RuntimeException: Unable to instantiate activity ComponentInfocom.example.administrator.database_test/com.example.administrator.database_test.MainActivity: java.lang.NullPointerExceptionrn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)rn at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)rn at android.app.ActivityThread.access$600(ActivityThread.java:141)rn at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)rn at android.os.Handler.dispatchMessage(Handler.java:99)rn at android.os.Looper.loop(Looper.java:137)rn at android.app.ActivityThread.main(ActivityThread.java:5041)rn at java.lang.reflect.Method.invokeNative(Native Method)rn at java.lang.reflect.Method.invoke(Method.java:511)rn at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)rn at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)rn at dalvik.system.NativeStart.main(Native Method)rn Caused by: java.lang.NullPointerExceptionrn at android.app.Activity.findViewById(Activity.java:1839)rn at com.example.administrator.database_test.MainActivity.(MainActivity.java:15)rn at java.lang.Class.newInstanceImpl(Native Method)rn at java.lang.Class.newInstance(Class.java:1319)rn at android.app.Instrumentation.newActivity(Instrumentation.java:1054)rn at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)rn            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)rn            at android.app.ActivityThread.access$600(ActivityThread.java:141)rn            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)rn            at android.os.Handler.dispatchMessage(Handler.java:99)rn            at android.os.Looper.loop(Looper.java:137)rn            at android.app.ActivityThread.main(ActivityThread.java:5041)rn            at java.lang.reflect.Method.invokeNative(Native Method)rn            at java.lang.reflect.Method.invoke(Method.java:511)rn            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)rn            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)rn            at dalvik.system.NativeStart.main(Native Method)rnrnrnrnrnandroidmanifest代码:rnrnrnrn rn rn rn rnrn rn rn rn rnrnrnrnrnMainActivity代码:rnpackage com.example.administrator.database_test;rnrnimport android.app.Activity;rnimport android.os.Bundle;rnimport android.view.Menu;rnimport android.view.MenuItem;rnimport android.view.View;rnimport android.widget.Button;rnimport android.widget.EditText;rnrnrnpublic class MainActivity extends Activity rnrnrn Button bt1 = (Button)findViewById(R.id.bt1);rn Button bt2 = (Button)findViewById(R.id.bt2);rn Button bt3 = (Button)findViewById(R.id.bt3);rn EditText et1 = (EditText)findViewById(R.id.ed1);rn EditText et2 = (EditText)findViewById(R.id.ed2);rn EditText et3 = (EditText)findViewById(R.id.ed3);rn EditText et4 = (EditText)findViewById(R.id.ed4);rn EditText et5 = (EditText)findViewById(R.id.ed5);rn EditText et6 = (EditText)findViewById(R.id.ed6);rn DataBaseHelper dataBaseHelper = new DataBaseHelper(this);rnrn @Overridern protected void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.activity_main);rn bt1.setOnClickListener(new Button.OnClickListener() rn @Overridern public void onClick(View v) rn dataBaseHelper.DB_Insert(et1.getText().toString(), et2.getText().toString());rn rn );rnrnrn bt2.setOnClickListener(new Button.OnClickListener()rn @Overridern public void onClick(View v) rn dataBaseHelper.DB_Update(et3.getText().toString(), et4.getText().toString());rn rn );rnrnrn bt3.setOnClickListener(new Button.OnClickListener()rn @Overridern public void onClick(View v) rn et6.setText(dataBaseHelper.Information(et5.getText().toString()));rn rn );rnrn rnrn @Overridern public boolean onCreateOptionsMenu(Menu menu) rn // Inflate the menu; this adds items to the action bar if it is present.rn getMenuInflater().inflate(R.menu.menu_main, menu);rn return true;rn rnrn @Overridern public boolean onOptionsItemSelected(MenuItem item) rn // Handle action bar item clicks here. The action bar willrn // automatically handle clicks on the Home/Up button, so longrn // as you specify a parent activity in AndroidManifest.xml.rn int id = item.getItemId();rnrn //noinspection SimplifiableIfStatementrn if (id == R.id.action_settings) rn return true;rn rnrn return super.onOptionsItemSelected(item);rn rnrnrnrn类DataBaseHelper代码:rnpackage com.example.administrator.database_test;rnrnimport android.content.ContentValues;rnimport android.content.Context;rnimport android.database.Cursor;rnimport android.database.sqlite.SQLiteDatabase;rnimport android.database.sqlite.SQLiteException;rnimport android.database.sqlite.SQLiteOpenHelper;rnrnrnclass DataBaseHelper rnrn public final static String TABLE_NAME = "CheckOut_List";rn public final static int TABLE_VERSION = 1;rn public final static String ID = "id";rn public final static String TIME = "time";rn private SQLiteDatabase read;rn private SQLiteDatabase write;rn private DataBaseCreate dataBaseCreate;rn private Context context;rnrnrnrn public DataBaseHelper(Context context)rn this.context = context;rn dataBaseCreate = new DataBaseCreate(context);rn read = dataBaseCreate.getReadableDatabase();rn write = dataBaseCreate.getWritableDatabase();rn rnrnrnrn private class DataBaseCreate extends SQLiteOpenHelperrnrnrn public DataBaseCreate(Context context) rn super(context, TABLE_NAME, null, TABLE_VERSION);rn rnrn public void onCreate(SQLiteDatabase db) rn try rn db.execSQL("CREATE TABLE" + TABLE_NAME + "(id INTEGER PRIMARY KEY AUTOINCREMENT,time);");rn catch (SQLiteException e) rn e.printStackTrace();rn rnrn rnrn @Overridern public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) rnrn rn rnrnrnrn public void DB_Insert(String newid,String newtime) rn ContentValues cv = new ContentValues();rn cv.put("id",newid);rn cv.put("time",newtime);rn write.insert("CheckOut_List",null,cv);rnrn //getWritableDatabase();rn //db.execSQL("insert into" + TABLE_NAME + "(" + ID + "," + TIME + ") values(?,?)",new Object[]newid,newtime);rn rnrnrn public void DB_Update(String newid,String newtime)rn ContentValues cv = new ContentValues();rn cv.put("time",newtime);rn write.update("CheckOut_List", cv, "id = ?", new String[]newid);rn rn public void DB_Delete()rn rnrn public void DB_Close() rnrn rnrnrn public String Information(String id)rn Cursor cursor;rn String newid ="" ,time="";rn cursor = dataBaseCreate.getReadableDatabase().rawQuery("select * from CheckOut_List where id=?", new String[]id);rn if (cursor.moveToNext())rn newid = cursor.getString(cursor.getColumnIndex("id"));rn time = cursor.getString(cursor.getColumnIndex("time"));rn rnrn //stu_inf.getInf(newid,time);rn return time;rnrn rnrnrn
[python]这是什么情况
<em>这是</em><em>什么情况</em>,打印的结果第一条据然比最后一条大?rn453125rn437500rnrn[code=python]rndef t3():rn print(datetime.datetime.now().microsecond)rn str = "datetime.datetime.now().microsecond"rn i = 0rn rn while i < 100000:rn str += "_datetime.datetime.now()"rn i += 1 rnrn print(datetime.datetime.now().microsecond)rn[/code]
请问这是什么情况
<em>这是</em>sqlrnINSERT INTO `swcms_income` (`uid`,`sgss`,`date`,`status`) SELECT '18','4.76','20130101',TRUE FROM dual WHERE not exists (SELECT `uid`,`date`,`status` FROM `swcms_income` WHERE `uid`='18' AND `date`='20130101' AND `status`=TRUE)rnrn报错rnTable has no partition for value 735234rnrn请问怎么解决
这是什么情况? 类型转换问题
我直接写sql没问题( select Exam_result from view_exam where Exam_UserID=124)rn写成下面动态的就报错([color=#FF0000]在将 varchar 值 'select Exam_result from view_exam where Exam_UserID=' 转换成数据类型 int 时失败。[/color])rn[img=https://img-bbs.csdn.net/upload/201610/31/1477893382_176381.png][/img]
VS2010这是什么情况
Win7,VS2010 SP1,MFC对话框项目rn不知做了什么,rnvirtual void DoDataExchange(CDataExchange* pDX);rn这个函数被自动注释掉了rn一运行就崩掉rnrn然后,右键对话框里的任一控件 添加变量(也可在菜单“项目”里添加变量),就弹出rn无法更新 DoDataExchange 方法rn[img=http://img.my.csdn.net/uploads/201210/15/1350270265_9411.jpg][/img]rn接着VS就崩掉了,重启rn[img=http://img.my.csdn.net/uploads/201210/15/1350270265_2221.jpg][/img]
这是一个什么情况 ??
我用的是vs 2010,用vb。rn在一个窗体中,本来有一个第三方的treelist控件abc,我删了。rn然后在代码窗体中,abc这个对象找不到了,rn但如果你直接敲入abc,他居然还能出现,当然他后面的属性方法全都没有了,只剩通用对象的一些方法了。rn而且,我还观察到,这个abc的左侧,有一个小小灰色的锁,<em>这是</em><em>什么情况</em> ?rnrn
这是什么情况?EF
[code=csharp]rnpublic partial class Employeern rn [Key]rn public int EmployeeID get; set; //员工IDrn public string departmentID get; set; //部门ID 1rn public virtual Models.Department department get; set; //部门modelrn rnrn[/code]rn载入时各值如下 rnEmployee.departmentID=1 Employee.department.departmentId=1rn界面上用户操作后 把员工的部门更改了,各值为rnEmployee.departmentID=2 Employee.department.departmentId=1rnrn此时提交,将更改内容写入数据库,由于 数据库的约束model的Employee.departmentID和Employee.department.departmentId不一致,所以插入数据库会报错,于是我在后台获取数据的时候,把department属性设置为null,不需要EF对department进行写操作,写入数据库正常,但是问题来了,写入库里之后,重新拉去整个列表,发现刚改的model的department属性为 null?rn<em>这是</em>为什么?另外刷新页面 使用index的方法 又正常,代码都是一样的,<em>这是</em>为什么?EF的缓存吗?如何解决这种问题rn[img=https://img-bbs.csdn.net/upload/201803/17/1521294330_231495.jpg][/img]rn
VC++ 屏蔽按ENTER或者ESC键退出程序
通过重载PreTranslateMessage函数屏蔽回车和ESC的消息。 关于PreTranslateMessage函数:  MFC消息控制流最具特色的地方是CWnd类的虚拟函数PreTranslateMessage(),通过重载这个函数,我们可以改变MFC的消息控制流程,甚至可以作一个全新的控制流出来。只有穿过消息队列的消息才受PreTranslateMessage()影响,采
求助管理员,这是什么情况
如图(这段时间频繁出现)
Tomcat 启动 这是什么情况
有个老项目 用的是JDK1.4 和Tomcat4 启动时 <em>这是</em><em>什么情况</em>啊????求解rnrn2012-5-29 14:39:10 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8008rnStarting service Tomcat-StandalonernApache Tomcat/4.1.31rn2012-5-29 14:39:10 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8008rn2012-5-29 14:39:10 org.apache.jk.common.ChannelSocket initrn信息: JK2: ajp13 listening on /0.0.0.0:8009rn2012-5-29 14:39:10 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/32 config=D:\tomcat-services\jakarta-tomcat-4.1.31\conf\jk2.properties
请问 这是什么情况
每点一次 查询 按钮 , Literal 的新旧内容都同时显示出来,而不会先情况上次的内容,再显示当前查询内容。rn点1次:rn[img=https://img-bbs.csdn.net/upload/201612/14/1481704471_1926.jpg][/img]rn点第二次:rn[img=https://img-bbs.csdn.net/upload/201612/14/1481704489_693550.jpg][/img]rn按钮事件 部分代码:rn Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Clickrn Dim con As New OleDbConnectionrn Dim Dr As OleDbDataReaderrn con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|\jsdb2.mdb")rn con.Open() rn Dim sql As Stringrn sql = "select * from timetables where nian='" & DropDownList3.SelectedItem.ToString & "' and term='" & DropDownList2.SelectedItem.Value & "' and start=" & DropDownList4.SelectedItem.Value & ""rn Dim cmd As New OleDbCommand(sql, con)rn Dr = cmd.ExecuteReader()rn Do While Dr.Read()rn If Dr.Item("week") = "星期一" Thenrn If Dr.Item("section") = "1" Thenrn Literal1.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "2" Thenrn Literal8.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "3" Thenrn Literal15.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "4" Thenrn Literal22.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "5" Thenrn Literal29.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "6" Thenrn Literal36.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "7" Thenrn Literal43.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "8" Thenrn Literal50.Text = Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "9" Thenrn Literal1.Text &= Dr.Item("room_nb") & vbCrLfrn Literal8.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "10" Thenrn Literal22.Text &= Dr.Item("room_nb") & vbCrLfrn Literal29.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "11" Thenrn Literal43.Text &= Dr.Item("room_nb") & vbCrLfrn Literal50.Text &= Dr.Item("room_nb") & vbCrLfrn ElseIf Dr.Item("section") = "12" Thenrn Literal1.Text &= Dr.Item("room_nb") & vbCrLfrn Literal8.Text &= Dr.Item("room_nb") & vbCrLfrn Literal22.Text &= Dr.Item("room_nb") & vbCrLfrn Literal29.Text &= Dr.Item("room_nb") & vbCrLfrn End Ifrn End Ifrn Looprn Dr.Close()rn End Subrnrn按钮 前台代码:rn
这是一个什么情况
用.net 自带的datagridviewrn在调试模式下,增加一个contextMenuStri,右键菜单,运行起来正常。rn生成.exe以后,直接运行这个.exe,rn会发现这个datagridview变得卡和顿,数据刷办法才出来,而且显示很乱很丑。rn<em>什么情况</em>,如何解决。
请问这是出现了什么情况??
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).rnlog4j:WARN Please initialize the log4j system properly.rnHibernate: insert into test.student (name, age, id) values (?, ?, ?)rnException in thread "main" org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch updatern at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)rn at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)rn at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)rn at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)rn at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)rn at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)rn at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)rn at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)rn at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)rn at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)rn at Test.StudentTest.main(StudentTest.java:23)rnCaused by: java.sql.BatchUpdateException: Duplicate entry '1' for key 'PRIMARY'rn at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:657)rn at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)rn at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)rn ... 8 morern
这是什么情况??javascript
仔细看上图。。程序运行到32行,但是29行-31行之间都没有执行。。。。看右边的变量。。 <em>这是</em>为啥呢?? 导致我的程序结果非常错误!!
VS2010卡,这是什么情况???
我新装的2010,以前装08的时候,也没这么卡,启动正常,就是点工具栏打开的时候得好长时间,写代码的时候有点卡的感觉。难道是机器的问题,我用的是Y450A-p7350,难道跑不起来??还是一些什么补丁没装?rn
请问这是什么情况
[img=https://img-bbs.csdn.net/upload/201804/01/1522550331_663159.png][/img]rn网上百度了都没解决
这是什么情况求解
[img=https://img-bbs.csdn.net/upload/201610/06/1475757575_911893.png][/img]rn<em>这是</em>怎么回事[img=https://img-bbs.csdn.net/upload/201610/06/1475757629_832146.png][/img]
这是什么情况啊?
我计算机在刚启动的时候有时会出现黑屏现象,然后我再重启自检时屏幕上出现提示:gpnv chcksmu bad.让我按F4进入重新设置CMOS,这个提示不会出现,<em>这是</em>什么原因呢?有谁可以回答?
头晕了~~这是什么情况~~
我要掉用DBHELPER里的rn /// rn /// 返回第一行第一列(String类型),无参数rn /// rn /// rn /// rn public static string ReturnStringScalar(string sql)rn rn tryrn rn SqlCommand comm = new SqlCommand(sql, ConnectionString);rnrn return comm.ExecuteScalar().ToString();rn rn catch (Exception ex)rn rn return null;rn rn finallyrn rn ConnectionString.Close();rn rn 这个方法rn-----------------------------------------------------------------------------------------------------------rn如果有1条记录那就跳转但是现在不管密码输入正确或者错误都是跳错误提示rn protected void imgbt_login_Click(object sender, ImageClickEventArgs e)rn rn string sql = " select count(1) from [login] where uid=@uid and pwd=@pwd and groupname=@groupname";rn SqlParameter[] sqlparameters =rn new SqlParameter("@uid",txt_name.Text),rn new SqlParameter("@pwd",txt_pwd.Text),rn new SqlParameter("@groupname",DropDownList1.Text)rn ;rn int num = DBHelPer.GetScalar(sql);rn if (txt_name.Text != "" && txt_pwd.Text != "")rn rn if (num > 0)rn rn Session["name"] = txt_name.Text.Trim();rn Response.Redirect("~/个人/adminindex.aspx");rn rn elsern rn Response.Write(" ");rn return;rnrn rn rn elsern rn Response.Write(" ");rn return;rnrn rnrn菜鸟问题求解决
蛋碎了,这是什么情况
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Text;rnusing System.Windows.Forms;rnusing System.IO;rnusing System.Runtime.Serialization.Formatters.Binary;rnusing System.Runtime.Serialization;rnusing BankLibrary;rnrnnamespace CreatFileFormClassrnrn public partial class CreatFileForm : BankLibrary.BankUIFormrn rn private BinaryFormatter formatter = new BinaryFormatter();rnrn private FileStream output;rn public CreatFileForm()rn rn InitializeComponent();rn rnrn private void Form2_Load(object sender, EventArgs e)rn rnrn rnrn private void saveButton_Click(object sender, EventArgs e)rn rn SaveFileDialog fileChosser = new SaveFileDialog();rn DialogResult result = fileChosser.ShowDialog();rn string fileName;rnrn fileChosser.CheckFileExists = false;rnrn if (result == DialogResult.Cancel)rn return;rnrn fileName = fileChosser.FileName;rnrn if (fileName == "" || fileName == null)rn MessageBox.Show("Invalid file Name", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);rnrn elsern rn tryrn rn output = new FileStream(fileName, FileMode.OpenOrCreate, FileAccess.Write);rnrn saveButton.Enabled = false;rn enterButton.Enabled = true;rn rn catch(FileNotFoundException)rn rn MessageBox.Show("File Dose Not Exits", "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);rn rn rn rnrn private void enterButton_Click(object sender, EventArgs e)rn rn string[] values = GetTextBoxValues();rnrn Record record = new Record();rnrn if (values[(int)TextBoxIndices.ACCOUNT] != "")rn rn tryrn rn int accountNumber = Int32.Parse(values[(int)TextBoxIndices.ACCOUNT]);rnrn if (accountNumber > 0)rn rn record.Account = accountNumber;rn record.FirstName = values[(int)TextBoxIndices.FIRST];rn record.LastName = values[(int)TextBoxIndices.LAST];rn record.Balance = Double.Parse(values[(int)TextBoxIndices.BALANCE]);rnrn formatter.Serialize(output, record);rnrnrn rn elsern rn MessageBox.Show("Invalid Account Number", "", MessageBoxButtons.OK, MessageBoxIcon.Error);rn rn rn catch (SerializationException)rn rn MessageBox.Show("Error writing to file", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);rn rn catch (FormatException)rn rn MessageBox.Show("Invalid Format", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);rn rn rn ClearTextBoxs();rn rn rnrn private void exitButton_Click(object sender, EventArgs e)rn rn if (output == null)rn rn tryrn output.Close(); rn catch (IOException)rn rn MessageBox.Show("Canot Exit Files", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);rn rn rn Application.Exit();rn rn rnrn这个蛋疼啊!代码没有错误!运行后新建了一个文件用于保存文件,然后输入数据点保存 出现异常!serializationException!这个异常的意思是:在序列化或反序列化期间出错引发的异常!怎么解决啊!对于高手应该不是什么大问题吧!给高分悬赏!
欲哭无泪。。。这是什么情况???
我的电脑室WIN764,由于工作需要VC2003,所以装了个VM虚拟机,里面装了XP+VC2003,用了大约半年,从没发生过问题。rn 就在昨天,在虚拟机中使用VC2003时,突然提示如下错误:rn [img=https://img-bbs.csdn.net/upload/201502/27/1425026925_695175.png][/img]rnrn当时没在意,就点了 确定。谁知点了后,VC2003在桌面的图标就自动没了。然后赶紧重启下虚拟机,结果无法启动,提示NTLDR is missing.....这个错误就不贴了,安装网上的方法折腾了半天,虽然能进系统,但是VC2003始终启动不了。rnrn我的虚拟机里有三个XP系统,平时都用的好好的。于是我启动另一个XP的VC2003,开始半个小时一切正常,谁料之后再次出现,上图那个XML错误,然后该虚拟机又废了。rnrn今天做了下简单的分析,换了个VM版本,并将同事的VM虚拟机下的XP系统拷贝进来,几十分钟后仍然是XML错误。rnrn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/11.gif][/img] 各位大神,怎么搞啊?再出问题我只有在WIN7 32下跑VC2003了(我是WIN7 64/32 双系统 )
什么情况这是?44
<em>什么情况</em><em>这是</em>?
谁能告诉我这是什么情况
/usr/include/stdint.h:56:1: error: duplicate ‘unsigned’ /usr/include/stdint.h:56:27: error: multiple types in one declaration /usr/include/stdint.h:56:27: error: declaration does not declare anythin
编译时出错 这是什么情况
g:\visual c++ 6.0\msdev98\myprojects\dialog\dialogview.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/dialog.pch': No such file or directoryrnrn错误显示的是#include "stdafx.h"这一行 <em>这是</em>MFC wizard 自动生成的代码啊 怎么会出错呢?
大神门 这是什么情况
rn错误信息如下:rndisplay variable ,was set ,but this performed an operation which require it
初学java,这是什么情况
[img=https://img-bbs.csdn.net/upload/201711/06/1509975855_887933.png][/img]rnrn下面的xml配置rn[code=html]rnrnrn rnrn rn rnrn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rnrn[/code]rn
谁能告诉我,这是什么情况
CPU使用率43。。空闲89 <em>这是</em><em>什么情况</em>???[img=C:\Documents and Settings\Nick\桌面\rage.png][/img]
关于文件夹出现未响应问题?
   最近遇到个闹心的问题,F盘里的文件夹老是打开的时候出现未响应情况,把那些文件夹放到其他盘又不出现这种情况,最后把F盘全部格式化了还是出现类似的情况,最后没办法,只能在桌面搞个快捷方式了。呵呵~~快捷方式也可以打开,很郁闷不知道怎么回事了?
如何设置对话框背景为模糊不清楚的
dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, WindowManager.LayoutParams.FLAG_BLUR_BEHIND);  在对话框对象中添加如上配置,变可以实现模糊效果. 但好像从性能上看,并不是很好,实现了模糊效果,整个应用在模糊效果显示出来的情况下变的非常缓
一个人如果精力充沛,具有能屈能伸的性格,那么他既不会骄傲也不会虚荣,而是平静地生活着,不受悲哀和妒忌等情绪的折磨...
一个人如果精力充沛,具有能屈能伸的性格, 那么他既不会骄傲也不会虚荣,而是平静地生活着,不受悲哀和妒忌等情绪的折磨, 原因是他学会了驾驭和控制自我感情的方法,从而逃避了自我感情容易带来的折磨。 在心理学家看来,竞争意识、雄心、荣誉感,甚至骄傲和适度的虚荣,都属于我们意识中更富有想象力的高级层次, 这些感情把我们从感观世界唤醒,激励我们追求理想和社会目标。...
android 目前遇到的程序崩溃常见原因
1. .java文件中.XML文件中的id写错,因为XML文件的id写错,.java文件中经findViewById后的操作界面元素的变量没有成功读进去值。 2.xml文件中用了onclick属性,但是.java文件却没有写属性后相应名称的函数方法。 若onclick属性的点击函数成功写好而没有加View参数,也会崩。 3.一般往很多东西没有成功赋值想,就算读进来了的也不是预期
tomcat 无故中断这是什么情况
#rn# A fatal error has been detected by the Java Runtime Environment:rn#rn# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x579b89f3, pid=4684, tid=3112rn#rn# JRE version: 7.0_15-b03rn# Java VM: Java HotSpot(TM) Server VM (23.7-b01 mixed mode windows-x86 )rn# Problematic frame:rn# C [TcpIpDog1.dll+0x89f3]rn#rn# Failed to write core dump. Minidumps are not enabled by default on client versions of Windowsrn#rn# An error report file with more information is saved as:rn# C:\Documents and Settings\hp\hs_err_pid4684.logrn#rn# If you would like to submit a bug report, please visit:rn# http://bugreport.sun.com/bugreport/crash.jsprn# The crash happened outside the Java Virtual Machine in native code.rn# See problematic frame for where to report the bug.rn#这就是tomcat爆的错误信息,急,求帮助呀急急急急急急急,求好心人,这边的人都不会解决这个问题,不知道出错在哪里了
大家帮忙看看这是什么情况····
#include rn#include rn#include rn#include rn#include rn#include rn#include rnrnCOMMTIMEOUTS timeover;rnrnrnint Init(char *baud,HANDLE hPort)//初始化函数,设置DCBrnrn int intbaud = 0;rn DCB PortDCB; rn //配置串口rn PortDCB.DCBlength = sizeof(DCB); rn GetCommState(hPort,&PortDCB); rn intbaud = atoi(baud);rn intbaud = 9600;rn PortDCB.BaudRate = intbaud;//波特率 rn PortDCB.fBinary = TRUE;//是否支持二进制串行传输模式 rn PortDCB.fParity = FALSE; //是否启用奇偶校验 rn PortDCB.fOutxCtsFlow = FALSE; //TRUE是由CTS线来控制端口的输出 rn PortDCB.fOutxDsrFlow = FALSE; //TRUE是由DSR线来控制端口的输出 rn PortDCB.fDtrControl = DTR_CONTROL_ENABLE; //DTR_CONTROL_DISABLE: 禁用DTR(Data Terminal Ready)线并保持此状态; rn PortDCB.fDsrSensitivity = FALSE; //TRUE为端口将忽略任何输入的字节,除非端口DSR线被启用 rn PortDCB.fTXContinueOnXoff = TRUE; //TRUE为如接收缓冲区已满且驱动程序已传送XOFF字符, 将使驱动程序停止传输字符 rn PortDCB.fOutX = FALSE; //TRUE为指定XON/XOFF控制被用于控制串行输出 rn PortDCB.fInX = FALSE; //TRUE为指定XON/XOFF控制由输入串行流使用 rn PortDCB.fErrorChar = FALSE; //Windows CE串行驱动程序默认忽略该字段 rn PortDCB.fNull = FALSE; //TRUE为使串行驱动程序忽略接收到的空字节 rn PortDCB.fRtsControl = RTS_CONTROL_ENABLE; //RTS_CONTROL_DISABLE表示当端口打开时RTS(Request and Send)行 将禁用 rn PortDCB.fAbortOnError = FALSE; //出现读/写错误并不终止 rn PortDCB.ByteSize = 8; //指定每字节的位数 rn PortDCB.Parity = NOPARITY; //奇偶字段,EVENPARITY、MARKPARITY、NOPARITY、ODDPARITY、SPACERITY rn PortDCB.StopBits = ONESTOPBIT; //停止位,每字节一位(ONESTOPBIT)、一位半(ONE5STOPBITS)、 两位(TWOSTOPBITS)。 rnrnrnrn if (!GetCommState(hPort,&PortDCB))rn rn printf("getcommstate is error\n");rn rn elsern rn printf("getcommstate is success\n");rn rn rn //设置串口 rn if(!SetCommState(hPort,&PortDCB))rn rn printf("Unable to configure the serial port\n");rn return 1; rn rn elsern rn printf("first bool\n");rn rnrn return 0;rnrnrnint main()rnrnrn HANDLE hCom;rn DWORD dwError;rnrn char acBuffa[8] = 0;rn char acBuffb[8] = "a";rn char bund[10] = 9,6,0,0;rnrn DWORD dwWriteSize = 0;rnrn bool Y = true;rnrn hCom = CreateFile(_T("COM3"),GENERIC_READ|GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);//对COM的格式是有要求的rnrn int jj = GetLastError();rnrn if (hCom == INVALID_HANDLE_VALUE)rn rn printf("!!!!\n");rn rn elsern rn printf("~~~~\n");rn rnrn Init(bund,hCom);rnrn strcpy(acBuffa,"01039C5600020A4B");//01039C5600020A4Brnrn printf("%s\n",acBuffa);rnrn// 转成HEXrn char cTemp = '0';rn char str_ascll[5]=0;rn DWORD num=0;rn int i=0;rn int j=0;rn char *p=acBuffa;rn char *end_data = NULL;rn unsigned int h_temp=0;rn unsigned int l_temp=0;rn unsigned char temp;rn j=strlen(p);rn end_data=(char *)malloc(strlen(acBuffa)+1);rn memset(end_data,'$',strlen(acBuffa)+1); //用来获取字符串结束的位置,这里长度必须加1否则当传输一个十六进制数时,例如“06”时,下面的while(*q!='$')循环出不来rn p[strlen(p)]='\0';rn memset(&timeover,0,sizeof(timeover)); //设置超时rn DWORD timeMultipliter=0,timeConstant=0;rn timeover.WriteTotalTimeoutConstant=timeConstant;rn timeover.WriteTotalTimeoutMultiplier=timeMultipliter;rn timeover.ReadIntervalTimeout=30;rn SetCommTimeouts(hCom,&timeover);rn char datatype[4] = 'H','e','x';rn if(strcmp(datatype,"Hex")==0)rn rn i = 0;rn j = 0;rn if(p[i] == '~')rn rn end_data[i] = p[i];rn i++; //'~'和'\r'不需要变成ascll码rn j++;rn rn while(i ='0' && p[i]='0' && p[i]='A' && p[i]='A' && p[i]= '0' && p[i] = 'A' && p[i] );rnrnrnrn弄了好多天可还是接收不到,一调试程序就会报说进程已经死锁(或未运行任何用户模式代码)。所有线程已停止···
spring+struts+hibernate出现的错误 这是什么情况
信息: Initializing Spring root WebApplicationContextrnlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).rnlog4j:WARN Please initialize the log4j system properly.rn2012-6-10 11:27:34 org.apache.catalina.core.StandardContext listenerStartrn严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.NoClassDefFoundError: org/springframework/context/support/AbstractRefreshableConfigApplicationContextrn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(Unknown Source)rn at java.security.SecureClassLoader.defineClass(Unknown Source)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn at java.lang.ClassLoader.loadClassInternal(Unknown Source)rn at java.lang.ClassLoader.defineClass1(Native Method)rn at java.lang.ClassLoader.defineClass(Unknown Source)rn at java.security.SecureClassLoader.defineClass(Unknown Source)rn at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2818)rn at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)rn at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)rn at org.springframework.web.context.ContextLoader.determineContextClass(ContextLoader.java:302)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)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:601)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:840)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(Unknown Source)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)rn at java.lang.reflect.Method.invoke(Unknown Source)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2012-6-10 11:27:34 org.apache.catalina.core.StandardContext startrn严重: Error listenerStartrn2012-6-10 11:27:34 org.apache.catalina.core.StandardContext startrn严重: Context [/bookstore] startup failed due to previous errorsrn2012-6-10 11:27:35 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2012-6-10 11:27:35 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2012-6-10 11:27:35 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009
这是什么情况?关于百度搜索和NOD32.
这论坛上传不了图片??为什么??只能复制了。rnrn1. 用百度搜索一些带.exe或.msi的文件的时候会自动提示下载。rn比如说打开百度主页www.baidu.com输入带上面后缀的文件的时候,会跳到一个搜索结果页面,这时再按|百度一下|就会提示下载,无论在搜索内容里加上什么,只要有带这些后缀的就不会提示下载。下载的东西又不知道是什么,跟搜索的东西完全无关 。rn下载的链接是:http://www.baidu.com/#ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu&wd=xbmgr.exe&rsv_pq=c7b5231f000cf718&rsv_t=439djKjngWHHrk2ICy5jL4pSKlym47ODQAhYrbEzn3BjvWkykjela7EmCAk&rsv_enter=0&inputT=2379&bs=xbmgr.exe 后面这xbmgr.exe是我搜索的内容。rn下载的文件名是:#ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu&wd=xbmgr.exe&rsv_pq=c7b5231f000cf718&rsv_t=439djKjngWHHrk2ICy5jL4pSKlym47ODQAhYrbEzn3BjvWkykjela7EmCAk&rsv_enter=0&inputT=2379&bs=xbmgr.exe 下载的东西又不知道是什么,跟搜索的东西完全无关 。rnrn2 用nod32 杀毒时,扫描过的文件不是“”打开出错“,就是压缩文件已损坏”等等,反正没一个正常的。但是软件都能正常使用。rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\delwmplnk.exe > AUTOIT - 压缩文件已损坏rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\ES4.RunTask.AfterDeploy.exe > AUTOIT > ..\bin\ES4.RunTask.GoToDesktop.exe > AUTOIT > ..\bin\ADSL.exe > UPX v13_m8 > AUTOIT > _deobfusc_script.au3 - 不支持的选项rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\SkyIAR_Core_x86_WinXP.exe > AUTOIT - 压缩文件已损坏rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\SkyIAR_Core_x86_Win7.exe > AUTOIT - 压缩文件已损坏rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\EasySet.exe > UPX v13_m8 > AUTOIT - 压缩文件已损坏rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\getUpdate.exe > AUTOIT - 压缩文件已损坏rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\Es4.ActiveAdmini.exe > AUTOIT - 压缩文件已损坏rnC:\$Recycle.Bin\S-1-5-18\$ROGPUR0\EasySysprep4.exe > AUTOIT > .\bin\DoNothing.exe > AUTOIT - 压缩文件已损坏rnC:\Boot\BCD - 打开时出错 rnC:\Boot\BCD.LOG - 打开时出错 rnC:\Program Files (x86)\Google\Update\1.3.25.11\GoogleUpdateHelper.msi > MSI > required.cab > CAB - 读取压缩文件时出错rnC:\ProgramData\Microsoft\Search\Data\Applications\Windows\MSS.log - 打开时出错 rnC:\ProgramData\Microsoft\Search\Data\Applications\Windows\MSStmp.log - 打开时出错 rnC:\ProgramData\Microsoft\Search\Data\Applications\Windows\tmp.edb - 打开时出错 rnC:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb - 打开时出错 rnC:\ProgramData\QQPet\QQPenguin\Temp\Res_Cleaner932.zip.TEM > ZIP > Cleaner932.exe - 压缩文件已损坏 - 文件无法解压。rnC:\ProgramData\QQPet\QQPenguin\Temp\Res_Cleaner932.zip.TEM > ZIP > - 压缩文件已损坏rnC:\ProgramData\QQPet\QQPenguin\Temp\SomethingToDo_20140226_142055.zip.TEM > ZIP > SomethingToDo_20140226_142055.dll - 压缩文件已损坏 - 文件无法解压。rnC:\ProgramData\QQPet\QQPenguin\Temp\SomethingToDo_20140226_142055.zip.TEM > ZIP > - 压缩文件已损坏rnC:\ProgramData\Tencent\QQPCMgr\FileInfo.db - 打开时出错 rnC:\ProgramData\Tencent\QQPCMgr\QMConfig.hiv - 打开时出错 rnC:\ProgramData\Tencent\QQPCMgr\QMConfig.hiv.LOG1 - 打开时出错 rnC:\ProgramData\Tencent\QQPCMgr\QMConfig.hiv.LOG2 - 打开时出错 rnrnC:\Users\Administrator\AppData\Local\Microsoft\Windows\UsrClass.dat.LOG2 - 打开时出错
请问这是什么情况,关于for循环
[code=c]string s = "aaa"; int i = 0;rn for (; i != s.size(); ++i)rn rn if (i = 1)rn s += "a"; cout << i;rn [/code]rnrni会卡到1不继续自增
这是什么情况?貌似不是程序出错了!
--------------------Configuration: 01 - Win32 Debug--------------------rnCompiling...rn01.cpprnf:\c++êé\zhizhen\01.cpp(0) : fatal error C1033: cannot open program database 'f:\c++êé\zhizhen\debug\vc60.pdb'rnError executing cl.exe.rnrn01.obj - 1 error(s), 0 warning(s)rn
struts2 OGNL 表达式 这是什么情况
[code=html] rn rn $carelog.careresultrn [/code]rnrn红色的是运行结果rn[img=https://img-bbs.csdn.net/upload/201311/19/1384849110_9109.jpg][/img]rnrnrn1、为什么 第一个 td 中 第一个 表达式值可以获取到。而第二个就获取不到呢?rn2、第二个 td 中 ,采用第二上方 相同的显示,只是改变了显示的值就能显示了呢rn3、也没有空格影响 的问题。(见两侧的 | | 竖杠)
这是什么情况?求高手解答
我重装了sql2005 连接时出现这个对话框 该怎么解决 谢谢[img=http://hiphotos.baidu.com/i_hugo/pic/item/5e21309fa0ec08fa6b188b1759ee3d6d55fbda1d.jpg][/img]rn
这是什么情况?请大侠帮帮忙!
[code=C/C++]rn#includernusing namespace std;rnrnvoid main()rnrn FILE *inf=fopen("a.txt","r"); //为读页打开文件rn while (!feof(inf))//不到文件尾就循环rn rn //因为我们知道文件的结构,所以用以下方式读取rn int k,kk;rn fscanf(inf,"(%d,%d)",&k,&kk); // 从文件里面读取rn cout<
这是什么情况,该怎么解决
在access数据库中出现这种情况,不知道是怎么回事,该怎么解决,已经影响到调用数据了,会报错rn[img=https://img-bbs.csdn.net/upload/201611/30/1480473027_736075.jpg][/img]
刚学指针,这是什么情况。。。
程序很简单。。。rn#includernmain()rnrn int a[5]=1,2,3,4,5,*p=a,i;rn printf("%d %d %d %d %d\n",*a,*(a+1),*(a+2),*(a+3),*(a+4));rn for(i=0;i,*p++,*p++,*p++,*p++,*p);rnrn结果居然是这样的。。。rn[img=https://img-bbs.csdn.net/upload/201405/22/1400749134_10241.png][/img]rn为什么啊,请大神指教。。。
COCOS2DX 3.11.1这是什么情况
先上源码rn#include "GameScene.h"rn#include "SimpleAudioEngine.h"rn#include"PathArithmetic.h"rn#define PI 3.1415926rnusing namespace CocosDenshion;rnenum rn RIGHT = 1,rn RIGHUP=2,rn UP=3,rn LEFTUP=4,rn LEFT=5,rn LEFTDOWN=6,rn DOWN=7,rn RIGHTDOWN=8rn;rnrnScene* GameScene::createScene()rnrn // 创建一个场景对象,该对象将会由自动释放池管理内存的释放rn auto scene = Scene::create();rnrn // 创建层对象,该对象将会由自动释放池管理内存的释放rn auto layer = GameScene::create();rnrn // 将GameScene层作为子节点添加到场景rn scene->addChild(layer);rnrn // 返回场景对象rn return scene;rnrnrn// on "init" you need to initialize your instancernbool GameScene::init()rnrn // 调用父类的init方法rn if (!Layer::init())rn rn return false;rn rn SpriteFrameCache::getInstance()->addSpriteFramesWithFile("char_11001.plist", "char_11001.png");rn SpriteFrameCache::getInstance()->addSpriteFramesWithFile("char_12001.plist", "char_12001.png");rn auto visibleSize = Director::getInstance()->getVisibleSize();rn Vec2 origin = Director::getInstance()->getVisibleOrigin();rnrn /////////////////////////////rn // 2. add a menu item with "X" image, which is clicked to quit the programrn // you may modify it.rnrn // add a "close" icon to exit the progress. it's an autorelease objectrn auto closeItem = MenuItemImage::create(rn "CloseNormal.png",rn "CloseSelected.png",rn CC_CALLBACK_1(GameScene::menuCloseCallback, this));rnrn closeItem->setPosition(Vec2(origin.x + visibleSize.width - closeItem->getContentSize().width / 2,rn origin.y + closeItem->getContentSize().height / 2));rnrn // create menu, it's an autorelease objectrn auto menu = Menu::create(closeItem, NULL);rn menu->setPosition(Vec2::ZERO);rn this->addChild(menu, 1);rn // 获取屏幕宽度和高度rn _screenWidth = visibleSize.width;rn _screenHeight = visibleSize.height;rnrn // ①调用TMXTiledMap的函数读取TileMap.tmx文件创建一个瓦片地图对象rn _tileMap = TMXTiledMap::create("map.tmx");rn // 把地图的锚点和位置都设置为原点,这样可以使地图的左下角与屏幕的左下角对齐rn _tileMap->setAnchorPoint(Vec2::ZERO);rn _tileMap->setPosition(Vec2::ZERO);rn // 将地图添加为当前层的子节点rn this->addChild(_tileMap);rnrn // ②获取障碍层,并设置障碍层为不可见rn _collidable = _tileMap->getLayer("collidable");rn _collidable->setVisible(false);rnrn /********③初始化读取地图所有网格,并确定网格对象是否是障碍物,将信息保存到网格二维数组**************/rn for (int i = 0; i < _tileMap->getMapSize().width; i++) rn // 内部网格集合([x,0]-[x-20]),存储网格rn Vector inner;rn for (int j = 0; j < _tileMap->getMapSize().height; j++) rn // 设置网格对象的x轴和y轴以及是否可通过变量值rn Grid *o = Grid::create(i, j);rn // 将网格加入到集合rn inner.pushBack(o);rn rn // 将内部集合加入到网格集合rn _gridVector.push_back(inner);rn rn // 循环保存根据每个网格的x轴和y轴查找对应的地图的GID,判断是否可通过rn for (int i = 0; i < _gridVector.size(); i++) rn Vector inner = _gridVector.at(i);rn // 循环内部网格集合rn for (int j = 0; j < inner.size(); j++) rn // 获取每一个网格对象rn Grid *grid = inner.at(j);rn // 获取每一个网格对象对应的的坐标rn Vec2 tileCoord = Vec2(grid->getX(), grid->getY());rn // 使用TMXLayer类的tileGIDAt函数获取TileMap坐标系里的“全局唯一标识”GIDrn int tileGid = _collidable->getTileGIDAt(tileCoord);rn if (tileGid) rn // 使用GID来查找指定tile的属性,返回一个Valuern Value properties = _tileMap->getPropertiesForGID(tileGid);rn // 返回的Value实际是一个ValueMaprn ValueMap map = properties.asValueMap();rn // 查找ValueMap,判断是否有”可碰撞的“物体,如果有,设置网格对象的isPass变量为falsern std::string value = map.at("collidable").asString();rn if (value.compare("true") == 0) rn grid->setPass(false);rn rn rn rn rn /****************二维数组设置结束**************************************************/rn // ④创建玩家精灵rn _player = SpriteBase::create("char_11001_1_1_00.png");rnrn // 设置玩家精灵屏幕位置并添加为地图的子节点rn _player->setPosition(100, _screenHeight / 2 + 240);rnrn // 创建进度条rn auto loadingBar = LoadingBar::create("playerHP.png");rn loadingBar->setScale(0.25f);rn // 设置进度条百分比rn loadingBar->setPercent(60);rn // 设置进度条方向rn loadingBar->setDirection(LoadingBar::Direction::RIGHT);rn // 设置进度条位置rn Vec2 pos = Vec2(_player->getPosition().x, _player->getPosition().y);rn loadingBar->setPosition(Vec2(pos.x + 15, pos.y + 80));rn // 将进度条设置为血条rn _player->setHP(loadingBar);rn // 将怪物血条添加为当前层的子节点rn _player->addChild(_player->getHP(), 1);rn // 设置血条更新量rn _player->setHPInterval(_player->getHP()->getPercent() / (float)_player->getLifeValue());rn // 将玩家和怪物添加为当前层的子节点rn /**rn 遮挡效果实现:例如玩家站在石头前不应该被石头挡住,但是玩家站在树下应该被树枝遮挡rn 设计地图时,将所有需要被玩家遮挡的物体的zOrder值都设置成addChild(_player, 2);rnrn // ⑤创建事件监听器rn auto GameSceneListener = EventListenerTouchOneByOne::create();rn // 响应触摸事件函数rn GameSceneListener->onTouchBegan = [](Touch* touch, Event* event) return true; ;rn GameSceneListener->onTouchEnded = [=](Touch *touch, Event *event) rn rn // OpenGL坐标rn Vec2 touchLocation = touch->getLocation();rn // 将触摸点坐标转换成相对的Node坐标rn Vec2 nodeLocation = this->convertToNodeSpace(touchLocation);rn // 用玩家位置作为起点,触摸点作为终点,转换为网格坐标,在地图上查找最佳到达路径rn Vec2 from = tileCoordForPosition(_player->getPosition());rn Vec2 to = tileCoordForPosition(nodeLocation);rn //方向rn int direction=getDirection(touch);rn // 如果终点是不可通过(即有障碍物)的位置,则直接returnrn int tileGid = _collidable->getTileGIDAt(to);rn if (tileGid) rn // 使用GID来查找指定tile的属性,返回一个Valuern Value properties = _tileMap->getPropertiesForGID(tileGid);rn // 返回的Value实际是一个ValueMaprn ValueMap map = properties.asValueMap();rn // 查找ValueMap,判断是否有”可碰撞的“物体,如果有,直接返回rn std::string value = map.at("collidable").asString();rn if (value.compare("true") == 0) rn return;rn rn rn // 调用PathArithmetic对象getPath函数获得起点到终点的最佳路径点的集合rn PathArithmetic* pa = PathArithmetic::create();rn Vector pathVector = pa->getPath(from, to, _gridVector);rn if (_player->getNumberOfRunningActions() == 0rn && this->getNumberOfRunningActions() == 0) rn // 玩家根据最佳路径点移动rn playerMoveWithWayPoints(nodeLocation, pathVector,direction);rn // 地图随玩家一起移动rn setViewPointCenter(nodeLocation);rn rn else rn _player->stopAllActions();rn this->stopAllActions();rn playerMoveWithWayPoints(nodeLocation, pathVector,direction);rn setViewPointCenter(nodeLocation);rn rn ;rn // 添加场景优先事件监听器rn Director::getInstance()->getEventDispatcher()->addEventListenerWithSceneGraphPriority(GameSceneListener, this);rnrn // 预加载背景音乐和音效rn SimpleAudioEngine::getInstance()->preloadBackgroundMusic(MUSIC_FILE);rn SimpleAudioEngine::getInstance()->preloadBackgroundMusic(FIGHT_FILE);rn SimpleAudioEngine::getInstance()->preloadEffect(SHOOT_FILE);rnrn // 游戏主循环,每帧都调用的函数rn this->scheduleUpdate();rn // 播放背景音乐rn SimpleAudioEngine::getInstance()->playBackgroundMusic(MUSIC_FILE, true);rnrn return true;rnrnrnvoid GameScene::onEnter() rn Layer::onEnter();rn rnrnvoid GameScene::update(float delta) rn _count++;rn updateMonsterSprite(delta);rn monsterRepeatedlyMove(delta);rn collisionDetection(delta);rnrnrnint GameScene::getDirection(Touch * pTouch)rnrn if ((_player->getPosition().x < pTouch->getLocation().x) && (_player->getPosition().y < pTouch->getLocation().y))rn rn auto lX = abs(_player->getPosition().x - pTouch->getLocation().x);rn auto lY = abs(_player->getPosition().y - pTouch->getLocation().y);rn if ((lY / lX < tan(PI / 8)) && (tan(PI / 8) == lY / lX))rn return RIGHT;rn else if ((lY / lX > tan(PI / 8)) && (lY / lX < tan(3 * PI / 8)))rn return RIGHUP;rn elsern return UP;rn rn rn if ((_player->getPosition().x > pTouch->getLocation().x) && (_player->getPosition().y < pTouch->getLocation().y))rn rn auto lX = abs(_player->getPosition().x - pTouch->getLocation().x);rn auto lY = abs(_player->getPosition().y - pTouch->getLocation().y);rn if ((lY / lX < tan(PI / 8)) && (tan(PI / 8) == lY / lX))rn return LEFT;rn else if ((lY / lX > tan(PI / 8)) && (lY / lX < tan(3 * PI / 8)))rn return LEFTUP;rn elsern return UP;rn rnrn if ((_player->getPosition().x > pTouch->getLocation().x) && (_player->getPosition().y >pTouch->getLocation().y))rn rn auto lX = abs(_player->getPosition().x - pTouch->getLocation().x);rn auto lY = abs(_player->getPosition().y - pTouch->getLocation().y);rn if ((lY / lX < tan(PI / 8)) && (tan(PI / 8) == lY / lX))rn return LEFT;rn else if ((lY / lX > tan(PI / 8)) && (lY / lX < tan(3 * PI / 8)))rn return LEFTDOWN;rn elsern return DOWN;rn rn if ((_player->getPosition().x > pTouch->getLocation().x) && (_player->getPosition().y getLocation().y))rn rn auto lX = abs(_player->getPosition().x - pTouch->getLocation().x);rn auto lY = abs(_player->getPosition().y - pTouch->getLocation().y);rn if ((lY / lX < tan(PI / 8)) && (tan(PI / 8) == lY / lX))rn return RIGHT;rn else if ((lY / lX > tan(PI / 8)) && (lY / lX < tan(3 * PI / 8)))rn return RIGHTDOWN;rn elsern return DOWN;rn rn
高手帮我看看这是什么情况
17:02:47,137 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:oracle:thin:@localhost:1521:BJPOWERNODErn 17:02:47,147 ERROR ContextLoader:215 - Context initialization failedrn org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgTypeService' defined in file [F:\动力节点\5月\练习\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\003_pmes_lz\WEB-INF\classes\applicationContext-service.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is requiredrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)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)rn Caused by: java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is requiredrn at org.springframework.orm.hibernate3.support.HibernateDaoSupport.checkDaoConfig(HibernateDaoSupport.java:117)rn at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 30 morern 2013-7-1 17:02:47 org.apache.catalina.core.StandardContext listenerStartrn 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrn org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orgTypeService' defined in file [F:\动力节点\5月\练习\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\003_pmes_lz\WEB-INF\classes\applicationContext-service.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is requiredrn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)rn at java.security.AccessController.doPrivileged(Native Method)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)rn at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)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)rn Caused by: java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is requiredrn at org.springframework.orm.hibernate3.support.HibernateDaoSupport.checkDaoConfig(HibernateDaoSupport.java:117)rn at org.springframework.dao.support.DaoSupport.afterPropertiesSet(DaoSupport.java:44)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)rn ... 30 morern 2013-7-1 17:02:47 org.apache.catalina.core.StandardContext startrn 严重: Error listenerStartrn 2013-7-1 17:02:47 org.apache.catalina.core.StandardContext startrn 严重: Context [/003_pmes_lz] startup failed due to previous errorsrn 2013-7-1 17:02:47 org.apache.catalina.core.ApplicationContext logrn 信息: Closing Spring root WebApplicationContextrn 2013-7-1 17:02:47 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn 严重: The web application [/003_pmes_lz] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn 2013-7-1 17:02:47 org.apache.coyote.http11.Http11Protocol startrn 信息: Starting Coyote HTTP/1.1 on http-8080rn 2013-7-1 17:02:47 org.apache.jk.common.ChannelSocket initrn 信息: JK: ajp13 listening on /0.0.0.0:8009rn 2013-7-1 17:02:47 org.apache.jk.server.JkMain startrn 信息: Jk running ID=0 time=0/50 config=nullrn 2013-7-1 17:02:47 org.apache.catalina.startup.Catalina startrn 信息: Server startup in 3965 ms
找不到对象 请问这是什么情况
[img=https://img-bbs.csdn.net/upload/201901/19/1547874464_496268.png][/img]
这是什么情况求大神啊!!!
[img=https://img-bbs.csdn.net/upload/201411/14/1415947760_512525.jpg][/img]
各位帮忙看看这是什么情况?
[code=C#]“/”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn未将对象引用设置到对象的实例。 rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。rnrn源错误: rnrn执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 rnrn堆栈跟踪: rnrnrn[NullReferenceException: 未将对象引用设置到对象的实例。]rn BullongGame.DAL.SqlHelper..cctor() in C:\Documents and Settings\Administrator\My Documents\7.10\BullongGame_V1\BullongGame.DAL\SqlHelper.cs:16rnrn[TypeInitializationException: “BullongGame.DAL.SqlHelper”的类型初始值设定项引发异常。]rn BullongGame.DAL.SqlHelper.ExecuteReader(String cmdText) in C:\Documents and Settings\Administrator\My Documents\7.10\BullongGame_V1\BullongGame.DAL\SqlHelper.cs:207rn BullongGame.DAL.TopMsgService.GetTopmsgById(Int32 Id) in C:\Documents and Settings\Administrator\My Documents\7.10\BullongGame_V1\BullongGame.DAL\TopMsgService.cs:85rn BullongGame.BLL.TopMsgManager.GetTopmsgById(Int32 Id) in C:\Documents and Settings\Administrator\My Documents\7.10\BullongGame_V1\BullongGame.BLL\TopMsgManager.cs:16rn Newgame_Index.ImageTranslate() +54rn Newgame_Index.Page_Load(Object sender, EventArgs e) +21rn System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15rn System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34rn System.Web.UI.Control.OnLoad(EventArgs e) +99rn System.Web.UI.Control.LoadRecursive() +47rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061rnrn rn[/code]
这是什么情况?超级诡异的问题.
我自己写的一个类PObjectrn然后我写了一个继承它的类SocialEconomy : PObjectrn然后我写了这么行代码rnpublic SocialEconomy() : base() rnrn然后当我鼠标移动到 base()上时就出了这么个怪事儿:rn[img=http://hi.csdn.net/attachment/201105/19/270630_1305787577ByBx.jpg][/img]rnrnrn<em>这是</em>怎么回事儿? VS2008,是ASP.net网站.
这是什么情况,谁能帮我解答下!
[img=http://hi.csdn.net/attachment/201104/21/6615074_1303349663z0nj.jpg][/img]
org.quartz.SchedulerConfigException这是什么情况,咋解决
org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES)) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))]]n at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:692)n at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:567)n at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)n at servlet.remind.RemindStartListener.contextInitialized(RemindStartListener.java:28)n at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)n at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)n at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)n at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)n at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)n at java.util.concurrent.FutureTask.run(FutureTask.java:266)n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)n at java.lang.Thread.run(Thread.java:745)nCaused by: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES)) [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))]n at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:778)n at org.quartz.impl.jdbcjobstore.JobStoreTX.getNonManagedTXConnection(JobStoreTX.java:71)n at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3784)n at org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverJobs(JobStoreSupport.java:834)n at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:690)n ... 12 morenCaused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))n at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)n at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)n at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)n at tool.remind.MyPoolingconnectionProvider.getConnection(MyPoolingconnectionProvider.java:63)n at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:108)n at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:775)n ... 16 morenCaused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)n at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)n at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)n at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)n at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:927)n at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1709)n at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1252)n at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2483)n at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2516)n at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2301)n at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:834)n at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)n at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)n at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)n at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)n at java.lang.reflect.Constructor.newInstance(Constructor.java:422)n at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)n at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)n at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)n at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)n at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)n at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)n at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)n ... 21 more
高手请指教,这是什么情况
在从服务器get文件的时候,另起线程去get 如果中途 取消get ,再点击button重新开始,就会报 这个错误,不知道是什么意思,求指教:Assertion Failed , bogus context in __ExceptionHandler(),file xx.cpp line 3071
谁能告诉我这是什么情况
为什么Spring容器配置的Bean,结果获取的东西不是这个类的实例??[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/monkey/12.gif][/img]rnrnbeans.xml 中:rn[code=html]rnrn rn rnrn[/code]rnrnrnJava 获取该对象实例:rn[code=java]rnpackage com.jty.tool;rnrnimport org.springframework.context.ApplicationContext;rnimport org.springframework.context.support.ClassPathXmlApplicationContext;rnrnpublic class MyTest rn rn public static void main(String[] args) rn ApplicationContext ctx = new ClassPathXmlApplicationContext("Beans.xml");rn String className = ctx.getBean("sessionFactory").getClass().getName();rn System.out.println(className);rn rn rnrn[/code]rnrn输出的结果是这样的:rn[code=text]rnorg.hibernate.impl.SessionFactoryImplrn[/code]rnrn[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/7.gif][/img]问:rn为什么我的配置类是:[color=#FF0000]org.springframework.orm.hibernate3.LocalSessionFactoryBean[/color]rn而得出来却是:[color=#FF0000]org.hibernate.impl.SessionFactoryImpl[/color]rnrn最后来个图证:rn[img=https://img-bbs.csdn.net/upload/201703/21/1490076898_55952.jpg][/img]rnrn
这是什么情况?急等,怎么解决呢?
“/testAdo”应用程序中的服务器错误。rn--------------------------------------------------------------------------------rnrn在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接) rn说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 rnrn异常详细信息: System.Data.SqlClient.SqlException: 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)rnrn源错误: rnrnrn行 17: da = new SqlDataAdapter(cmd);rn行 18: rn行 19: da.Fill(ds, Common.Class1.table_Users);rn行 20: return ds;rn行 21: rn rnrn源文件: E:\code\ADO\DataAccess\Class1.cs 行: 19 rnrn堆栈跟踪: rnrnrn[SqlException (0x80131904): 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)]rn System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846951rn System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194rn System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +4860253rn System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +90rn System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +376rn System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221rn System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189rn System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185rn System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31rn System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433rn System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66rn System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499rn System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65rn System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117rn System.Data.SqlClient.SqlConnection.Open() +122rn System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31rn System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112rn System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287rn System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92rn DataAccess.Class1.getUsers() in E:\code\ADO\DataAccess\Class1.cs:19rn _Default.bindData() in e:\code\ADO\testAdo\Default.aspx.cs:23rn _Default.Page_Load(Object sender, EventArgs e) in e:\code\ADO\testAdo\Default.aspx.cs:17rn System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14rn System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35rn System.Web.UI.Control.OnLoad(EventArgs e) +99rn System.Web.UI.Control.LoadRecursive() +50rn System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627rnrn rnrn
帮忙找下错,这是什么情况,怎么解决
[code=javascript]js:rn$(document).ready(function()rnfunction yesShow()rn url = '/index.php/home/Index/showNews' + '/univ_name/'+univ_name;rn htmlobj = $.ajax(rn type:"POST",rn url : url,rn async : falsern ); rn rn alert(htmlobj.responseText);rn $("#popNew").html(htmlobj.responseText);rn rnwindow.onload=yesShow;rn);[/code]rnrn[code=php]php:rnpublic function showNews($univ_name)rn $univ_name=$_GET['univ_name'];rn $url = "http://www.sogou.com/web?query=".$univ_name."&ie=utf8";rn $contents = file_get_contents($url);rn //汉语输出rn echo " "; rn //起始字符位置rn $start_ch=strpos($contents,' '); rn //结束字符为止rn $end_ch=strpos($contents,'',$start_ch)+5; rn //新闻相关字符串rn $new_str=substr($contents, $start_ch,$end_ch-$start_ch+1);rn if ($new_str&&$contents&&$start_ch&&$end_ch)rn echo $new_str." ";rn rn else echo ""."没有搜到相关新闻".""; rn [/code]rnrn谷歌 ff都显示新闻,但是ie不显示,而且alert(htmlobj.responseText);都不跳出来
关于c++ 中的const 这是什么情况
如下代码:rnrnconst int n = 1;rn int n1, n2 = 3;rn int *p = (int*)&n;rn *p = 2;rn n1 = n;rn n1 = n2;rn int nSize = sizeof(n);rn int nSize1 = sizeof(n1);rn在int n = 1处加断点1rn在n1 = n;处加断点2 rn然后执行程序到断点1处 查看内存&n内存储的是1rn运行到断点2处 查看内存&n内存储的值编程了2rn接着往下运行n1 = n发现n1 = 1 此时查看&n内存储的值还是2rnrn接着运行nSize = 4rnrn下面是反汇编rnconst int n = 1;rn0041139E mov dword ptr [n],1 rn int n1, n2 = 3;rn004113A5 mov dword ptr [n2],3 rn int *p = (int*)&n;rn004113AC lea eax,[n] rn004113AF mov dword ptr [p],eax rn *p = 2;rn004113B2 mov eax,dword ptr [p] rn004113B5 mov dword ptr [eax],2 rn n1 = n;rn004113BB mov dword ptr [n1],1 rn n1 = n2;rn004113C2 mov eax,dword ptr [n2] rn004113C5 mov dword ptr [n1],eax rn int nSize = sizeof(n);rn004113C8 mov dword ptr [nSize],4 rn int nSize1 = sizeof(n1);rn004113CF mov dword ptr [nSize1],4rnrnrn看这两句对比rnn1 = n;rn004113BB mov dword ptr [n1],1rn n1 = n2;rn004113C2 mov eax,dword ptr [n2] rn004113C5 mov dword ptr [n1],eax rnTN的 貌似编译器直接给那个n1赋了个1,根本就没有从&n里去取数据,那为什么还要给n分配内存呢?rnrnrn
java.sql.SQLException: 数字溢出?这是什么情况
小菜鸟一名,最近在根据网上的需求写项目rn今天调试的时候发现报错rn报错信息:java.sql.SQLException: 数字溢出rn at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4380)rn at oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:111)rn at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:896)rn at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:388)rn at com.stock.project.dao.QueryDaoImpl.getAll(QueryDaoImpl.java:93)rn at com.stock.project.service.QueryServiceImpl.getAll(QueryServiceImpl.java:22)rn at com.stock.project.controllers.QueryServlet.doPost(QueryServlet.java:80)rnrn at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rnjava.sql.SQLException: 数字溢出rn at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4380)rn at oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:111)rn at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:896)rn at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:388)rn at com.stock.project.dao.QueryDaoImpl.getAll(QueryDaoImpl.java:93)rn at com.stock.project.service.QueryServiceImpl.getAll(QueryServiceImpl.java:22)rn at com.stock.project.controllers.QueryServlet.doPost(QueryServlet.java:80)rnrn at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)rnrn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)rnrn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rnrn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rn源代码:rnpublic List getAll(String[] params) //根据条件查询流水明细rn // TODO Auto-generated method stubrn Connection conn = null;rn PreparedStatement pstmt = null;rn ResultSet rs = null;rn List query=new ArrayList();rn List paramsList=new ArrayList();rn StringBuffer sql = new StringBuffer("select USERPARTS,PARTID,MNUMBER,USERNUMBER,PRICE,INDATE,OUTDATE from SPAREPART01 where 1=1");rn rn if(params[0]!=null && !"".equals(params[0]))rn rn sql.append(" and INDATE=?");rn paramsList.add(params[0]);rn rn rn if(params[1]!=null && !"".equals(params[1]))rn rn sql.append(" and OUTDATE=?");rn paramsList.add(params[1]);rn rn if(params[2]!=null && !"".equals(params[2]))rn rn sql.append(" and USERPARTS=?");rn paramsList.add(params[2]);rn rn try rn conn = DbUtils.getConnection();rn // 3.操作数据库rnrn pstmt = conn.prepareStatement(sql.toString());rnrn for(int i=0;i depts=deptService.getAll(params);rn request.setAttribute("depts", depts);rnrn request.getRequestDispatcher("/stock/listtable.jsp").forward(request, response);rn rn rnrnjsp界面:rnrnrnrnrnrnrnrn rn rn rn My JSP 'listtable.jsp' starting pagern rn rn rn rn rn rn rnrn rn rn rn rn rn 备件明细rn depts=(List)request.getAttribute("depts"); rn if(depts==null)rnrn%>rn rn rn rn rnrnrnrn 备件名称rn rn 备件型号rn rn rn 数量rn 单价rnrn 入库时间rn 出库时间 rn rn rn rnrn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rnrn rnrn
12306又挂了,这是什么情况
12306又挂了
这是什么情况,请各位帮我分析下,谢谢
以前服务器运行一直很正常。直到周四左右,突然有一天晚上apache down了。第二天我重启apache后恢复正常,查看了错误日志,发现建议我增大MaxClients,然后后面的日志全都是不能创建xxx子进程,xxx进程退出失败之类的。rnrn于是我增加了MaxClients和ServerLimit到5000,以为就不会出事了,结果再次出问题,这两天每天一到晚上11点左右的时候,apache就down了。还是error_log还是会记录让我增大MaxClients和ServerLimit和不能创建子进程一类的日志。正常来说,我们的服务器访问量不可能那么大。而且最近奥运期间应该减少才对。rnrn就在刚才11点50左右的时候,我打开网站发现速度很慢,ssh上去,观察一下cpu使用率,发现才排在最上面的mysqld只占了20%左右,httpd排在最下面。cpu根本没占多少。但连接服务器的速度越来越慢,到现在我已经登录不上去了。现在一头雾水,这到底是怎么回事,ddos攻击的话httpd的cpu使用率应该到达100%才对呀。rnrnps -aux | grep httpd,发现有好多好多httpd的进程。rnrn实在想不明白,请各位帮我分析下,可能是什么原因造成的。日志文件也并不大。我估计等到明天早上我才能登录上服务器了,郁闷。
jquery.ajax 返回值为空,这是什么情况
[code=JScript]rn$.ajax(rn url : "http://202.100.102.150:8080/authority/identyfying.htm",rn type : "post",rn data : "username":username,"identifyingcode":identifyingcode,rn success : function(data, textStatus, jqXHR)rn alert(data);rn rn);rn[/code]rnrn这段代码看着也没啥问题,但是返回的data就一直是空值,""rnrn这个action的页面代码是rnrn[code=Java]rnrnrn[/code]rnrn看着没啥问题啊
这是传说中的什么情况?什么都打不开了!!
“/”应用程序中的服务器错误。 -------------------------------------------------------------------------------- 在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: TCP 提供程序, error:
急!!麻烦各位大哥看看这是什么情况
[code=Delphi(Pascal)]rnprocedure TForm1.ComPort1RxChar(Sender: TObject; Count: Integer);rnbeginrn //ComPort1.Close;rn //ComPort1.Open;rn ComPort1.ReadStr(longstr,count);rn StatusBar1.Panels.Items[2].Text:=':00-'+longstr+'-00';rnend;rn[/code]rnCOmPort 控件里面这个方法就是开始实时读取Comport串口的数据吧?为什么longstr一直为空的??明明已经发送数据到了这个串口,但是就是收不到数据。<em>这是</em><em>什么情况</em>?
Windows8.1 安装不了VSS 2005?这是什么情况
Windows8.1 安装不了VSS 2005?<em>这是</em><em>什么情况</em>?rn[img=https://img-bbs.csdn.net/upload/201402/27/1393512167_415338.png][/img]
取得的属性名中附带 `1 这是什么情况
假设类中有一个属性public Nullable test get; set; rn我使用遍历类属性的方式获取每一个属性名称,但是rnforeach (PropertyInfo property in testclass.GetType().GetProperties())rnproperty.PropertyType.Name 取得的确是Nullable`1rnrn是因为属性名过长还是因为"惹的祸?请问这种问题如何解决呢?
客户端信息只有:“Mozilla/4.0”,这是什么情况
rn请教一下,用php的http_user_agent获取的客户端信息只有:“Mozilla/4.0”,rn<em>这是</em><em>什么情况</em>?
哪位大佬能告诉我这是什么情况
[img=https://img-bbs.csdn.net/upload/201712/30/1514631148_155889.png][/img][img=https://img-bbs.csdn.net/upload/201712/30/1514631156_621461.png][/img]
请问这是什么情况啊FeedBack.html?Page=2
大家好,rn我在网上看到有一个页面,是个留言页面,rn他的页面是FeedBack.html?Page=2,而且每个页面上都有10条留言,rn而且他的分页是 [1],[2],[3]....[9],这样子的,每个连接都是FeedBack.html?Page=rnrn好神奇啊。<em>这是</em>怎么做的啊。我平时用的都是.php?Page=rnrn又不像文章那样发布一条信息就生成一个静态页面,他是每个页面有10个留言啊。rn<em>这是</em>怎么回事呢,大家能不能教我一下下啊。
>>Char指针无法赋值啊..?这是什么情况..
[code=C/C++]rnmain()rn char* pChar = NULL;rn myFunct(pChar);rnrnrnvoid myFunct(char* retStr)rnrn char* retStr3 = NULL;rn char* retStr2 = (char*) malloc(50);rn //retStr2 = 0x353738rn retStr = retStr2;rn //retStr = NULL;rn retStr3 = retStr2;rn //retStr3 = 0x353738rn retStr = (char*) malloc(50);rn //retStr = NULL..rnrn[/code]rnrn求解 不知道我又犯了什么很二的错误.. rnrn代码写了两天了..脑袋有点乱
msdn.itellyou.cn网站自动跳转127.0.0.1这是什么情况??
msdn.itellyou.cn,在网络上跑这么久,还没有遇到过这种情况[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/003/onion/59.gif][/img]
这是什么情况?不会是我电脑的事吧?
[img=http://img.my.csdn.net/uploads/201208/09/1344472386_8518.jpg][/img]rnrnrn为什么域名前面的图标是拍拍的图标? csdn跟拍拍有关系么?
大家帮我看看这是什么情况
我的电脑,开机时要两次启动才能进入windows系统。rn还有进入之后会频繁的出现花屏!不知道是出了什么问题!rn是不是显卡出了问题?请各位指点一下!高分回报!
这是什么情况,SQL 事务跟踪的时候发现的
看图。[img=https://img-bbs.csdn.net/upload/201702/04/1486172316_639631.jpg][/img]
ckeditor和ckfinder上传视频报错,这是什么情况???
![图片说明](https://img-ask.csdn.net/upload/201612/02/1480664316_625712.png)rnrnrn![图片说明](https://img-ask.csdn.net/upload/201612/05/1480902672_682817.png)rn```rnCKEDITOR.editorConfig = function( config )rnrn // Define changes to default configuration here. For example:rn // config.language = 'fr';rn // config.uiColor = '#AADC6E';rn config.image_previewText = ' '; //预览区域显示内容rn config.filebrowserBrowseUrl = '/plugin/ckfinder/ckfinder.html' ; rn config.filebrowserImageBrowseUrl = '/plugin/ckfinder/ckfinder.html?type=Images' ; rn config.filebrowserFlashBrowseUrl = '/plugin/ckfinder/ckfinder.html?type=Flash' ; rn config.filebrowserUploadUrl = '/plugin/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Files' ; rn config.filebrowserImageUploadUrl = '/plugin/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Images' ; rn config.filebrowserFlashUploadUrl = '/plugin/ckfinder/core/connector/java/connector.java?command=QuickUpload&type=Flash' ; rn config.filebrowserWindowWidth = '1000'; rn config.filebrowserWindowHeight = '700'; rn config.language = "zh-cn" ; rn config.fullPage = "";rn config.enterMode = CKEDITOR.ENTER_BR ; // p | div | br rn //config.uiColor = '#abc';rn config.width = "1000"; //文本域宽度rn config.height = "300";//文本域高度rn;rnrnrn truern rn /upload/ckDirrn rn rn 1600rn 1200rn 80rn UTF-8rn falsern falsern CKFinder_UserRolern truern truern truern html,htm,xml,jsrn rn .svnrn CVSrn rn rn .*rn rn rn rn rn %BASE_URL%files/rn %BASE_DIR%filesrn 0rn 7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,ziprn rn rn rn rn %BASE_URL%images/rn %BASE_DIR%imagesrn 0rn bmp,gif,jpeg,jpg,pngrn rn rn rn %BASE_URL%flash/rn %BASE_DIR%flashrn 0rn swf,flvrn rn rn rn rn rn *rn *rn /rn truern truern truern truern truern truern truern truern rn rn rn truern %BASE_URL%_thumbs/rn %BASE_DIR%_thumbsrn falsern 100rn 100rn 80rn rn rn rn imageresizern com.ckfinder.connector.plugins.ImageResizern rn rn rn rn rn rn rn fileeditorrn com.ckfinder.connector.plugins.FileEditorrn rn rn rn com.ckfinder.connector.configuration.ConfigurationPathBuilderrnrnrn rn```rnrn
这是域名劫持还是什么情况?铁通耍流氓?
今天一个客户的机器出现奇怪的问题rnrn在浏览器里面能打开我们的网站,也能打开我们的webservice页面rnrn但却不能登录我们的客户端程序(一个winform程序,用webservice进行登录验证)rnrnrn我用Tcpview察看了下,在winform程序上点“登录”按钮后,根本没有连接到我们的服务器,而是连到了211.98.70.194这个ip上,rn查了下客户那边用的是铁通的网络,那个ip也是铁通的rnrnrn<em>这是</em>神马情况??域名劫持?但为什么浏览器却又正常
这是什么情况?怎么速度时快时慢的?
直接上代码大家试试rn[code=text]package mainrnrnimport (rn "fmt"rn "runtime"rn "time"rn)rnrnfunc main() rn runtime.GOMAXPROCS(2)rn ch := make(chan int)rn go func() rn for rn select rn case <- 0rn rn ()rn time.Sleep(time.Second)rn fmt.Println(i)rn[/code]rnMAXPROCS为1时,i能跑到3401234上下rn而MAXPROCS大于1时,i只能跑141234上下了!rn这<em>什么情况</em>???rn
这是什么情况?求歌大神解释下。。。
Build target 'Target 1'rnassembling STARTUP.A51...rnassembling dscr.a51...rnassembling USBJmpTb.a51...rncompiling fw.c...rncompiling USBchuanshu.c...rncompiling gpif.c...rnlinking...rnBL51 BANKED LINKER/LOCATER V6.22 - SN: Eval VersionrnCOPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2009rn"STARTUP.obj",rn".\dscr.obj",rn"USBJmpTb.obj",rn"fw.obj",rn"USBchuanshu.obj",rn"gpif.obj",rn".\EZUSB.LIB" rnTO "创新实验" rnRAMSIZE(256) rn******************************************************************************rn* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 0AD4H BYTE (135%) *rn******************************************************************************rnProgram Size: data=43.7 xdata=4644 code=3159rnLINK/LOCATE RUN COMPLETE. 0 WARNING(S), 0 ERROR(S)rn*** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDEDrn MODULE: C:\KEIL\C51\LIB\C51S.LIB (-----)rn LIMIT: 0800H BYTESrnTarget not createdrnrn用keil C51编写的,最后出现这个
请问是否有人知道这是什么情况
我们今天找代理商新配置的一台服务器,系统安装的centos6.3,在断电重启的情况下进不了系统,报错截图如附件,不知道你们是否知道<em>这是</em><em>什么情况</em>,机器配置为R420(热盘冷电)E5-2407*2/8G*2/600G(SAS 3.5 15K)*3/PERC H710P(1G缓存)/DVD/单电/无导轨rnrn另外我之前找别的代理商配置的同配置机器也有类似的情况,<em>这是</em>哪里配置的不对吗?rn[img=https://img-bbs.csdn.net/upload/201310/14/1381735443_177785.jpg][/img]
在xp系统下安装.exe出现了错误,这是什么情况
我用vs生成的安装包,安装上后,点击图标出现了这个,这个怎么解决?rn[img=https://img-bbs.csdn.net/upload/201710/24/1508846433_121320.png][/img]
未将对象应用设置到实例,这是什么情况
public SqlDataReader userlogin(string user,string pwd) rn rn string connstr=@"Data Source=(local);user id=sa;password=1;Initial Catalog=dpic"; rn string Sql="select * from sys_user where myuser='"+@user+"' and pwd='"+@FormsAuthentication.HashPasswordForStoringInConfigFile(pwd,"MD5").Substring(8,16)+"'"; rn SqlConnection myConnection = new SqlConnection(connstr); rn myConnection.Open(); rn SqlCommand myCommand=new SqlCommand(Sql,myConnection); rn SqlDataReader reader=myCommand.ExecuteReader(); rn return reader; rn rnrn新手,照别人的抄的,请指教
ribbon 所需资源不可用 这是什么情况
MFC单文档的程序 用了ribbonrn程序在页面上不停切换显示东西 在win7上貌似很正常,但是放到XP上面,运行一段时间,就会提示所需资源不可用,然后界面上的东西就显示不正常了,ribbon就消失看不到了 但是程序没有崩溃 还能正常运行。。<em>这是</em><em>什么情况</em>啊 。程序切换显示东西的部分没有用到绘图啊 。。。。而且ribbon上的控件(比如static) 在win7下动态改变显示的内容,但是在XP下不行 求解。。。。rn
各位大神请问题这是什么情况
Unable to instantiate Action, com.sgm.budget.action.adjust.BudgetAdjustAction, defined for 'budget-adjust' in namespace '/adjust'Error creating bean with name 'com.sgm.budget.action.adjust.BudgetAdjustAction': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.sgm.budget.action.adjust.BudgetAdjustAction]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problem: FBT cannot be resolved or is not a fieldn
myeclipse离线装ADT,这是什么情况
已经到了apply changes这一步了结果出现下面这种情况:rn[img=https://img-bbs.csdn.net/upload/201408/09/1407513723_579622.png][/img]
Churrasco.exe、pr.exe、ms10048.exe下载
Churrasco.exe pr.exe ms10048.exe集成下载附源码www.zhangjiao.net 相关下载链接:[url=//download.csdn.net/download/loveshe/3310555?utm_source=bbsseo]//download.csdn.net/download/loveshe/3310555?utm_source=bbsseo[/url]
MyQQ_v20120823(Java版高仿QQ聊天即时通软件)下载
第一阶段老师让做的项目,现在完整项目打包上传上来,Java版高仿QQ即时通聊天软件,包括客户端和服务端,特别是登录窗体,几乎与腾讯QQ2011没有区别,包含创建数据库的SQL命令,主要功能包括私聊、表情发送、图片发送、文件传输、截图、群聊天室、系统公告、桌面弹窗、声音提醒、离线消息发送与接收等…… 相关下载链接:[url=//download.csdn.net/download/liuxianan612/4668336?utm_source=bbsseo]//download.csdn.net/download/liuxianan612/4668336?utm_source=bbsseo[/url]
C51-AVR单片机实验板仿真下载
C51-AVR单片机实验板仿真;本程序仿真了ks0108驱动芯片的12864液晶屏,DS18B20温度IC,1302时钟IC,流水灯, 数码管,采用菜单模式,使它更像是一个产品,用起来也像是在用一个产品,而不光是一块实验板。 相关下载链接:[url=//download.csdn.net/download/whgjxyyyd/1954086?utm_source=bbsseo]//download.csdn.net/download/whgjxyyyd/1954086?utm_source=bbsseo[/url]
文章热词 设计制作学习 机器学习教程 Objective-C培训 交互设计视频教程 颜色模型
相关热词 mysql关联查询两次本表 native底部 react extjs glyph 图标 长江师范学院大数据 大数据最新视频
我们是很有底线的