VB报错462,请大神帮忙解决 [问题点数:40分]

Bbs1
本版专家分:0
结帖率 0%
Bbs10
本版专家分:129858
Blank
红花 2017年3月 VB大版内专家分月排行榜第一
2016年12月 VB大版内专家分月排行榜第一
2016年5月 VB大版内专家分月排行榜第一
2016年1月 VB大版内专家分月排行榜第一
2015年12月 VB大版内专家分月排行榜第一
2015年11月 VB大版内专家分月排行榜第一
2015年10月 MS-SQL Server大版内专家分月排行榜第一
2015年9月 VB大版内专家分月排行榜第一
2015年9月 MS-SQL Server大版内专家分月排行榜第一
2015年8月 VB大版内专家分月排行榜第一
2015年8月 MS-SQL Server大版内专家分月排行榜第一
2015年7月 VB大版内专家分月排行榜第一
2015年7月 MS-SQL Server大版内专家分月排行榜第一
2015年6月 VB大版内专家分月排行榜第一
2015年5月 VB大版内专家分月排行榜第一
2015年4月 VB大版内专家分月排行榜第一
2015年3月 VB大版内专家分月排行榜第一
2015年2月 VB大版内专家分月排行榜第一
2014年11月 VB大版内专家分月排行榜第一
2014年9月 VB大版内专家分月排行榜第一
2014年8月 VB大版内专家分月排行榜第一
2014年7月 VB大版内专家分月排行榜第一
2013年7月 VB大版内专家分月排行榜第一
2013年4月 VB大版内专家分月排行榜第一
2010年2月 VB大版内专家分月排行榜第一
2010年1月 VB大版内专家分月排行榜第一
2009年11月 VB大版内专家分月排行榜第一
2009年9月 VB大版内专家分月排行榜第一
2009年8月 VB大版内专家分月排行榜第一
2009年7月 VB大版内专家分月排行榜第一
2009年4月 VB大版内专家分月排行榜第一
2009年3月 VB大版内专家分月排行榜第一
2009年2月 VB大版内专家分月排行榜第一
2009年1月 VB大版内专家分月排行榜第一
2008年6月 VB大版内专家分月排行榜第一
2007年12月 VB大版内专家分月排行榜第一
2007年10月 VB大版内专家分月排行榜第一
2007年9月 VB大版内专家分月排行榜第一
Blank
黄花 2016年11月 VB大版内专家分月排行榜第二
2016年1月 MS-SQL Server大版内专家分月排行榜第二
2015年12月 MS-SQL Server大版内专家分月排行榜第二
2015年11月 MS-SQL Server大版内专家分月排行榜第二
2015年5月 MS-SQL Server大版内专家分月排行榜第二
2015年4月 MS-SQL Server大版内专家分月排行榜第二
2015年1月 VB大版内专家分月排行榜第二
2015年1月 MS-SQL Server大版内专家分月排行榜第二
2014年12月 VB大版内专家分月排行榜第二
2014年11月 MS-SQL Server大版内专家分月排行榜第二
2014年9月 MS-SQL Server大版内专家分月排行榜第二
2013年8月 VB大版内专家分月排行榜第二
2013年6月 VB大版内专家分月排行榜第二
2013年5月 VB大版内专家分月排行榜第二
2010年4月 VB大版内专家分月排行榜第二
2010年3月 VB大版内专家分月排行榜第二
2008年12月 VB大版内专家分月排行榜第二
2008年8月 VB大版内专家分月排行榜第二
2008年7月 VB大版内专家分月排行榜第二
2007年11月 VB大版内专家分月排行榜第二
Blank
蓝花 2017年1月 MS-SQL Server大版内专家分月排行榜第三
2015年6月 MS-SQL Server大版内专家分月排行榜第三
2015年3月 MS-SQL Server大版内专家分月排行榜第三
2015年2月 MS-SQL Server大版内专家分月排行榜第三
2014年12月 MS-SQL Server大版内专家分月排行榜第三
2014年10月 VB大版内专家分月排行榜第三
2014年10月 MS-SQL Server大版内专家分月排行榜第三
2014年8月 MS-SQL Server大版内专家分月排行榜第三
2013年9月 VB大版内专家分月排行榜第三
2013年3月 VB大版内专家分月排行榜第三
2012年5月 VB大版内专家分月排行榜第三
2012年4月 VB大版内专家分月排行榜第三
2010年10月 VB大版内专家分月排行榜第三
2010年8月 VB大版内专家分月排行榜第三
2010年7月 VB大版内专家分月排行榜第三
2009年5月 VB大版内专家分月排行榜第三
2008年9月 VB大版内专家分月排行榜第三
2008年4月 VB大版内专家分月排行榜第三
2008年2月 VB大版内专家分月排行榜第三
关于网络错误462问题,详细描述如下
-
问一下wamp虚拟主机配置462错误怎么解决
-
vb操作word的462错误,找了一天没找到解决方法,高手来看看吧
先新建一个工程,拖一个button进去,然后把下面的代码复制进去。 这段代码主要是设置页面的边距。 运行后,第一次运行可以正常打开word,但是在第二次提示<em>462</em>错误,但是把设置页边距的代码去掉后就没
462远程服务器不存在或不能使用"">出现"实时错误462远程服务器不存在或不能使用"
Sub A(ByVal fileFolder As String) Dim app As New Word.Application Set app = New Word.Application Dim
大神帮忙解决一下
请各位<em>大神</em>给出源程序,不胜感激!rnrn1.编写一个C++程序,计算并输出两个无符号大整数m与n的和、差、积、整商及余数(其中| m | ≤ 101000 ,| n | ≤ 101000)。用类来实现这个无符号大整数的和、差、积、整商及求余运算以及插入符(<> )的重载。rnrn2.编程求解皇后问题。在m*m的棋盘上有n个皇后(n ≤ m),输出所有合法的皇后排列(即在任何一行、一列或一条对角线上,仅能放置一个皇后)。rnrn3.实现图书馆借书系统,其功能包括:rn申请新的图书证;rn注销图书证;rn图书查询,方式包括按书名、作者、关键字查询等;rn借书(包括续借、预约);rn书到期后,发送还书的通知;rn还书(包括过期罚款);rn读者状态查询;rn读者个人信息修改(包括修改密码)。rnrn4.编写一个C++程序,它能根据读入的某二叉树的中序序列和后序序列(两个英文字母串,每个串长不大于80,各占一行),构造该二叉树,并输出该二叉树的前序序列、叶的个数、二度结点个数及其从根节点开始的最长路径上的各结点。rnrn5.编写一个C++程序,它能根据读入的某带权有向图G的边、权,来构造图G,并输出G的邻接矩阵、拓扑序列、各顶点之间的最短路经。输入时用三个非负整数i、j、w表示一条边(顶点Vi到顶点Vj的边)及该边的权(w);三个-1(-1 -1 -1) 表示输入结束。其中,i和j的值都不大于40,i、j值中最大者再加1是图G的顶点个数。
报错,不会解决了。。。求大神帮忙看一下
using System;rnusing System.Collections.Generic;rnusing System.ComponentModel;rnusing System.Data;rnusing System.Drawing;rnusing System.Linq;rnusing System.Text;rnusing System.Windows.Forms;rnusing System.Runtime.InteropServices;rnusing System.Management;rnusing System.Net.NetworkInformation;rnusing System.Text.RegularExpressions;rnrn rnrnnamespace WebPagesrnrn public partial class Form1 : Formrn rn ConfigFile cf = ConfigFile.Instanse; rn public Form1()rn rn InitializeComponent();rn rnrn private void button1_Click(object sender, EventArgs e)rn rn DialogResult choice;  // 用户的选择rn choice = MessageBox.Show("确定要退出吗?", "退出系统", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);rnrn if (choice == DialogResult.OK)rn rn Application.Exit(); // 退出应用程序rn rn rnrnrn ////ShellExecute函数ShowCmd参数可选值 rnrn /// rn /// 小程序rn /// rnrnrn //开始删除IE缓存、打开计算器、打开记事本rnrn public enum ShowCommands : int rn rn SW_HIDE = 0, rn SW_SHOWNORMAL = 1, rn SW_NORMAL = 1, rn SW_SHOWMINIMIZED = 2, rn SW_SHOWMAXIMIZED = 3, rn SW_MAXIMIZE = 3, rn SW_SHOWNOACTIVATE = 4, rn SW_SHOW = 5, rn SW_MINIMIZE = 6, rn SW_SHOWMINNOACTIVE = 7, rn SW_SHOWNA = 8, rn SW_RESTORE = 9, rn SW_SHOWDEFAULT = 10, rn SW_FORCEMINIMIZE = 11, rn SW_MAX = 11 rn rn rn //调用Win32 API rn [DllImport("shell32.dll")] rn static extern IntPtr ShellExecute(IntPtr hwnd, string lpOperation, string lpFile, rn string lpParameters, string lpDirectory, ShowCommands nShowCmd); rnrn private void button43_Click(object sender, EventArgs e)rn rn //删除IE临时文件rn ShellExecute(IntPtr.Zero, "open", "rundll32.exe",rn "InetCpl.cpl,ClearMyTracksByProcess 255", "", ShowCommands.SW_SHOWMAXIMIZED);rn rnrn private void button44_Click(object sender, EventArgs e)rn rn //调用calc.exe打开计算器 rn ShellExecute(this.Handle, "open", "calc.exe", null, null, ShowCommands.SW_FORCEMINIMIZE); rn rnrn private void button45_Click(object sender, EventArgs e)rn rn //调用NOTEPAD.EXE打开记事本 rn ShellExecute(this.Handle, "open", "NOTEPAD.EXE", null, null, ShowCommands.SW_SHOWNORMAL); rn rn //结束删除IE缓存、打开计算器、打开记事本rnrn ///rnrn #region 加载配置文件中的信息 rn /// rn /// 加载配置文件中的信息 rn /// rn protected void loadConfig() rn rn cf.fileName = AppDomain.CurrentDomain.BaseDirectory + "\\config.ini"; rn txtIP.Text = cf["ip地址"]; rn txtSubMark.Text = cf["子网掩码"]; rn txtGateWay.Text = cf["默认网关"]; rn txtDNS1.Text = cf["主DNS"]; rn txtDNS2.Text = cf["备用DNS"]; rn rn #endregion rn rn #region 设置ip信息到网卡 rn private void btnSettingNetwork_Click(object sender, EventArgs e) rn rn rn try rn rn if (!IsIpaddress(txtIP.Text.Trim())) rn rn MessageBox.Show("ip格式不正确!"); return; rn rn if (!IsIpaddress(txtSubMark.Text.Trim())) rn rn MessageBox.Show("子网掩码格式不正确!"); return; rn rn if (!IsIpaddress(txtGateWay.Text.Trim())) rn rn MessageBox.Show("网关格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS1.Text.Trim())) rn rn MessageBox.Show("DNS1格式不正确!"); return; rn rn if (!IsIpaddress(txtDNS2.Text.Trim())) rn rn MessageBox.Show("DNS2格式不正确!"); return; rn rn string[] ip = new string[] txtIP.Text.Trim() ; rn string[] SubMark = new string[] txtSubMark.Text.Trim() ; rn string[] GateWay = new string[] txtGateWay.Text.Trim() ; rn string[] DNS = new string[] txtDNS1.Text.Trim(),txtDNS2.Text.Trim() ; rn SetIpInfo(ip, SubMark, GateWay, DNS); rn cf["ip地址"] = txtIP.Text.Trim(); rn cf["子网掩码"] = txtSubMark.Text.Trim(); rn cf["默认网关"] = txtGateWay.Text.Trim(); rn cf["主DNS"] = txtDNS1.Text.Trim(); rn cf["备用DNS"] = txtDNS2.Text.Trim(); rn MessageBox.Show("ip信息设置成功!","成功提示",MessageBoxButtons.OK,MessageBoxIcon.Information); rn rn catch(Exception er) rn rn MessageBox.Show("设置出错:"+er.Message,"出错提示",MessageBoxButtons.OK,MessageBoxIcon.Error); rn rn rn rn protected void SetIpInfo(string []ip,string []SubMark,string []GateWay,string []DNS) rn rn ManagementBaseObject inPar = null; rn ManagementBaseObject outPar = null; rn ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); rn ManagementObjectCollection moc = mc.GetInstances(); rn foreach (ManagementObject mo in moc) rn rn if (!(bool)mo["IPEnabled"]) continue; rn inPar = mo.GetMethodParameters("EnableStatic"); rn inPar["IPAddress"] = ip;//ip地址 rn inPar["SubnetMask"] =SubMark; //子网掩码 rn mo.InvokeMethod("EnableStatic", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetGateways"); rn inPar["DefaultIPGateway"] = GateWay; //设置网关地址 1.网关;2.备用网关 rn outPar = mo.InvokeMethod("SetGateways", inPar, null);//执行 rn rn inPar = mo.GetMethodParameters("SetDNSServerSearchOrder"); rn inPar["DNSServerSearchOrder"] = DNS; //设置DNS 1.DNS 2.备用DNS rn mo.InvokeMethod("SetDNSServerSearchOrder", inPar, null);// 执行 rn break; //只设置一张网卡,不能多张。 rn rn rn rn #endregion rn rn #region 从网卡获取ip设置信息 rn /// rn /// 从网卡获取ip设置信息 rn /// rn /// rn /// rn private void btnGetFromNetwork_Click(object sender, EventArgs e) rn rn NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); rn foreach (NetworkInterface adapter in nics) rn rn bool Pd1 = (adapter.NetworkInterfaceType == NetworkInterfaceType.Ethernet); //判断是否是以太网连接 rn if (Pd1) rn rn IPInterfaceProperties ip = adapter.GetIPProperties(); //IP配置信息 rn if (ip.UnicastAddresses.Count > 0) rn rn txtIP.Text = ip.UnicastAddresses[0].Address.ToString();//IP地址 rn txtSubMark.Text = ip.UnicastAddresses[0].IPv4Mask.ToString();//子网掩码 rn rn rn if (ip.GatewayAddresses.Count > 0) rn rn txtGateWay.Text = ip.GatewayAddresses[0].Address.ToString();//默认网关 rn rn int DnsCount = ip.DnsAddresses.Count; rn Console.WriteLine("DNS服务器地址:"); rn if (DnsCount > 0) rn rn try rn rn txtDNS1.Text = ip.DnsAddresses[0].ToString(); //主DNS rn txtDNS2.Text = ip.DnsAddresses[1].ToString(); //备用DNS地址 rn rn catch(Exception er) rn rn throw er; rn rn rn rn rn rn #endregion rn rn #region 判断是否是正确的ip地址 rn /// rn /// 判断是否是正确的ip地址 rn /// rn /// rn /// rn protected bool IsIpaddress(string ipaddress) rn rn string[] nums = ipaddress.Split('.'); rn if (nums.Length != 4) return false; rn foreach (string num in nums) rn rn if ( Convert.ToInt32(num) < 0 || Convert.ToInt32(num) > 255) return false; rn rn return true; rn rn #endregion rn rn #region Form1_Load rn private void Form1_Load(object sender, EventArgs e) rn rn loadConfig(); rn rn #endregion rn rnrn rn rnrnrn<em>报错</em>:rn未能找到类型或命名空间名称“ManagementBaseObject”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementClass”(是否缺少 using 指令或程序集引用?)rn未能找到类型或命名空间名称“ManagementObjectCollection”(是否缺少 using 指令或程序集引用?)rnrnrn
shell脚本报错,求大神帮忙解决
shell脚本内容如下rnrn#!/bin/shrnexport NLS_LANG=AMERICAN_AMERICA.ZHS16GBKrnora_path='abp_query/bhp2pz_P@new_hss'rnrntable_name='tmp_pldx_warn'rnrn#获得文件地址rnrncd /home/abp/zjprnmyFile="`date '+%Y%m%d'`*.csv"rn echo $myFilern#检查文件是否存在 rn if [ ! -f "myFile" ]; rnthen rn#登录数据库 rn sqlplus -s $ora_path <
CMake 编译 TrinityCore时报错大神帮忙解决一下~
想自己搭建一个WOW私服下载的是 VS2015 下载完源码后 编译出现这个错误~在网上找了很多都<em>解决</em>不了希望哪位<em>大神</em><em>帮忙</em><em>解决</em>一下~谢谢好人一生平安~!
mysql 报错1005 请大神帮忙解决
[img=https://img-bbs.csdn.net/upload/201410/16/1413430452_846324.png][/img]
运行时错误,“462”!
编了一个程序,运行时,有时会出现如下提示:运行错误,“<em>462</em>” 远程服务器不存在或不可用。 我的程序的作用:查找相应的数据,并用WORD打印出来,并没有涉及到远程服务器呀! 请各位高手们指导指导! 先
求助,如何解决错误462:远程服务器不存在或不可获得
我在用<em>vb</em>调用word的打印功能进行打印时,程序第一次运行很正常,可是再次打印时<em>报错</em>:The remote server machine does not exist or is unavailabl
VB操纵EXCEL表,第一次完美运行,第二次报错“实时错误462:远程服务器不存在或不能使用”
Private Sub Command1_Click() '定义、声明EXCEL对象 Dim xlapp As Excel.Application Dim xlbook As Excel.Workbo
HTTP常见状态码(404、400、500
一些常见的状态码为: 200 - 服务器成功返回网页  404 - 请求的网页不存在  503 - 服务不可用  详细分解: 1xx(临时响应)  表示临时响应并需要请求者继续执行操作的状态代码。 代码 说明  100 (继续) 请求者应当继续提出请求。服务器返回此代码表示已收到请求的第一部分,正在等待其余部分。  101 (切换协议) 请求者已要求服务器切换协议,服
VB调用WORD时出现462错误:远程服务器不存在或不能使用,如何解决
本人初学<em>vb</em>,以下代码是我程序中截取的,程序要求在不关闭情况下可多次运行,但是在第二次运行时就出现<em>462</em>错误提示:远程服务器不存在或不能使用,烦请高人指点。谢谢! Option Explicit 'D
请各位大神帮忙看看Selenium+java报错
如图,不知道哪里错了,请<em>帮忙</em>看看rnrn[img=https://img-bbs.csdn.net/upload/201610/08/1475913037_145988.png][/img]
网站老是报错,请大神帮忙指点
An unhandled exception occurred and the process was terminated.rnrnApplication ID: /LM/W3SVC/1/ROOT/jxcTOPrnrnProcess ID: 26548rnrnException: System.IO.FileNotFoundExceptionrnrnMessage: Could not load file or assembly 'System.Web.resources, Version=4.0.0.0, Culture=zh-CN, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件。rnrnStackTrace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)rn at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)rn at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)rn at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)rn at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)rn at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)rn at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)rn at System.Web.SR.GetString(String name)rn at System.Web.Hosting.HostingEnvironment.ShutdownThisAppDomainOnce()rn at System.Web.Hosting.HostingEnvironment.InitiateShutdownWorkItemCallback(Object state)rn at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)rn at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)rn at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()rn at System.Threading.ThreadPoolWorkQueue.Dispatch()rn at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()rnrnInnerException: System.IO.FileNotFoundExceptionrnrnMessage: 文件不存在“System.Web.resources.dll”在“”目录中rnrnStackTrace: at Carpa.Web.Framework.Internal.AssemblyLoader.Load(String assemblyName)rn at Carpa.Web.Framework.Internal.AssemblyRegistration.DoAssemblyResolve(Object sender, ResolveEventArgs e)rn at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
keepalived make报错大神帮忙看看
[root@localhost keepalived-1.2.24]# makernMaking all in librnmake[1]: Entering directory `/root/keepalived-1.2.24/lib'rnmake all-amrnmake[2]: Entering directory `/root/keepalived-1.2.24/lib'rnmake[2]: Leaving directory `/root/keepalived-1.2.24/lib'rnmake[1]: Leaving directory `/root/keepalived-1.2.24/lib'rnMaking all in keepalivedrnmake[1]: Entering directory `/root/keepalived-1.2.24/keepalived'rnMaking all in corernmake[2]: Entering directory `/root/keepalived-1.2.24/keepalived/core'rn CC namespaces.ornnamespaces.c: In function ‘setns’:rnnamespaces.c:184: error: ‘SYS_setns’ undeclared (first use in this function)rnnamespaces.c:184: error: (Each undeclared identifier is reported only oncernnamespaces.c:184: error: for each function it appears in.)rnmake[2]: *** [namespaces.o] Error 1rnmake[2]: Leaving directory `/root/keepalived-1.2.24/keepalived/core'rnmake[1]: *** [all-recursive] Error 1rnmake[1]: Leaving directory `/root/keepalived-1.2.24/keepalived'rnmake: *** [all-recursive] Error 1rn该装的包都装了,请问这个<em>报错</em>是什么意思?
java使用存储过程报错,请大神解决
2014-3-26 16:16:55 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet springmvc threw exceptionrncom.microsoft.sqlserver.jdbc.SQLServerException: 不支持从 OTHER 到 BINARY 的转换。rn at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setObject(Unknown Source)rn at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setNull(Unknown Source)rn at org.apache.commons.dbcp.DelegatingPreparedStatement.setNull(DelegatingPreparedStatement.java:105)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 com.ibatis.common.jdbc.logging.PreparedStatementLogProxy.invoke(PreparedStatementLogProxy.java:70)rn at $Proxy20.setNull(Unknown Source)rn at com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap.setParameter(ParameterMap.java:174)rn at com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap.setParameters(ParameterMap.java:126)rn at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeUpdateProcedure(SqlExecutor.java:227)rn at com.ibatis.sqlmap.engine.mapping.statement.ProcedureStatement.sqlExecuteUpdate(ProcedureStatement.java:34)rn at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:94)rn at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:393)rn at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)rn at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:86)rn at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.insert(SqlMapClientImpl.java:62)rn at com.it94hao.dao.impl.market.WorksDaoImpl.insertWorksq(WorksDaoImpl.java:69)rn at com.it94hao.biz.impl.market.WorksBizImpl.registration(WorksBizImpl.java:146)rn at com.it94hao.action.market.StudentController.insertStudent(StudentController.java:400)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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)rn at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at com.it94hao.filter.PowerFilter.doFilter(PowerFilter.java:65)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Unknown Source)rn
求VB大神帮忙
求一个用玫瑰花写“郑婷婷 三个字的EXE桌面特效 有的发邮箱735763656@qq.com
group_concat in 的问题,请大神帮忙解决
select id, product,rn( select group_concat(productname) from soundgoods where soundgoods.id in(user_renewal.sound_p)) as soundsrnfrom user_renewalrnrn上面rn( select group_concat(productname) from soundgoods where soundgoods.id in(user_renewal.sound_p)) as sounds --这里查出的结果不会以,分割,只能查出一个值 为 arnrn而下面不是写在子查询中的结果是a,b,c,drnselect group_concat(productname) from soundgoods where soundgoods.id in(1,2,3,4,)rn这样查出来的结果不一样呢?
内存错误,急!!!请大神帮忙解决!!!
程序运行堆栈如下:rn*** glibc detected *** /home/VideoRecoServer/MobileEcop/MobileEcop: double free or corruption (!prev): 0x08a682a8 ***rn[New Thread 0x72302b70 (LWP 6753)]rn[Thread 0x72302b70 (LWP 6753) exited]rnnot into pthread2rn======= Backtrace: =========rn/lib/libc.so.6[0x387a231]rn/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x2aa53f1]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e545]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e584]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e6a2]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e765]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e819]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865e83d]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865d376]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865b548]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x865be04]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x8694389]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x80a774b]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x8072fee]rn/home/VideoRecoServer/MobileEcop/MobileEcop[0x80d1100]rn/lib/libpthread.so.0[0x45a935]rn/lib/libc.so.6(clone+0x5e)[0x38e882e]rn======= Memory map: ========rn00110000-00158000 r-xp 00000000 fd:00 144455 /home/VideoRecoServer/lib/libTDCameraManager.sorn00158000-00159000 rw-p 00048000 fd:00 144455 /home/VideoRecoServer/lib/libTDCameraManager.sorn00159000-0018f000 r-xp 00000000 fd:00 144438 /home/VideoRecoServer/lib/libqwtmathml.so.6rn0018f000-00199000 rw-p 00035000 fd:00 144438 /home/VideoRecoServer/lib/libqwtmathml.so.6rn00199000-001e2000 r-xp 00000000 fd:00 144456 /home/VideoRecoServer/lib/libQtXml.so.4rn001e2000-001e4000 rw-p 00049000 fd:00 144456 /home/VideoRecoServer/lib/libQtXml.so.4rn001e4000-001eb000 r-xp 00000000 fd:00 144473 /home/VideoRecoServer/lib/libCYNET_API.sorn001eb000-001ec000 rw-p 00006000 fd:00 144473 /home/VideoRecoServer/lib/libCYNET_API.sorn001ec000-001fb000 r-xp 00000000 fd:00 12885 /usr/lib/libXext.so.6.4.0rn001fb000-001fc000 rw-p 0000f000 fd:00 12885 /usr/lib/libXext.so.6.4.0rn001fc000-00200000 r-xp 00000000 fd:00 145383 /lib/libgthread-2.0.so.0.2000.1rn00200000-00201000 rw-p 00003000 fd:00 145383 /lib/libgthread-2.0.so.0.2000.1rn00203000-0020b000 r-xp 00000000 fd:00 144501 /home/VideoRecoServer/lib/libTDSDK.sorn0020b000-0020c000 rw-p 00007000 fd:00 144501 /home/VideoRecoServer/lib/libTDSDK.sorn0020c000-00214000 r-xp 00000000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00214000-00215000 r--p 00007000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00215000-00216000 rw-p 00008000 fd:00 10067 /lib/libcrypt-2.10.1.sorn00216000-0023d000 rw-p 00216000 00:00 0 rn0023d000-00244000 r-xp 00000000 fd:00 145381 /lib/librt-2.10.1.sorn00244000-00245000 r--p 00006000 fd:00 145381 /lib/librt-2.10.1.sorn00245000-00246000 rw-p 00007000 fd:00 145381 /lib/librt-2.10.1.sorn00246000-00248000 r-xp 00000000 fd:00 145409 /usr/lib/libXau.so.6.0.0rn00248000-00249000 rw-p 00001000 fd:00 145409 /usr/lib/libXau.so.6.0.0rn00249000-0024b000 r-xp 00000000 fd:00 145442 /usr/lib/libXinerama.so.1.0.0rn0024b000-0024c000 rw-p 00001000 fd:00 145442 /usr/lib/libXinerama.so.1.0.0rn0024c000-00276000 r-xp 00000000 fd:00 12368 /lib/libgcc_s-4.4.0-20090506.so.1rn00276000-00277000 rw-p 00029000 fd:00 12368 /lib/libgcc_s-4.4.0-20090506.so.1rn00279000-0027e000 r-xp 00000000 fd:00 105536 /usr/lib/libXtst.so.6.1.0rn0027e000-0027f000 rw-p 00004000 fd:00 105536 /usr/lib/libXtst.so.6.1.0rn0027f000-00287000 r-xp 00000000 fd:00 145412 /usr/lib/libXrender.so.1.3.0rn00287000-00288000 rw-p 00007000 fd:00 145412 /usr/lib/libXrender.so.1.3.0rn00288000-0028a000 r-xp 00000000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028a000-0028b000 r--p 00001000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028b000-0028c000 rw-p 00002000 fd:00 10344 /usr/lib/gconv/UTF-16.sorn0028c000-002ac000 r-xp 00000000 fd:00 145378 /lib/ld-2.10.1.sorn002ac000-002ad000 r--p 0001f000 fd:00 145378 /lib/ld-2.10.1.sorn002ad000-002ae000 rw-p 00020000 fd:00 145378 /lib/ld-2.10.1.sorn002ae000-00307000 r-xp 00000000 fd:00 144471 /home/VideoRecoServer/lib/libQtSvg.so.4rn00307000-00309000 rw-p 00059000 fd:00 144471 /home/VideoRecoServer/lib/libQtSvg.so.4rn00309000-00324000 r-xp 00000000 fd:00 145410 /usr/lib/libxcb.so.1.1.0rn00324000-00325000 rw-p 0001b000 fd:00 145410 /usr/lib/libxcb.so.1.1.0rn00rnProgram received signal SIGABRT, Aborted.rn[Switching to Thread 0x71901b70 (LWP 6752)]rn0x00b9c424 in __kernel_vsyscall ()rnMissing separate debuginfos, use: debuginfo-install GConf2-2.26.0-2.fc11.i586 ORBit2-2.14.17-1.fc11.i586 PackageKit-gtk-module-0.4.6-8.fc11.i586 alsa-lib-1.0.20-1.fc11.i586 atk-1.25.2-2.fc11.i586 audiofile-0.2.6-10.fc11.i586 avahi-0.6.25-1.fc11.i586 avahi-glib-0.6.25-1.fc11.i586 bug-buddy-2.26.0-2.fc11.i586 cairo-1.8.6-2.fc11.i586 dbus-glib-0.80-2.fc11.i586 dbus-libs-1.2.12-1.fc11.i586 e2fsprogs-libs-1.41.4-10.fc11.i586 elfutils-libelf-0.140-2.fc11.i586 esound-libs-0.2.41-2.fc11.i586 expat-2.0.1-6.i586 fontconfig-2.6.99.behdad.20090508-1.fc11.i586 freetype-2.3.9-3.fc11.i586 gamin-0.1.10-4.fc11.i586 glib2-2.20.1-1.fc11.i586 glibc-2.10.1-2.i686 gnome-keyring-2.26.1-1.fc11.i586 gnome-vfs2-2.24.1-2.fc11.i586 gtk-nodoka-engine-0.7.2-4.fc11.i586 gtk2-2.16.1-4.fc11.i586 gvfs-1.2.3-2.fc11.i586 ibus-gtk-1.1.0.20090423-1.fc11.i586 ibus-libs-1.1.0.20090423-1.fc11.i586 keyutils-libs-1.2-5.fc11.i586 krb5-libs-1.6.3-20.fc11.i586 libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586 libX11-1.2-3.fc11.i586 libXau-1.0.4-5.fc11.i586 libXcomposite-0.4.0-7.fc11.i586 libXcursor-1.1.9-4.fc11.i586 libXdamage-1.1.1-6.fc11.i586 libXext-1.0.99.1-2.fc11.i586 libXfixes-4.0.3-5.fc11.i586 libXi-1.2.1-1.fc11.i586 libXinerama-1.0.3-4.fc11.i586 libXrandr-1.2.99.4-3.fc11.i586 libXrender-0.9.4-5.fc11.i586 libXt-1.0.5-2.fc11.i586 libXtst-1.0.3-5.fc11.i586 libart_lgpl-2.3.20-4.fc11.i586 libattr-2.4.43-3.fc11.i586 libbonobo-2.24.1-1.fc11.i586 libbonoboui-2.24.1-1.fc11.i586 libcanberra-0.12-1.fc11.i586 libcanberra-gtk2-0.12-1.fc11.i586 libcap-2.16-2.fc11.i586 libgcc-4.4.0-4.i586 libgnome-2.26.0-1.fc11.i586 libgnomecanvas-2.26.0-1.fc11.i586 libgnomeui-2.24.1-1.fc11.i586 libjpeg-6b-45.fc11.i586 libogg-1.1.3-11.fc11.i586 libpng-1.2.35-1.fc11.i586 libselinux-2.0.80-1.fc11.i586 libstdc++-4.4.0-4.i586 libtdb-1.1.3-14.fc11.i586 libtool-ltdl-2.2.6-11.fc11.i586 libvorbis-1.2.0-7.fc11.i586 libxcb-1.2-3.fc11.i586 libxml2-2.7.3-2.fc11.i586 linuxwacom-0.8.2.2-11.fc11.i586 nss-softokn-freebl-3.12.3-4.fc11.i586 openssl-0.9.8k-1.fc11.i686 pango-1.24.1-1.fc11.i586 pixman-0.14.0-2.fc11.i586 popt-1.13-5.fc11.i586 zlib-1.2.3-22.fc11.i586rn(gdb) btrn#0 0x00b9c424 in __kernel_vsyscall ()rn#1 0x038357c1 in raise () from /lib/libc.so.6rn#2 0x03837092 in abort () from /lib/libc.so.6rn#3 0x03873dad in __libc_message () from /lib/libc.so.6rn#4 0x0387a231 in malloc_printerr () from /lib/libc.so.6rn#5 0x02aa53f1 in operator delete(void*) () from /usr/lib/libstdc++.so.6rn#6 0x0865e545 in __gnu_cxx::new_allocator::deallocatern (this=0x8a6801c, __p=0x8a682a8)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:94rn#7 0x0865e584 in std::_Deque_base >::_M_deallocate_node (this=0x8a6801c, __p=0x8a682a8)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:419rn#8 0x0865e6a2 in std::_Deque_base >::_M_destroy_nodes (this=0x8a6801c, __nstart=0x8a6828c, rn __nfinish=0x8a68290)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:524rn#9 0x0865e765 in std::_Deque_base >::~_Deque_base (this=0x8a6801c, rn __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:445rn#10 0x0865e819 in std::deque >::~deque (this=0x8a6801c, __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h:725rn#11 0x0865e83d in std::stack > >::~stack (rn this=0x8a6801c, __in_chrg=)rn at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_stack.h:111rn#12 0x0865d376 in sql::mysql::MySQL_DebugLogger::~MySQL_DebugLogger (this=0x8a68018, rn---Type to continue, or q to quit---rn __in_chrg=) at mysql_debug.cxx:75rn#13 0x0865b548 in sql::mysql::util::my_shared_ptr::~my_shared_ptrrn (this=0x8a68078, __in_chrg=) at ./include/mysql_util.h:103rn#14 0x0865be04 in sql::mysql::util::my_shared_ptr::freeReference (rn this=0x8a68078) at ./include/mysql_util.h:96rn#15 0x08694389 in sql::mysql::MySQL_Statement::~MySQL_Statement (this=0x76900468, rn __in_chrg=) at mysql_statement.cxx:60rn#16 0x080a774b in std::auto_ptr::~auto_ptr (this=0x719012d4, rn __in_chrg=)rn at /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/backward/auto_ptr.h:168rn#17 0x08072fee in CLS_DBManage::GetInfoForUpdateBtnState (this=0x8a67f20, _iCurrentLogID=76359, rn _CSZPChannelID=1, _iKaKouMode=1) at /home/VideoRecoServer/MobileEcop/CLS_DBManage.cpp:1815rn#18 0x080d1100 in UpdateBtnStateThread () at /home/VideoRecoServer/MobileEcop/CSZPFrame.cpp:510rn#19 0x0045a935 in start_thread () from /lib/libpthread.so.0rn#20 0x038e882e in clone () from /lib/libc.so.6
netbpm-0.8.3.1中配置问题,请大神帮忙解决
按照install.pdf文档配置完毕,http://localhost:8080/intro/index.rails也能进入登陆页,选择user和password登陆,就是登陆不进入,我查看了一下数据库,发现就没有登陆账号的表格,不知道这里的登陆账号信息来源于何处。
菜鸟问题,请大神帮忙解决
代码如下:rn显示的数据是 16:1600,25:2500rnpublic static ArrayList SelectedSelectframesize()rn rn tryrn rn using (SqlConnection conn = new SqlConnection(DBHelp.conn))rn rn conn.Open();rn string sql = "select F1008_PARADESC from TB1008_PARAMETER where F1008_PARACODE='壳架等级'";rn using (SqlCommand comm = new SqlCommand(sql, conn))rn rn SqlDataReader sdr = comm.ExecuteReader();rn ArrayList list = new ArrayList();rn while (sdr.Read())rn rnrn PARAMETER parameter = new PARAMETER();rn parameter.F1008_PARADESC = sdr[0].ToString();rn string[] strs = parameter.F1008_PARADESC.Split(new char[] ':' );rn foreach (var item in strs)rn rnrn list.Add(item);rn rnrn rn return list;rn rnrn rn rn catch (Exception)rn rnrn throw;rn rn rnrn页面加载事件:rn if (!IsPostBack)rn rn this.framesize.DataSource = DAL.PARAMETERDAL.Selectframesize();rn this.framesize.DataBind();rn rnrn protected void ListBox1_SelectedIndexChanged(object sender, EventArgs e)rn rn rn rn if(framesize.SelectedValue!=null)rnrn this.TextBox1.Text +=framesize.SelectedValue + ",";rn rn问:rn我在选择值的时候listbox的text显示的是 16:1600 25:2500,怎么把16和25当成值显示在text的文本上面,而不是显示16:1600这样的。rnrn
Lotus Notes4.6出错,请大神帮忙解决
Lotus Notes4.6因用户标识符提示验证字过期,在服务器上操作验证标识符操作,现在客户端都发不了邮件了,提示“连接被拒绝,您请求的是xx,但连接到了xxx”请<em>大神</em><em>帮忙</em>看看,万分感谢!
大神帮忙解决
import java.io.*;rnpublic class Calculator rn // 定义相关变量rn private String sum = null;rn private String qbrc = null;rn private double qbr1 = 1;rn private double qbr2 = 1;rn String abr1;rn String abr2;rn public Calculator()rn rn rn public void sumT()rn /*rn * 接口功能:进行相关的输入和类型转换 rn * 接口输入:空 rn * 接口输出:空 rn */rn tryrn System.out.println("欢迎使用!!!/n此计算器除可以进行数字各种相关运算还可以进行字符串的相加");rn System.out.print("请您输入您的第一次输入:");rn BufferedReader br1 = new BufferedReader(new InputStreamReader(System.in));rn System.out.print("请输入您的第二次输入:");rn BufferedReader br2 = new BufferedReader(new InputStreamReader(System.in));rn System.out.print("请选择符号(+、—、*、/):");rn BufferedReader brc = new BufferedReader(new InputStreamReader(System.in));rn qbrc = brc.toString();rn abr1 = br1.toString();rn abr2 = br2.toString();rn catch(Exception e)rn e.printStackTrace();rn System.err.println("操作有误,请重新操作!!!");rn rn tryrn qbr1 = Double.parseDouble(abr1);rn qbr2 = Double.parseDouble(abr2);rn rn rn catch(Exception e)rn e.printStackTrace();rn System.err.println("***"+abr1+abr2+"***");rn rn /*rn * 接口功能:进行相关运算并输出结果 rn * 接口输入:空 rn * 接口输出:空 rn */rn tryrn if(qbrc=="+")rn double resultOf = qbr1+qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="-")rn double resultOf = qbr1-qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="*")rn double resultOf = qbr1*qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn if(qbrc=="/")rn double resultOf = qbr1/qbr2;rn System.out.println("第一个数:"+abr1+"\n第二个数:"+abr2+"\n结果为:"+resultOf);rn rn catch(Exception e)rn e.printStackTrace();rn System.err.println("**********\n您的除数不能为零!!!\n**********");rn rn rn rn rn /**rn * @param argsrn */rn public static void main(String[] args) rn Calculator calculator = new Calculator();rn calculator.sumT();rn rnrnrn
大神们,帮忙解决
输出一个字符串中子字符串(相同字符组成)出现的做多的次数。其中子字符串的字符相同的 。 rn比如 输入aaabbbbaaa,输出2;输入abab,输出0,给出代码(c语言)
大神帮忙解决!!!
学习到jsp内置对象的时候,发现内置对象调用的都是抽象方法,查看源码也没看见被什么方法给实现,为什么它还可以调用这些方法???(查看源码的时候还发现一个问题:public abstract interface ServletResponse 这是什么???)请哪位<em>大神</em>讲解清楚!!!
大神帮忙 怎么解决
[img=https://img-bbs.csdn.net/upload/201505/07/1431012129_907772.png][/img]rnjava-ADT eclips中出的问题
大神帮忙解决
C#在一个个控件上鼠标按下不放,另一个控件上鼠标弹起怎么?
VC6.0报错,请帮忙看看怎么解决
--------------------Configuration: documenttest - Win32 Debug--------------------rnLinking...rnMainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CMainFrame::CalcWindowRect(struct tagRECT *,unsigned int)" (?CalcWindowRect@CMainFrame@@MAEXPAUtagRECT@@I@Z)rnDebug/documenttest.exe : fatal error LNK1120: 1 unresolved externalsrnError executing link.exe.rnrndocumenttest.exe - 2 error(s), 0 warning(s)rnrn以前写完了之后编译都通过的,后来不知道改了哪个设置,每个程序都报这个错误,用VS2005编译又可以编过去rn请问怎么<em>解决</em>啊?
帮忙解决compile过程中的报错,谢谢!
我的源代码(在Shieldpc.cpp中)为:rnrn srand( (unsigned)time( NULL ) );rn x=rand();rn if(Lock32_Function(x)==shieldPC(x,key1,key2,key3,key4))rn rn MessageBox(hwnd,"The lock is ok",NULL,MB_OK);rn elsern rn MessageBox(hwnd,"The lock is err",NULL,MB_OK);rn rn************************************************************************rn在compile Shieldpc.cpp时<em>报错</em>如下:rnrn--------------------Configuration: aspcomsamp - Win32 Debug--------------------rnCompiling...rnShieldpc.cpprnC:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\PROJECTS\ASPCOMSAMP\aspcomsamp\Shieldpc.cpp(31) : error C2065: 'time' : undeclared identifierrnC:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\PROJECTS\ASPCOMSAMP\aspcomsamp\Shieldpc.cpp(35) : error C2065: 'hwnd' : undeclared identifierrnError executing cl.exe.rnrnaspcomsamp.dll - 2 error(s), 0 warning(s)
CCS报错大神帮忙
编译到 sin或cos函数行 <em>报错</em>rnerror: expression must have (pointer-to-) function typernwarning: variable "sin" is used before its value is setrnrn求<em>大神</em>指导啊
报错~麻烦大神帮忙看一下~
f.append(" order by :aaa").setParam("aaa", orderby);这句~~rnrn控制台<em>报错</em>could not locate named parameter [aaa]rnrn请问是什么原因?
JavaWb405报错大神帮忙
public class UserServlet extends HttpServlet { public UserServlet() { super(); } public void destroy() { super.destroy(); } public void doGet(HttpServletRequest request, HttpServletResponse response...
[http-bio-8080-exec-10] 报错,求大神帮忙
页面传入一个关于user的一个excel表,然后传入到数据库,基于ssm框架rn这是fileController里面的代码,系统走到59行<em>报错</em>,页面无<em>报错</em>rn以下是fileController 和 userDao 以及错误信息rn[img=https://img-bbs.csdn.net/upload/201805/18/1526602837_280239.png][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526602851_1974.png][/img][img=https://img-bbs.csdn.net/upload/201805/18/1526602855_923651.png][/img]rn上面报的错只是c:\logfile.txt无法访问,好像没什么影响,有人知道问题在哪么rn
eclipse配置报错!求大神解决
[img=http://cwebmail.mail.163.com/js4/read/readpic.jsp?sid=fAhNYcRMhzLTYuEXbZMMscRxsRjCSjoR&mid=465:xtbB0RILtk9o6rcPUwAAsY&part=3&mode=inline&l=read&action=open_attach][/img]rn[img=http://cwebmail.mail.163.com/js4/read/readpic.jsp?sid=fAhNYcRMhzLTYuEXbZMMscRxsRjCSjoR&mid=465:xtbB0RILtk9o6rcPUwAAsY&part=4&mode=inline&l=read&action=open_attach][/img]rnJDK1.6rneclipse启动后<em>报错</em>如图:我想请教一下,是不是问题就出在配置上。。。正确的配置是什么样的?麻烦详细点~~~rnrn我是个菜鸟~~求<em>大神</em><em>解决</em>~~
大神解决空指针报错
activity.jsprnrnList beanListResult =(List)request.getAttribute("list");rnIterator iter_beanList = beanListResult.iterator();rnrnServletrnelse if("/background".equals(module_path))/*访问后台管理模块*/rn ActivityDao activityDao=new ActivityDao();rn if("queryList".equals(action))rn List list=activityDao.queryList(req);rn req.setAttribute("activity", list);rn req.getRequestDispatcher("/background/activity.jsp").forward(req,resp); rn rnrnDAOrnpublic List queryList(HttpServletRequest req)rnString sql="select * from company_acitvityenroll";rnList list=DbBuilder.getListBean(sql,Activity.class);rn return list;rnrnrnSEVERE: Servlet.service() for servlet [jsp] in context with path [] threw exception [An exception occurred processing JSP page /background/activity.jsp at line 166rnrn163: rn164: rnrnrnStacktrace:] with root causernjava.lang.NullPointerException
excel导出报错,求大神解决
程序在本机跑很好,发布在服务器上,开始也能导出excel,但是过一段时间,大概3天后,就导出<em>报错</em>,提示如下rnRetrieving the COM class factory for component with CLSID 00024500-0000-0000-C000-000000000046 failed due to the following error: 8000401a 因为配置标识不正确,系统无法开始服务器进程。请检查用户名和密码。 (Exception from HRESULT: 0x8000401A). rnrnMicrosoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application();//这里<em>报错</em>的rnrn然后我又部署一个新版本上去,又好了,但是过几天后又出现这个问题,网上查应该是权限问题,试了几种方法都没有用,请<em>大神</em>们帮看看。rnrn
大神帮忙看看
有一张纸,需要切割二半,纸放在平台上的位置不一样(有时纸歪了一点),但每次都要从纸的中心点切,先用相机拍摄纸的轮郭,然后在得到一个中心线,以及它的长度,rn然后用工控机来调用这个OPENCV里的DLL,来控制步进带动刀片去切割。rnrn用OPENCV怎么计算这个纸的中心线,以及它要切割的长度呢?一定要标定么?rn用距离变换可以吗?rn
大神帮忙检查一下
#includernusing namespace std;rnint main()rnrn const size_t array=10;rn int ix;rn const unsigned array_size=20;rn int ia[array_size];rn for(size_t ix=0;ix!=array_size;++ix)rn ia[ix]=ix;rn cout<
Python 大神帮忙
xiapus=[]rnxiapu='xiapu1':24,'xiapu2':10,'xiapu3':13rnfor xia in range(10):rn xiapus.append(xiapu)rnfor xiapu4 in xiapus[0:8]:rn print(xiapu4) rnprint("\n"+'yi gong you '+ str(len(xiapus))+" ge xiapu")rnrnfor g in xiapus[0:5]:rn if g['xiapu1']==24:rn g['xiapu1']=26rn g['xiapu2']=15rn g['xiapu3']=18rn rnfor xia in xiapus[0:10]:rn print(xia)rnrn为啥上面的这些运行完结果是下面这样?rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rn'xiapu1': 24, 'xiapu2': 10, 'xiapu3': 13rnrnyi gong you 10 ge xiapurn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rn'xiapu1': 26, 'xiapu2': 15, 'xiapu3': 18rnrnrn------------------rn(program exited with code: 0)rnrn请按任意键继续. . .
大神帮忙
alter table HOUSErn drop constraint FK_HOU_ST;rnrnalter table HOUSErn drop constraint FK_HOU_US;rnrnalter table HOUSErn drop constraint FK_HOU_TY;rnrnalter table STREETrn drop constraint FK_STR_DI;rnrndrop table DISTRICT cascade constraints;rnrndrop table HOUSE cascade constraints;rnrndrop table STREET cascade constraints;rnrndrop table TYPES cascade constraints;rnrndrop table USERS cascade constraints;rnrndrop sequence SEQ_ID;rnrncreate sequence SEQ_ID;rnrncreate table DISTRICT (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn constraint PK_DISTRICT primary key (ID)rn);rnrncreate table HOUSE (rn ID NUMBER(6) not null,rn USER_ID NUMBER(4),rn TYPE_ID NUMBER(4),rn TITLE NVARCHAR2(50),rn DESCRIPTION NVARCHAR2(2000),rn PRICE NUMBER(10, 2),rn PUBDATE DATE,rn FLOORAGE NUMBER(4),rn CONTACT NVARCHAR2(100),rn STREET_ID NUMBER(4),rn constraint PK_HOUSE primary key (ID)rn);rnrncreate table STREET (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn DISTRICT_ID NUMBER(4),rn constraint PK_STREET primary key (ID)rn);rnrncreate table TYPES (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn constraint PK_TYPES primary key (ID)rn);rnrncreate table USERS (rn ID NUMBER(4) not null,rn NAME NVARCHAR2(50) not null,rn PASSWORD NVARCHAR2(50) not null,rn TELEPHONE NVARCHAR2(15),rn USERNAME NVARCHAR2(50),rn ISADMIN NVARCHAR2(2),rn constraint PK_USERS primary key (ID)rn);rnrnalter table HOUSErn add constraint FK_HOU_ST foreign key (STREET_ID)rn references STREET (ID);rnrnalter table HOUSErn add constraint FK_HOU_US foreign key (USER_ID)rn references USERS (ID);rnrnalter table HOUSErn add constraint FK_HOU_TY foreign key (TYPE_ID)rn references TYPES (ID);rnrnalter table STREETrn add constraint FK_STR_DI foreign key (DISTRICT_ID)rn references DISTRICT (ID);rn请问这段代码哪里有问题
大神帮忙
xp系统繁体中文版对一些软件的安装有影响吗?比如乱码问题,怎么<em>解决</em>这个问题,要安装简体中文语言包吗,还是有其他更好的办法?
各位大神帮忙
我现在在写个程序,需要用到ffmpeg的功能,就是把视频中的音频部分提取出来,这个功能很简单[code=c]system("F:\\ffmpeg.exe -i C:\\Users\\dell\\Desktop\\HorrorVideoDetector\\2.flv -vn F:\\1.mp3 -vn");[/code]rn这样就搞定了,可是运行后dos界面中出现很多类似于help这类的冗余信息,我想问的是这个功能,能不能直接用ffmpeg中的代码实现,不调用系统命令,不知道各位<em>大神</em>有没有办法,谢谢大家!!
请各位大神帮忙
[code=c]#includern#includernusing namespace std;rnconst double PI = 3.1415;rnrnclass Shapernprotected:rn double xCoord, yCoord;rnrnpublic:rn Shape(double x = 0, double y = 0) :xCoord(x), yCoord(y)rn rn virtual double area() = 0;rnrn;rnclass Rectangle : public Shapernprotected:rn double length, width;rnpublic:rn Rectangle(double x = 0, double y = 0, double l = 1, double w = 1) :Shape(x, y), length(l), width(w)rn rn double area()rnrn return length*width;rn rnrn double peri()rn return 2 * (length + width);rnrn rn rn rn;rnrnclass Circle :public Shapernprivate:rn double radius;rnpublic:rn Circle(double x = 0, double y = 0, double r = 1) :Shape(x, y), radius(r)rnrn rn double area()rn return PI*radius*radius;rn rn double peri()rn return 2 * PI*radius;rn rn rnrn;rnclass Triangle : public Shapernprivate:rn double sideA, sideB, sideC;rnpublic:rn Triangle(double x = 0, double y = 0, double sa = 3, double sb = 4, double sc = 5) :Shape(x, y), sideA(sa), sideB(sb), sideC(sc)rn rn double area()rn double d = (sideA + sideB + sideC) / 2;rn return sqrt(d*(d - sideA)*(d - sideB)*(d - sideC));rnrn rn double peri()rn return sideA + sideB + sideC;rn rnrnrn;rnclass Cubiod :public Rectangle//长方体rnprivate:rn double hight;rnpublic:rn Cubiod(double x = 0, double y = 0, double l = 1, double w = 1, double h = 1) :Rectangle(x, y, l, w), hight(h)rn rn double area()rnrn return 2 * Rectangle::area() + Rectangle::peri()*hight;rn rn double volume()rn return Rectangle::area()*hight;rn rn rn;rnclass Cylinder :public Circle//圆柱rnprivate:rn double hight;rnpublic:rn Cylinder(double x = 0, double y = 0, double r = 1, double h = 1) :Circle(x, y, r), hight(h)rn rn double area()rnrn return 2 * Circle::area() + Circle::peri()*hight;rn rn double volume()rn return Circle::area()*hight;rnrn rn rn;rnclass Triprism :public Triangle//三菱柱rnprivate:rn double hight;rnpublic:rn Triprism(double x = 0, double y = 0, double sa = 3, double sb = 4, double sc = 5, double h = 1) :Triangle(x, y, sa, sb, sc), hight(h)rnrn rn double area()rn return 2 * Triangle::area() + Triangle::peri()*hight;rn rn double volume()rnrn return Triangle::area()*hight;rn rn rn;rnvoid show(Shape * ps)rnrnrn Circle * pc;rn rn Rectangle * pr;rnrn Triangle * pt;rnrn Cylinder *pcy;rnrn Cubiod *pcu;rnrn Triprism *ptr;rnrn if (pcy = dynamic_cast(ps))rn cout << "圆柱:" << endl;rn cout << "圆柱的体积:" << pcy->volume() << endl;rn rnrn else if (pcu = dynamic_cast(ps)) rn cout << "长方体:" << endl;rn cout << "体积:" < volume() << endl;rn rnrn else if (ptr = dynamic_cast(ps)) rn cout << "三菱柱:" << endl;rn cout << "三菱柱的体积:" < volume() << endl;rn rn rnrn else if (pc = dynamic_cast(ps)) rn cout << "圆形:" << endl;rn cout << "周长:" << pc-> peri() << endl;rn rnrn else if (pr = dynamic_cast(ps)) rn cout << " 矩形:" << endl;rn rn cout << "周长:" < peri() << endl;rn rnrn else if (pt = dynamic_cast(ps))rn cout << " 三角形:" << endl;rnrn cout << "周长:" << pr->peri() << endl;rn rn cout << "面积:" << ps->area() << endl;rnrnint main()rn Shape **s = new Shape *[6];rn s[0] = new Circle(0, 0, 5);//圆形rn s[1] = new Rectangle(0, 0, 6, 8);//矩形rn s[2] = new Triangle(0, 0, 12, 13, 15);//三角形rn s[3] = new Cylinder(0, 0, 5, 10);//圆柱rn s[4] = new Cubiod(0, 0, 6, 8, 10);rn s[5] = new Triprism(0, 0, 12, 13, 15, 10);rn for (int i = 0; i<6; i++)rnrn show(s[i]);rn delete s[i];rn rn delete[] s;rnrn编译没有问题,运行的时候总是在调试,打不到我想要的结果,请求讨教。谢谢啊[/code]
数据库问题请大神解决
访问服务器时候数据库服务器坏了怎么<em>解决</em>减少用户的等待时间 也就是说数据服务器在架设的时候有几种什<em>解决</em>方案, 举个例子 有2台服务器 一台是web服务器 一台是数据库服务器 现在要子web、服务器做一个standby 来备份数据服务的日志 当数据库服务器硬件坏掉了我们马上转接到这个standby服务器来充当数据库服务器 但是这样可能需要1-2个小时的时间用的请求一些数据丢失(灾难性的) 有没有...
Spring+Quartz报错帮忙解决下!!!!!!
在xml文件中的代码如下:n  n                             execute                                 10,15,20,25,30,35,40,45,50,55 * * * * ?                                       n  n TestQuartz类很简单就只在控制台打印一句话。。。。。。。。。。n  n 测试类代码:n public static void main(String[] args)         BeanFactory factory = new XmlBeanFactory(new FileSystemResource("D:/Items/Projects/configuration/applicationContext_quartz.xml"));         factory.getBean("startQuartz");n n  n 在运行的时候报如下错误,<em>帮忙</em><em>解决</em>下啊n  n Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'startQuartz' defined in file [D:\Items\Projects\configuration\applicationContext_quartz.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [org.quartz.Trigger[]] for property 'triggers'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [zhjb.quartz.actions.TestQuartz] to required type [org.quartz.Trigger] for property 'triggers[0]': no matching editors or conversion strategy found     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)     at java.security.AccessController.doPrivileged(Native Method)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)     at Test.main(Test.java:9) Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [org.quartz.Trigger[]] for property 'triggers'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [zhjb.quartz.actions.TestQuartz] to required type [org.quartz.Trigger] for property 'triggers[0]': no matching editors or conversion strategy found     at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:391)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1289)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1250)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)     ... 9 more Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [zhjb.quartz.actions.TestQuartz] to required type [org.quartz.Trigger] for property 'triggers[0]': no matching editors or conversion strategy found     at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)     at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:124)     at org.springframework.beans.TypeConverterDelegate.convertToTypedArray(TypeConverterDelegate.java:393)     at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:186)     at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)     at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:386)     ... 13 more
Struts2标签报错帮忙解决...
严重: Servlet.service() for servlet jsp threw exceptionrnorg.apache.jasper.JasperException: /pages/login.jsp(74,38) The s:label tag declares that it accepts dynamic attributes but does not implement the required interfacern at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)rn at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)rn at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)rn at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:802)rn at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)rn at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)rn at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)rn at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)rn at org.apache.jasper.compiler.Node$Root.accept(Node.java:495)rn at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)rn at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1763)rn at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:326)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:102)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:662)rn有哪位大虾可以<em>帮忙</em><em>解决</em>下,谢谢!
大神解决,sybase 报错 怎么解决
求<em>大神</em><em>解决</em>,已经两天了 没有弄出来
帮忙解决解决
我在WIN2000中玩游戏时出现的问题:rn1.应用程序正常初始化(0xc0000142)失败。请单击“确定”,终止应用程序。rn2.Dx7_creatzbuffer,Creat Surface failure!rn Dx7 Error Code:DDERR_INVALIDPARAMS(80070057)rn FILE\3rash\dx7\dx7dev.c,line 1070rn [FILE=(null),LINE=0]rn而我装的游戏,在局域网上其他WIN2000中能运行,这是为什么?rn 请<em>帮忙</em>,<em>解决</em><em>解决</em>。谢谢。
vb除法问题,请高手帮忙解决!!!!!!!!!!!!
为什么VB里Text2.Text = 0.004 / 94.868 得出的值为4.21638487 而不是0.0042
高分请帮忙解决VB和EXCEL的连接!
用VB控制EXCEL,程序在XP系统下编译并打包成功,在XP下安装和运行成功!rn但是在98下,安装成功!运行时出错,不得已,在98 下安装<em>vb</em>,并在98下写源代码,跟踪到myWorkSheet.Cells(1,1)="123"时,程序错误:运行时错误 -2147417848(80010108) 自动化错误”rn不明原因,求高手相助,并高分相送!
!!! VB安装程序错误,请帮忙解决 !!!
安装纪录:rnNOTE: 引导扇区首rnrnCONFIG: Title: "魔装网神 V2.11"rnrnACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "SharedDLLs"rnrnACTION: SystemFile: "C:\WINDOWS\SYSTEM\VB6STKIT.DLL"rn(磁盘上的当前文件已经更新)rnrnACTION: SystemFile: "C:\WINDOWS\SYSTEM\VB6CHS.DLL"rn(文件未找到或版本太旧 -- 复制新文件)rnrnNOTE: 引导扇区尾rnrnNOTE: 正在生成主安装程序 'Setup1.exe'....rnrn*** 错误: 不能启动主安装程序! (CreateProcess() 返回错误代码 0x00000485H)rn*** 错误: (用户响应 '确定')rnrn这是怎么回事?怎么<em>解决</em>?
请Vb高手一定帮忙解决
我编了段代码如下:rnDim s10, As StringrnDim re As ADODB.Recordsetrnrns10 = "select 章 from examination where 题型='选择题’"rnSet re = executesql(s10)rnCombo1.Clearrnre.MoveFirstrnDo While Not re.EOFrn For i = 0 To Combo1.ListCount - 1rn If re.Fields(6) <> Combo1.List(i) Then ‘这步抱错,说没找到集合项目rn Combo1.AddItem re.Fields(6)rn End Ifrn Next irn re.MoveNextrn rnLooprnCombo1.Text = Combo1.List(0)rnrnrn请问是什么原因导致这个错误的?rn亟盼答复谢谢!rn
请Vb高手一定帮忙解决,十万火急。
我编了段代码,并建好了个试卷题库表,要实现的是从表中读取“章节”的字段,并且“题型”为选择题的功能,代码如下:rnDim s10, As StringrnDim re As ADODB.Recordsetrnrns10 = "select 章 from examination where 题型='选择题’"rnSet re = executesql(s10)rnCombo1.Clearrnre.MoveFirstrnDo While Not re.EOFrnFor i = 0 To Combo1.ListCount - 1rnIf re.Fields(6) <> Combo1.List(i) Then ‘这步抱错,说没找到集合项目rnCombo1.AddItem re.Fields(6)rnEnd IfrnNext irnre.MoveNextrnrnLooprnCombo1.Text = Combo1.List(0)rnrnrn请问是什么原因导致这个错误的?rn亟盼答复谢谢!
报错请高手帮忙!!
当我创建数据库的时候,关闭Create Local Database 对话框后,再关闭CreateAdaptive Server Anywhere Database后弹出对话框<em>报错</em>rnrnSQLSTATE=08003rnMicrosoft ODBC Drivermanager Connection Not Openrnrn我该怎么<em>解决</em>,请高手帮下忙!!
struts报错,请帮忙
环境配好了:rntomcat4+struts1.2.4rn-------------------------------rn我的index.jsp文件:rnrn-----------------------------------------rn运行http://.........../index.jsprn<em>报错</em>:rnHTTP Status 500 - Internal Server Errorrnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage Internal Server Errorrnrndescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperExceptionrn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)rn at java.lang.Thread.run(Thread.java:534)rnrnrnroot cause rnrnjava.lang.NullPointerExceptionrn at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:446)rn at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:329)rn at org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(RedirectTag.java:296)rn at org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:270)rn at org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(index_jsp.java:75)rn at org.apache.jsp.index_jsp._jspService(index_jsp.java:52)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151)rn at java.lang.Thread.run(Thread.java:534)rnrnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/4.1.30-LE-jdk14
编译时报错,请帮忙
Cannot open include file: 'stdafx.h': No such file or directoryrn'stdafx.h'文件是系统自动生成的啊,我该怎么做?
struts2报错,请帮忙
STRUTS2之前把所有LIB下JAR拷进去<em>报错</em>,遂用官方给的struts2-blank-2.2.1做测试,<em>报错</em>如下。rnrn2010年9月24日 上午11:51:59 com.opensymphony.xwork2.util.logging.jdk.JdkLogger inforn資訊: Parsing configuration file [struts-plugin.xml]rn2010年9月24日 上午11:51:59 com.opensymphony.xwork2.util.logging.jdk.JdkLogger errorrn嚴重的: Dispatcher initialization failedrnUnable to load configuration. - bean - jar:file:/C:/workspace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/struts-2.2.1/WEB-INF/lib/struts2-osgi-plugin-2.2.1.jar!/struts-plugin.xml:15:113rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to load bean: type:org.apache.struts2.osgi.BundleAccessor class:org.apache.struts2.osgi.DefaultBundleAccessor - bean - jar:file:/C:/workspace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/struts-2.2.1/WEB-INF/lib/struts2-osgi-plugin-2.2.1.jar!/struts-plugin.xml:15:113rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 morernCaused by: java.lang.NoClassDefFoundError: org/osgi/framework/InvalidSyntaxExceptionrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)rn at java.lang.Class.getDeclaredConstructors(Unknown Source)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222)rn ... 34 morern2010年9月24日 上午11:51:59 org.apache.catalina.core.StandardContext filterStartrn嚴重的: Exception starting filter struts2rnUnable to load configuration. - bean - jar:file:/C:/workspace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/struts-2.2.1/WEB-INF/lib/struts2-osgi-plugin-2.2.1.jar!/struts-plugin.xml:15:113rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:428)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)rn at org.apache.catalina.core.StandardService.start(StandardService.java:516)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:566)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:288)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rnCaused by: Unable to load configuration. - bean - jar:file:/C:/workspace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/struts-2.2.1/WEB-INF/lib/struts2-osgi-plugin-2.2.1.jar!/struts-plugin.xml:15:113rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:371)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:415)rn ... 29 morernCaused by: Unable to load bean: type:org.apache.struts2.osgi.BundleAccessor class:org.apache.struts2.osgi.DefaultBundleAccessor - bean - jar:file:/C:/workspace/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/struts-2.2.1/WEB-INF/lib/struts2-osgi-plugin-2.2.1.jar!/struts-plugin.xml:15:113rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:232)rn at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn ... 31 morernCaused by: java.lang.NoClassDefFoundError: org/osgi/framework/InvalidSyntaxExceptionrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)rn at java.lang.Class.getDeclaredConstructors(Unknown Source)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:222)rn ... 34 morernrnrn很奇怪,说PLUGINS的错误,难道是我下的ECLIPSE下STRUTS2插件的问题?我用ECLIPSE升级的MVCWEBPROJECT.SOURCEFORGE的。
cas报错,请帮忙
在登录页面填入正确的用户名和密码就报异常,转不到成功的页面去,如果用户名密码错误的话能转到错误提示页面,这问题怎么<em>解决</em>呀?rn异常如下:rnjavax.servlet.ServletException: Unable to validate ProxyTicketValidatorrn[[edu.yale.its.tp.cas.client.ProxyTicketValidator proxyList=[null]rn[edu.yale.its.tp.cas.client.ServiceTicketValidatorrncasValidateUrl=[https://localhost:8443/cas/proxyValidate]rnticket=[ST-6-cDriGKlSaCFOeNf3DWqLyILhIDaWlpW2JG7-20]rnservice=[https%3A%2F%2Flocalhost%3A8443%2Fapp1%2F] renew=false]]]rn rnedu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:381)rnrn我查了下,说是证书的问题,但我生成证书已经成功了呀,在jdk目录/jre/lib/security/cacerts文件,我用keytool列出证书时,有我生成的证书呀?rn请教了!rn
数据添加的时候报错~那位大神帮忙解决一下
org.springframework.dao.InvalidDataAccessResourceUsageException: could not insert: [com.train.pojo.TicketInfo]; SQL [insert into train.ticket_info (trainid, userid, username, trainnum, from, to, stringtype, sitetype, price, stime) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; nested exception is org.hibernate.exception.SQLGrammarException: could not insert: [com.train.pojo.TicketInfo]rn org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:629)rn org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)rn org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)rn org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)rn org.springframework.orm.hibernate3.HibernateTemplate.save(HibernateTemplate.java:683)rn com.train.dao.impl.TicketInfoDAOImpl.doCreate(TicketInfoDAOImpl.java:19)rn com.train.dao.impl.TicketInfoDAOImpl.doCreate(TicketInfoDAOImpl.java:1)rn com.train.service.impl.TicketInfoServiceImpl.insert(TicketInfoServiceImpl.java:15)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)rn org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)rn org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)rn org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)rn $Proxy7.insert(Unknown Source)rn com.train.action.TicketInfoAction.insert(TicketInfoAction.java:50)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)rn org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rnrnrnrnorg.hibernate.exception.SQLGrammarException: could not insert: [com.train.pojo.TicketInfo]rnrnrncom.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax torn后台<em>报错</em>:rn10:48:43,875 WARN JDBCExceptionReporter:100 - SQL Error: 1064, SQLState: 42000rn10:48:43,890 ERROR JDBCExceptionReporter:101 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from, to, stringtype, sitetype, price, stime) values (10, 1, '?ó??', 'T5302', '°' at line 1rnrn页面上的参数传递:rnrn rn
使用org.apache.shiro.authc.AuthenticationException报错,烦请大神帮忙解决,谢谢!
org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false]. Possible unexpected error? (Typica...
resx文件转换为resources文件 报错大神帮忙解决
我在C#项目中新建了一个resx文件,里面包含一图片资源,如图所示。我在网上看到可以用resgen.exe转换resx到resources,于是在命令行转换了一下,但是<em>报错</em>了,error RG0000:未能加载文件或程序集“System.Drawing.Bitmap,System.Drawing,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b03XXXXXX。行123,位置5.”。求<em>大神</em>们帮<em>解决</em>![img=https://img-bbs.csdn.net/upload/201707/18/1500340315_968878.png][/img]
oracle插入数据时报错,跪求各位大神帮忙解决一下
问题是:在插入表数据时总是报某个字段有NULL值导致插入表失败,入表的SQL语句太长,我就简单的写下了rn insert into table1 (select 字段1,字段2,字段3 from table2 union select 字段1,字段2,字段3 from table3)rn16年1月1日前的数据还是正常的,但是之后这个语句就开始<em>报错</em>。因为table1表中字段全部不允许为空,报的错误是插入时有某个字段有NULL值存在,但是数据我查询了3天都没找到哪个字段有NULL值,并且我重新建了一张跟系统一模一样的表将查询到的数据直接导入到这张表中是正常的。那么问题来了,这个到底是那边的错误?rnrn跪求各位<em>大神</em><em>帮忙</em><em>解决</em>一下
orcl出问题,还请大神帮忙解决一下报错问题
orcl<em>报错</em>,有点蒙圈了[img=https://img-bbs.csdn.net/upload/201904/04/1554342692_779830.jpg][/img][img=https://img-bbs.csdn.net/upload/201904/04/1554342715_284362.jpg][/img]
swift 使用NSURL.fileURLWithPath()方法报错,求大神帮忙解决
[img=https://img-bbs.csdn.net/upload/201605/09/1<em>462</em>768565_322416.png][/img]rn请问这里为什么会<em>报错</em>,我Assets.xcassets文件有添加了back.png图标了,为什么还会抛出异常rn[img=https://img-bbs.csdn.net/upload/201605/09/1<em>462</em>768800_865762.png][/img]
jdbc连接MySQL报错, 有没有大神帮忙解决一下
![代码](https://img-ask.csdn.net/upload/201812/08/1544267773_298311.png)rnrn<em>报错</em>如下:rn![图片说明](https://img-ask.csdn.net/upload/201812/08/1544269249_3555.png)rnrnrnrn这是日志:rn![rizhi](https://img-ask.csdn.net/upload/201812/08/1544267922_658274.png)rnrnrnrn小白用JDBC连接MySQL数据库, 向数据表里面插入数据, <em>报错</em>, <em>大神</em>可不可以<em>帮忙</em>看看
跪求各位大神帮忙解决maven插件的报错问题
在做一个项目,用maven打包rn在用到maven-shade-plugin这个插件进行打包时,会出现这个错误:rn[color=#FF0000]Error creating shaded jar: Invalid signature file digest for Manifest main attributes -> [Help 1][/color]rnrn也会有成功的时候,但是概率很小rnrn找了好久没有找到问题的<em>解决</em>办法,哪位<em>大神</em>有知道的,麻烦告诉下,谢谢了!
大神帮忙看看怎么解决,JFinal的报错
2018-11-29 12:15:14 [ERROR]-[Thread: Druid-ConnectionPool-Create-1062709130]-[com.alibaba.druid.pool.DruidDataSourceKaTeX parse error: Expected 'EOF', got '&amp;amp;' at position 119: …erEncoding=utf8&amp;amp...
大神抽空帮忙看看,报错不知怎么解决。。。
页面接收多组数据,我把一组一组的都加入list中,然后把list给mybatis用foreach执行insert。localhost测试时候输完数据点击下一部后<em>报错</em>。。。rnrnrnHTTP Status 500 - Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class is an interfacernrntypeException reportrnrnmessage Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class is an interfacernrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexceptionrnrnorg.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class is an interfacern org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:927)rn org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:822)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rnroot causernrnorg.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class is an interfacern org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:102)rn org.springframework.web.method.annotation.ModelAttributeMethodProcessor.createAttribute(ModelAttributeMethodProcessor.java:136)rn org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor.createAttribute(ServletModelAttributeMethodProcessor.java:81)rn org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:101)rn org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:77)rn org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162)rn org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:123)rn org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)rn org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:746)rn org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:687)rn org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)rn org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)rn org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)rn org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:915)rn org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:822)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:796)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rnnote The full stack trace of the root cause is available in the Apache Tomcat/7.0.70 logs.rnrnApache Tomcat/7.0.70
大神帮忙解决异常问题
ERROR: HHH000319: Could not get database metadatarnorg.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))rn at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)rn at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)rn at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)rn at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)rn at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)rn at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)rn at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:509)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:242)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:372)rn at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:357)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1545)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1483)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)rn at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)rn at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)rn at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)rn at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)rn at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)rn at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:589)rn at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)rn at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)rn at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)rn at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rn
急需大神帮忙解决
typedef struct flightnumberrn int number; rn int date; rn int clock;rn int seat;rn float charge;rn float discount; rnflightnum;rnrntypedef struct airlinern char *startcity;rn char *arrivecity;rn flightnum num[MAX];rnairline;rn上面写的是航班信息的结构体,假如1:北京,2:上海,3:南京,4:合肥rn1至2为航线1,2至3为航线2,3至4为航线3,4至1为航线4,1至3为航线5,2至3为航线6;rn每个航线有三个航班,就是那个num【MAX】的取值了,每个航班分别每月有三天航运时间,每天3趟,怎么存储这些信息啊,rn想将航班信息保存在里面 达到胰腺癌效果:rn 航班 日期 时间 座位数量 票价 折扣rn 1 5 9:00 100 20 9rn 1 5 9:00 100 20 9rn 1 5 9:00 100 20 9rn 1 15 15:00 100 20 9rn 1 15 15:00 100 20 9rn 1 15 15:00 100 20 9rn 1 25 21:00 100 20 9rn 1 25 21:00 100 20 9rn 1 25 21:00 100 20 9rn航班2,3铜上一样,我用airline声明了一个line【MAX】来存航线,但是那个date和clock不会存啊,怎么做啊 rn求<em>大神</em>救命啊!!!rn
算法设计 求大神 帮忙解决
设给出了如下字母表及其相应的频率,试作出其Huffman树和相应的字母的编码:rnrn字母 a b c d e f g rn频数 12 2 4 7 23 14 9 rnrn
大神帮忙解决一下
[img=https://img-bbs.csdn.net/upload/201408/28/1409228843_418446.png][/img]rn请问这个是什么原因出现的提示:如何让它取消掉?求<em>大神</em><em>解决</em>,
有没有大神帮忙解决一下
下面的代码为什么会出现异常rnimport java.awt.*;rnimport javax.swing.*;rnrnpublic class yhdl extends JFramern JPanel mb1,mb2,mb3;rn JButton an1,an2;rn JLabel bq1,bq2;rn JTextField wbk;rn JPasswordField mmk;rn rn public static void main(String[] args) rn yhdl a=new yhdl();rn rn rn yhdl()rn mb1=new JPanel();rn mb2=new JPanel();rn mb3=new JPanel();rn bq1=new JLabel("用户名");rn bq2=new JLabel("密 码");rn an1=new JButton("登录");rn an2=new JButton("取消");rn wbk=new JTextField(10);rn mmk=new JPasswordField(10);rn rn this.setLayout(new GridLayout(3,2));rn rn mb1.add(bq1); mb1.add(wbk);rn mb2.add(bq2); mb2.add(mmk);rn mb3.add(an1); mb3.add(an2);rn rn this.add(mb1); this.add(mb2); this.add(mb3);rn rn this.setTitle("用户登录");rn this.setSize(230,150);rn this.setLocation(500,500);rn this.setResizable(false);rn this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);rn this.setVisible(true);rn rn rn rnrnrnrn异常代码rnException in thread "main" java.lang.StackOverflowErrorrn at java.awt.Insets.(Unknown Source)rn at sun.awt.windows.WToolkit.getScreenInsets(Native Method)rn at sun.awt.windows.WToolkit.getScreenInsets(Unknown Source)rn at java.awt.Window.init(Unknown Source)rn at java.awt.Window.(Unknown Source)rn at java.awt.Frame.(Unknown Source)rn at java.awt.Frame.(Unknown Source)rn at javax.swing.JFrame.(Unknown Source)rn at JPanel.(JPanel.java:12)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn at JPanel.(JPanel.java:13)rn
大神帮忙解决 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]
系统问题求大神帮忙解决
windows系统,执行cmd命令窗口闪一下就关闭rn网上有人说执行regedit命令 但是我在执行这个命令的时候也自动关闭了,根本来不及看注册表信息。rn各种方法都试过了,求<em>大神</em><em>帮忙</em><em>解决</em>。
VB 代码 请大神 指教
我要实现一个功能rnrn1.判断文件rn 1.1 如果存在,就删除这个文件rn 1.2 如果不存在,就往下走程式rnrn2.如果不存在,会执行一个代码,让他生成,rn 执行可能会失败rn 2.1. 循环3次执行, 每次都会判断是否生成此文件,如果生成,则跳出循环,往下继续走(一般3次内肯定会生成)rnrn代码如下:但一直有问题,请指教 rn Public Sub Main()rn 'delete old file'rn If dir("E:\TEST\iqdc.zip") <> " " Thenrn Kill("E:\iqdc.txt")rn End Ifrnrn 'judge File exist and cycle 3 times if Fail'rn Dim Flag = 0rn Do While Flag < 3rn '要执行生成的文件'rn If dir("E:\TEST\iqdc.txt") <> " " Then Exit Dorn Flag = Flag + 1rn Looprnrn End Subrnrn
解决vb连接sqlite3.dll报错
<em>解决</em><em>vb</em>连接sqlite3.dll<em>报错</em>,安装32版本驱动程序<em>解决</em>,在VB工程添加连接字串DRIVER=SQLite3 ODBC Driver;Database=处理
oracle sql developer数据库连接报错(请大神帮忙
[img=https://img-bbs.csdn.net/upload/201410/27/1414385409_906844.png][/img]rnrn我其实就是想建立一个dblink,我也可用明确的说。用户名和密码是对的。因为我用sqlplus验证过了。rnrn[img=https://img-bbs.csdn.net/upload/201410/27/1414385504_971946.png][/img]rnrn验证结果如下:rnrn[img=https://img-bbs.csdn.net/upload/201410/27/1414385570_513546.png][/img]rnrn10.188.238.19这个数据的listerner.ora如下:rnrn# listener.ora Network Configuration File: D:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.orarn# Generated by Oracle configuration tools.rnrnSID_LIST_LISTENER =rn (SID_LIST =rn (SID_DESC =rn (SID_NAME = CLRExtProc)rn (ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)rn (PROGRAM = extproc)rn (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")rn )rn (rn SID_DESC=rn (GLOBAL_DBNAME=BMCPDS)rn (ORACLE_HOME = D:\app\Administrator\product\11.2.0\dbhome_1)rn (SID_NAME=ORCL)rn )rn )rnrnLISTENER =rn (DESCRIPTION_LIST =rn (DESCRIPTION =rn (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))rn (ADDRESS = (PROTOCOL = TCP)(HOST = fjyc-portal02.com)(PORT = 1521))rn )rn )rnrnADR_BASE_LISTENER = D:\app\Administratorrnrn想请各位<em>大神</em><em>帮忙</em>看下,并<em>解决</em>。谢谢了rn
大神帮忙看看这段js代码为什么报错
浏览器 控制台查看一直拼命<em>报错</em>:rnrnNoname3.html:191 Uncaught TypeError: Cannot set property 'innerHTML' of nullrn at getCurDate (Noname3.html:191)rn at :1:1rnrnrnrn代码 如下: js代码已经在html下面了 不知道为什么还有这情况rn
PROCEDURE报错,请大神帮忙看看是什么问题
<em>报错</em>信息:Warning: compiled but with compilation errorsrnCLOSE mp_info;rnORA-00900: invalid SQL statementrnrnCREATE OR REPLACE PROCEDURE SCC_B2B.HIS_MP_INFO_PRO ISrnrnv_from date;rnv_to date; rnrnCURSOR mp_info IS rn--QTY ITEMrnSELECT * from wiprnrnrn rnmp_record mp_info%ROWTYPE;rnrn-- Variables Declarationsrnrnvar_DUPLICATE_COUNT NUMBER;rnrnrnBEGINrn rn dw.get_lastrefresh ('HIS_MP_INFO',rn v_from,rn v_to);rn v_from := v_from -1;rn v_to := trunc(sysdate, 'HH'); rn rnOPEN mp_info;rnrn FETCH mp_info INTO mp_record;rnrn WHILE mp_info%FOUND LOOPrn rn var_DUPLICATE_COUNT := 0;rn rn SELECTrn COUNT(*)rn INTOrn var_DUPLICATE_COUNTrn FROM rn scc_b2b.his_mp_info rn WHERErn VENDOR_LOT_NUMBER = mp_record.VENDOR_LOT_NUMBER ANDrn VER = mp_record.VER ANDrn PROCESS_CODE = mp_record.PROCESS_CODE ANDrn PROCESS_SEQ = mp_record.PROCESS_SEQ AND rn ITEM_NAME = mp_record.ITEM_NAME rn rn IF (var_DUPLICATE_COUNT = 0) THENrnrn INSERT INTO SCC_B2B.HIS_MP_INFO (CUST,rn CUST_CODE,rn PKG,rn PIN,rn DEVICE,rn HISILICON_ITEM,rn PARTNAME,rn CUST_LOT_NO,rn WAFER_LOT_NO,rn VENDOR_LOT_NUMBER,rn VENDOR_SUBLOT_NUMBER,rn VER,rn CREATION_DATE,rn INTERNAL_OPER,rn PROCESS_CODE,rn PROCESS_SEQ,rn CATEGORY,rn ITEM_NAME,rn ITEM_VALUE,rn MIN,rn MAX,rn SEND_FLAG)rn VALUES (mp_record.CUST,rn mp_record.CUST_CODE,rn mp_record.PKG,rn mp_record.PIN,rn mp_record.DEVICE,rn mp_record.HISILICON_ITEM,rn mp_record.PARTNAME,rn mp_record.CUST_LOT_NO,rn mp_record.WAFER_LOT_NO,rn mp_record.VENDOR_LOT_NUMBER,rn mp_record.VENDOR_SUBLOT_NUMBER,rn mp_record.VER,rn mp_record.CREATION_DATE,rn mp_record.INTERNAL_OPER,rn mp_record.PROCESS_CODE,rn mp_record.PROCESS_SEQ,rn mp_record.CATEGORY,rn mp_record.ITEM_NAME,rn mp_record.ITEM_VALUE,rn mp_record.MIN,rn mp_record.MAX,rn mp_record.SEND_FLAG);rnrn COMMIT;rn END IF ;rn FETCH mp_info INTO mp_record;rn END LOOP;rn rn rnCLOSE MP_INFO;rnrn Dw.Update_LastRefresh ('HIS_MP_INFO', v_to);rn EXCEPTIONrn WHEN OTHERS THEN rn ROLLBACK;rn var_errmsg := NVL (SUBSTR (SQLERRM, 1, 256), 'NA'); rn DBMS_OUTPUT.put_line ('N' || '.' || var_errmsg);rnrn INSERT INTO DW_ERRLOG (report_id,rn job_no,rn run_time,rn from_time,rn to_time,rn success_cd,rn error_desc)rn VALUES ('ADI_StartEvents',rn 1,rn to_char(SYSDATE,'yyyymmddhh24miss'),rn to_char(SYSDATE,'yyyymmddhh24miss'),rn to_char(SYSDATE,'yyyymmddhh24miss'),rn 'N',rn 'FAILED' || '.' || var_errmsg);rnrn rn COMMIT;rnEND;rn
spring + hibernate + struts2整合报错,请大神帮忙分析下
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [spring.xml,classpath:spring-hibernate.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring.xml,classpath:spring-hibernate.xml] cannot be opened because it does not existrn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)rn at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)rn at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)rn at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)rn at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)rn at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:527)rn at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:441)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)rn at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)rn at ly.test.TestHibernate.test(TestHibernate.java:16)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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)rn at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)rn at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)rn at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)rn at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)rn at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)rn at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)rn at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)rn at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)rn at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)rn at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)rn at org.junit.runners.ParentRunner.run(ParentRunner.java:309)rn at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)rn at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)rn at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)rnCaused by: java.io.FileNotFoundException: class path resource [spring.xml,classpath:spring-hibernate.xml] cannot be opened because it does not existrn at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:157)rn at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)rn ... 36 morernrn
关于网页报错的问题,大概是web.config ,请大神帮忙
[img=http://img.my.csdn.net/uploads/201303/19/1363660256_5042.jpg][/img]rnrnweb.config 的设置也加上了rnrn[code=csharp]rn rnrnrn[/code]rnrn但还是不行
启动impala-shell的时候报错,请大神帮忙解答一下
如下是日志中的<em>报错</em>信息:rnLog file created at: 2017/06/13 23:57:00rnRunning on machine: hadoop01rnLog line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msgrnE0613 23:57:00.168987 5609 logging.cc:119] stderr will be logged to this file.rnE0613 23:57:00.301975 5609 impalad-main.cc:58] NoClassDefFoundError: org/apache/hadoop/hbase/client/ScanrnCAUSED BY: ClassNotFoundException: org.apache.hadoop.hbase.client.ScanrnloadFileSystems error:rnjava.lang.NoClassDefFoundError: org/apache/hadoop/fs/FileSystemrnCaused by: java.lang.ClassNotFoundException: org.apache.hadoop.fs.FileSystemrn at java.net.URLClassLoader.findClass(URLClassLoader.java:381)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:424)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:357)rnhdfsBuilderConnect(forceNewInstance=0, nn=default, port=0, kerbTicketCachePath=(NULL), userName=(NULL)) error:rnjava.lang.NoClassDefFoundError: org/apache/hadoop/conf/ConfigurationrnCaused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configurationrn at java.net.URLClassLoader.findClass(URLClassLoader.java:381)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:424)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
用appendChild添加li节点,报错,请大神帮忙
[code=javascript]rnrnrnrn rn 无标题文档rnrn rnrnrnrn rn rn rnrnrnrnrn[/code]rnrn哪里错了呀 ??请问<em>大神</em>们 帮<em>帮忙</em>
springmvc2.5中绑定表单日期字段报错,请大神帮忙
action为MultiActionControllerrn绑字数据方法为rnArticle formData = (Article)newCommandObject(Article.class);rn bind(request, formData);rn其中有一个字段类型为Date型rn页面文件字段为rnrn提示:Errors binding onto object 'command'; nested exception is org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors Field error in object 'command' on field 'createTime': rejected value [2012-07-24]; codes [typeMismatch.command.createTime,typeMismatch.createTime,typeMismatch.java.sql.Timestamp,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [command.createTime,createTime]; arguments []; default message [createTime]]; default message [Failed to convert property value of type [java.lang.String] to required type [java.sql.Timestamp] for property 'createTime'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [java.sql.Timestamp] for property 'createTime': no matching editors or conversion strategy found] rn•返回rn rnrnrn请问如何<em>解决</em>????????
java项目在本地顺利,部署linux系统报错,请大神帮忙
Mar 12, 2016 9:54:33 PM org.apache.catalina.core.StandardServer awaitrnINFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.rnMar 12, 2016 9:54:33 PM org.apache.coyote.AbstractProtocol pausernINFO: Pausing ProtocolHandler ["http-bio-8080"]rnMar 12, 2016 9:54:33 PM org.apache.coyote.AbstractProtocol pausernINFO: Pausing ProtocolHandler ["ajp-bio-8009"]rnMar 12, 2016 9:54:33 PM org.apache.catalina.core.StandardService stopInternalrnINFO: Stopping service CatalinarnMar 12, 2016 9:54:33 PM org.apache.coyote.AbstractProtocol stoprnINFO: Stopping ProtocolHandler ["http-bio-8080"]rnMar 12, 2016 9:54:33 PM org.apache.coyote.AbstractProtocol stoprnINFO: Stopping ProtocolHandler ["ajp-bio-8009"]rnMar 12, 2016 9:54:33 PM org.apache.coyote.AbstractProtocol destroyrnINFO: Destroying ProtocolHandler ["http-bio-8080"]rnMar 12, 2016 9:54:33 PM org.apache.coyote.AbstractProtocol destroyrnINFO: Destroying ProtocolHandler ["ajp-bio-8009"]rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Server version: Apache Tomcat/7.0.68rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Server built: Feb 8 2016 20:25:54 UTCrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Server number: 7.0.68.0rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: OS Name: LinuxrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: OS Version: 3.13.0-32-genericrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Architecture: amd64rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Java Home: /usr/java/jdk1.7.0_67/jrernMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: JVM Version: 1.7.0_67-b01rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: JVM Vendor: Oracle CorporationrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: CATALINA_BASE: /usr/local/tomcat/apache-tomcat-7.0.68rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: CATALINA_HOME: /usr/local/tomcat/apache-tomcat-7.0.68rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/apache-tomcat-7.0.68/conf/logging.propertiesrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManagerrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/apache-tomcat-7.0.68/endorsedrnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Command line argument: -Dcatalina.base=/usr/local/tomcat/apache-tomcat-7.0.68rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Command line argument: -Dcatalina.home=/usr/local/tomcat/apache-tomcat-7.0.68rnMar 12, 2016 9:54:57 PM org.apache.catalina.startup.VersionLoggerListener logrnINFO: Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/apache-tomcat-7.0.68/temprnMar 12, 2016 9:54:57 PM org.apache.catalina.core.AprLifecycleListener lifecycleEventrnINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/librnMar 12, 2016 9:54:58 PM org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["http-bio-8080"]rnMar 12, 2016 9:54:58 PM org.apache.coyote.AbstractProtocol initrnINFO: Initializing ProtocolHandler ["ajp-bio-8009"]rnMar 12, 2016 9:54:58 PM org.apache.catalina.startup.Catalina loadrnINFO: Initialization processed in 1641 msrnMar 12, 2016 9:54:58 PM org.apache.catalina.core.StandardService startInternalrnINFO: Starting service CatalinarnMar 12, 2016 9:54:58 PM org.apache.catalina.core.StandardEngine startInternalrnINFO: Starting Servlet Engine: Apache Tomcat/7.0.68rnMar 12, 2016 9:54:58 PM org.apache.catalina.startup.HostConfig deployWARrnINFO: Deploying web application archive /usr/local/tomcat/apache-tomcat-7.0.68/webapps/QuestionBank.warrnMar 12, 2016 9:55:03 PM org.apache.catalina.startup.TldConfig executernINFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rnMar 12, 2016 9:55:10 PM org.apache.catalina.core.StandardContext startInternalrnSEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log filernMar 12, 2016 9:55:10 PM org.apache.catalina.core.StandardContext startInternalrnSEVERE: Context [/QuestionBank] startup failed due to previous errorsrnMar 12, 2016 9:55:10 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbcrnSEVERE: The web application [/QuestionBank] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rnMar 12, 2016 9:55:10 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsrnSEVERE: The web application [/QuestionBank] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.rnMar 12, 2016 9:55:10 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreadsrnSEVERE: The web application [/QuestionBank] appears to have started a thread named [net.sf.ehcache.CacheManager@4e8699d4] but has failed to stop it. This is very likely to create a memory leak.rnMar 12, 2016 9:55:10 PM org.apache.catalina.startup.HostConfig deployWARrnINFO: Deployment of web application archive /usr/local/tomcat/apache-tomcat-7.0.68/webapps/QuestionBank.war has finished in 12,311 msrnMar 12, 2016 9:55:10 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deploying web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/managerrnMar 12, 2016 9:55:10 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deployment of web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/manager has finished in 219 msrnMar 12, 2016 9:55:10 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deploying web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/docsrnMar 12, 2016 9:55:10 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deployment of web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/docs has finished in 111 msrnMar 12, 2016 9:55:10 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deploying web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/examplesrnMar 12, 2016 9:55:11 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deployment of web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/examples has finished in 534 msrnMar 12, 2016 9:55:11 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deploying web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/ROOTrnMar 12, 2016 9:55:11 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deployment of web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/ROOT has finished in 115 msrnMar 12, 2016 9:55:11 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deploying web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/host-managerrnMar 12, 2016 9:55:11 PM org.apache.catalina.startup.HostConfig deployDirectoryrnINFO: Deployment of web application directory /usr/local/tomcat/apache-tomcat-7.0.68/webapps/host-manager has finished in 136 msrnMar 12, 2016 9:55:11 PM org.apache.coyote.AbstractProtocol startrnINFO: Starting ProtocolHandler ["http-bio-8080"]rnMar 12, 2016 9:55:11 PM org.apache.coyote.AbstractProtocol startrnINFO: Starting ProtocolHandler ["ajp-bio-8009"]rnMar 12, 2016 9:55:11 PM org.apache.catalina.startup.Catalina startrnINFO: Server startup in 13666 msrnMar 12, 2016 9:55:15 PM org.apache.catalina.loader.WebappClassLoaderBase findResourceInternalrnINFO: Illegal access: this web application instance has been stopped already. Could not load ehcache-version.properties. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
菜鸟感觉很棘手的内存报错,请大神帮忙
我做了一个实时监控显示软件,为了实时我创建了一个线程,在这个线程中我用一个死循环不断地调用数据库。调用数据库我是调用一个子函数,这个子函数在OninitDialog 中调用不会<em>报错</em>,但是在线程中调用则显示内存错误,我刚刚接触MFC,感觉对这个错误很无力,希望<em>大神</em>帮助。rnrn这个是我的线程函数,一个死循环,不断调用数据库。rn[code=c]UINT WINAPI DyncMonitorA()rnrn CDataProcess dataA;rn CChannelA datamemo;rn while (1)rn rn dataA.DataToArray_A(datamemo.DataMemo);rn rn return 0;rn[/code]rn这个是线程调用的函数rn[code=c]void CDataProcess::DataToArray_A(BOOL a[50][45])rnrn HRESULT hr;rn _variant_t RecordsAffected;rn long tempslotnum;rn int x,y; //存储对应对应时隙的方格所在矩阵的XY值;rn /************************************************************************/rn /* 连接数据集 */rn /************************************************************************/ rn tryrn rn hr = m_pRecordset.CreateInstance(__uuidof(Recordset));rn if (SUCCEEDED(hr))rn rn // hr = m_pRecordset->Open("SELECT * FROM TEXT",rn // theApp.m_pConnection.GetInterfacePtr(),rn // adOpenDynamic,rn // adLockOptimistic,rn // adCmdText);rn//////////////////////////////////////////////////////////////////////////rn// 将A信道,TIMEOUT = 2,4,6;的数据取出(SLOTNUM,TIMEOUT,CHANNEL) //rn//////////////////////////////////////////////////////////////////////////rn m_pRecordset = theApp.m_pConnection->rn Execute("SELECT SLOTNUM,TIMEOUT,CHANNEL FROM SLOT WHERE CHANNEL = 'A' AND(TIMEOUT = 2 OR TIMEOUT = 4 OR TIMEOUT = 6)",rn &RecordsAffected,rn adCmdText);rn rn rn catch (_com_error &e)rn rn AfxMessageBox(e.Description());rn rn/************************************************************************/rn/* 调用数据库信息处理 */rn/************************************************************************/rn tryrn rn while(!m_pRecordset->adoEOF)rn rn tempslotnum = m_pRecordset->GetCollect("SLOTNUM");rn x = GetGraphX(tempslotnum);rn y = GetGraphY(tempslotnum);rn a[x][y] = TRUE;rn SendMessage(AfxGetMainWnd()->m_hWnd,WM_PAINT,0,0);rn rn m_pRecordset->MoveNext(); rn rn return;rn rn catch (_com_error &e)rn rn AfxMessageBox(e.Description());rn rnrn[/code]rn错误出在 while(!m_pRecordset->adoEOF)这一句中rn以下是&e显示的错误信息,rn [0] 0x004012c1 _com_error::`scalar deleting destructor'(unsigned int)rn __vfptr CXX0030: Error: expression cannot be evaluatedrn CXX0030: Error: expression cannot be evaluatedrn[img=https://img-bbs.csdn.net/upload/201405/05/1399286830_633429.png][/img]rn[img=https://img-bbs.csdn.net/upload/201405/05/1399286869_413382.png][/img]rnrn如果这些代码看不出什么,我可以提供原文件。希望愿意帮我的<em>大神</em>留下邮箱。rnrnrn
下面的C++代码报错,请大神帮忙看看,谢谢
[code=c]redisContext *c;rnredisReply *reply;rnrnstruct timeval timeout = 1, 500000 ; // 1.5 secondsrnc = redisConnectWithTimeout((char*)"127.0.0.1", 6379, timeout);rnif (c->err) rn printf("Connection error: %s\n", c->errstr);rn exit(1);rn[/code]rnrn出现错误rnUnable to translate the string into a sockaddr.Connection error:Unknown errorrn不知道怎么修改,请<em>大神</em>指教,谢谢!
《计算机网络通信》实验指导书下载
《计算机网络通信》实验指导书《计算机网络通信》实验指导书 相关下载链接:[url=//download.csdn.net/download/yanxinxu/2209827?utm_source=bbsseo]//download.csdn.net/download/yanxinxu/2209827?utm_source=bbsseo[/url]
iibm t6o 热键下载
IBM t60 热键 供大家下载 有兴趣的朋友下载看看 相关下载链接:[url=//download.csdn.net/download/zhangnajunsheng/3548869?utm_source=bbsseo]//download.csdn.net/download/zhangnajunsheng/3548869?utm_source=bbsseo[/url]
复化辛普生法C++下载
将数值分析中的复化辛普生法用C++代码表示出来 相关下载链接:[url=//download.csdn.net/download/guxinduzui/8441649?utm_source=bbsseo]//download.csdn.net/download/guxinduzui/8441649?utm_source=bbsseo[/url]
相关热词 c++和c#哪个就业率高 c# 批量动态创建控件 c# 模块和程序集的区别 c# gmap 截图 c# 验证码图片生成类 c# 再次尝试 连接失败 c#开发编写规范 c# 压缩图片好麻烦 c#计算数组中的平均值 c#获取路由参数
我们是很有底线的