vs2013发生生成错误,求大神帮忙!

显示的下面这两个错误,求大神帮忙啊!
错误 2 error LNK1120: 1 个无法解析的外部命令 G:\程序代码\C++程序\ConsoleApplication3\Debug\ConsoleApplication3.exe 1 1 ConsoleApplication3。
错误 1 error LNK2019: 无法解析的外部符号 "public: void __thiscall Seqlist::Printlist(void)" (?Printlist@?$Seqlist@H@@QAEXXZ),该符号在函数 _wmain 中被引用 G:\程序代码\C++程序\ConsoleApplication3\ConsoleApplication3\ConsoleApplication3.obj ConsoleApplication3。

5个回答

LNK2019:都是只有函数声明而找不到函数的实现
楼主的Printlist应该是自己实现的顺序表的打印list的函数吧
我猜楼主应该是拼写错误导致编译器找不到函数的实现(楼主自己核对一下头文件中的声明和CPP文件中的实现看看返回值类型,函数名,参数是否相同)

可以看看这个,看是否解决你的问题。http://blog.csdn.net/yhhwatl/article/details/9237739

缺少lib库文件,需要将相应的lib库加入引用中。

Printlist函数有声明没实现吧

public: void __thiscall Seqlist::Printlist(void)
这个函数对应的头文件是否包含了?如果包含了,再检查.h .cpp文件是否包含到工程里。再看是否在cpp中实现了该函数。
好运~~~~~

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
vs2013 栈发生错误
各位大侠:rn 我遇到一个问题,就是所有的函数传递参数都发生错误,比如rnfunc(0);rnrn到函数里面这个参数就变为一个随机值,比如2456783.。。rnrn跪谢。!!rnrn好久没上csdn,就这么多分了,见谅。
求大神帮忙。。。VS2013编译QT工程出现如下错误。。
错误 1 error MSB6006: “cmd.exe”已退出,代码为 9009。 rnrnrnrn还原 NuGet 程序包时出错: System.ArgumentException: 路径的形式不合法。rn 在 System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)rn 在 System.IO.Path.GetDirectoryName(String path)rn 在 NuGet.VisualStudio.VsUtility.GetNuGetSolutionFolder(Solution solution)rn 在 NuGet.VsEvents.PackageRestorer.UsingOldPackageRestore(Solution solution)rn 在 NuGet.VsEvents.PackageRestorer.BuildEvents_OnBuildBegin(vsBuildScope Scope, vsBuildAction Action)。rn1>------ 已启动生成: 项目: EatMore, 配置: Debug x64 ------rn1> Moc'ing mainwindow.h...rn1> '"C:\program files ' 不是内部或外部命令,也不是可运行的程序rn1> 或批处理文件。rn1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: “cmd.exe”已退出,代码为 9009。rn========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========rn
vs2013 调试问题求大神
[img=https://img-bbs.csdn.net/upload/201410/20/1413781322_508463.png][/img]
求大神帮忙 诡异错误
我用keil编程 在proteus上仿真 一个串口的小程序 有个按键接到外部中断0 代码如下:rn#include rnrntypedef unsigned char uchar;rntypedef unsigned int uint;rnrn //数据输入按键rnrnbit start ; //编码开始标志rnrnrn/******INT0初始化函数******/rnvoid init_int0()rnrn EX0 = 1; //允许外部中断0rn IT0 = 1; //INT0低电平触发rn EA = 1; //允许总中断rnrnvoid delay1ms()rnrn uchar i,j;rn for(i=0;i<24;i++)rn for(j=248; j>0; j--);rnrnrnrn/******初始化串口******/rnvoid init_serial()rnrn SCON = 0x50; //SCON: serail mode 1, 8-bit UART, enable ucvrrn TMOD = (TMOD & 0x0f) | 0x20;rn PCON |= 0x80;rn TH1 = 0xFA; //Baud:9600 fosc=11.0592MHzrn TL1 = TH1;rnrn IE |= 0x90; //Enable Serial Interruptrn TR1 = 1; //timer 1 runrn rnrnrnvoid send_char(uchar ch) //向串口发送一个字符rnrn SBUF = ch;rn while(0 == TI);rn TI = 0;rnrnrnvoid send_string(uchar *str) rnrn while(*str)rn send_char(*str++);rn rnrnrn/******编码程序******/rnvoid encode()rn rn send_char(49);rn send_char(49);rn rnrn/******INT0中断服务程序******/rnvoid int0_isr() interrupt 0rn rn EX0 = 0;delay1ms(); delay1ms(); delay1ms();rn send_char(48);send_string("hello");rn delay1ms();delay1ms(); delay1ms(); start = 1;rnrnvoid main()rnrn init_serial();rn init_int0(); //初始化外部中断0rn while(1)rn if(1 == start)rn start = 0;rn rn EX0 = 1;rn rn rn rn rnrn但是如果我在rnif(1 == start)rn start = 0;rn rn EX0 = 1;rn rn rn中括号里加一句send_char(48);或者send_string("hello");按按键串口就只输出一次 再按没反应不输出了 而且send_string("hello");还会乱码 但是不加 程序运行完全正确
vs2010生成发生错误
vs2010生成发生错误,无错误提示。新建的winform项目,啥也没写呢,F5运行提示生成错误,错误列表,输出没有任何信息,有没有人遇到过这种情况啊?但是web项目生成成功,毫无问题。重置所有设置,重装软件已经试过,没有效果。rnrn[img=https://img-bbs.csdn.net/upload/201507/09/1436434339_4341.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201507/09/1436434246_947253.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201507/09/1436434276_737480.png][/img]
VS2013安装错误,求大神指导~~~
这个上面写安装成功了,但是后面还有问题、、、rn[img=https://img-bbs.csdn.net/upload/201403/17/1395064924_606362.png][/img]rn然后进去编程序,库文件就读不了了,求大神指导rn[img=https://img-bbs.csdn.net/upload/201403/17/1395065007_944772.png][/img]
VS2013 链接错误 求大神指导
今天遇到的问题是在将之前一个项目迁移到VS2013时遇到的,这个项目使用了openssl,在之前VS2008以及VS2010环境中都是正常的,但是在VS2013环境中构建时发生了一批链接错误,链接错误的类型都一样,我随便挑了一条:rnerror LNK2019: 无法解析的外部符号 [color=#FF0000]_[/color]EVP_EncryptInit_exrnrn看起来应该是很常见的日常问题,在链接库的时候,找不到接口,但是检查openssl的libeay32.dll(检查了VS2008,VS2010以及VS2013构建的libeay32.dll),发现导出的接口为EVP_EncryptInit_ex,没有前方的下划线rnrn再看openssl给出该接口的头文件,也使用如下方式包含EVP_EncryptInit_ex接口了rn#ifdef __cplusplusrnextern "C" rn#endifrnrn#ifdef __cplusplusrnrn#endifrnrn但问题是在使用openssl的时候,调用这个接口编译的时候,依赖的接口变成了[color=#FF0000]_[/color]EVP_EncryptInit_ex,目前还想不明白到底哪里出了问题,求大神指导rn
caffe在vs2013上的生成错误
所有的源文件都可以成功编译,在我想用example里的mnist做测试的时候,生成整个caffe project失败。rnrn错误都是无法解析的外部符号rnrn1>softmax_loss_layer.cu.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Lock(void)" (?Lock@?$Layer@M@caffe@@AEAAXXZ)rn1>dummy_data_layer.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Lock(void)" (?Lock@?$Layer@M@caffe@@AEAAXXZ)rn1>softmax_loss_layer.cu.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Unlock(void)" (?Unlock@?$Layer@M@caffe@@AEAAXXZ)rn1>dummy_data_layer.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Unlock(void)" (?Unlock@?$Layer@M@caffe@@AEAAXXZ)rn1>softmax_loss_layer.cu.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Lock(void)" (?Lock@?$Layer@N@caffe@@AEAAXXZ)rn1>dummy_data_layer.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Lock(void)" (?Lock@?$Layer@N@caffe@@AEAAXXZ)rn1>softmax_loss_layer.cu.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Unlock(void)" (?Unlock@?$Layer@N@caffe@@AEAAXXZ)rn1>dummy_data_layer.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::Unlock(void)" (?Unlock@?$Layer@N@caffe@@AEAAXXZ)rn1>common.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) void __cdecl google::InstallFailureSignalHandler(void)" (__imp_?InstallFailureSignalHandler@google@@YAXXZ)rn1>data_layer.obj : error LNK2001: 无法解析的外部符号 "public: __cdecl caffe::DataReader::~DataReader(void)" (??1DataReader@caffe@@QEAA@XZ)rn1>data_layer.obj : error LNK2001: 无法解析的外部符号 "public: __cdecl caffe::DataReader::DataReader(class caffe::LayerParameter const &)" (??0DataReader@caffe@@QEAA@AEBVLayerParameter@1@@Z)rn1>lrn_layer.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::InitMutex(void)" (?InitMutex@?$Layer@N@caffe@@AEAAXXZ)rn1>lrn_layer.obj : error LNK2001: 无法解析的外部符号 "private: void __cdecl caffe::Layer::InitMutex(void)" (?InitMutex@?$Layer@M@caffe@@AEAAXXZ)rn1>../bin\caffe-master.exe : fatal error LNK1120: 9 个无法解析的外部命令rnrn是少加了什么库吗?但是我所有的步骤都是按照Neil博客上说的做的,理论上不应该会少啊。。。rn
求大神帮忙,前台生成word问题
function ext2Word()rn tryrn //html操作rn var sel=document.body.createTextRange();rn sel.moveToElementText(document.body);rn sel.select();rn sel.execCommand("Copy");rn //word操作rn var oWord=new ActiveXObject("Word.Application");rn oWord.Application.Visible=true;rn var oDoc=oWord.Documents.Add("",0,1);rn oRange=oDoc.Range();rn oRange.Paste();rn catch(e)rn alert("未安装Word或浏览器安全设置没有放开,请查阅帮助进行设置后打印");rn rnrn这是前端JS代码,现在能生成word,但是生成的word格式不好看,让我改,rnsel.moveToElementText(document.body);这里是从body开始的,让我只选择table,或者td tr,这个需要怎么弄。求大神指点rn[img=https://img-bbs.csdn.net/upload/201707/18/1500337244_976212.png][/img]rn选择生成的是这样,但是生成word时候就变成这样了rn[img=https://img-bbs.csdn.net/upload/201707/18/1500337288_599799.png][/img]
小白,小白,小白,求!求!求!大神关于VS2013多线程!求!求!求!大神关于VS2013多线程!求!求!求!大神关于VS2013多线程!
大神帮忙,我在百度也好,反正找变了,MFC多线程怎么也不成功rnrn例程10 MultiThread10rnrn建立一个基于对话框的工程MultiThread10,在对话框IDD_MULTITHREAD10_DIALOG中加入一个按钮和三个编辑框控件,按钮的ID为IDC_START,标题为“同时写‘A’、‘B’、‘C’”;三个编辑框的ID分别为IDC_A、IDC_B和IDC_C,属性都选中Read-only;rn在MultiThread10Dlg.h文件中声明两个线程函数:rn[code=c]UINT WriteA(LPVOID pParam);rnUINT WriteB(LPVOID pParam);rnUINT WriteC(LPVOID pParam);[/code] rn使用ClassWizard分别给IDC_A、IDC_B和IDC_C添加CEdit类变量m_ctrlA、m_ctrlB和m_ctrlC;rn在MultiThread10Dlg.cpp文件中添加如下内容:rn为了文件中能够正确使用同步类,在文件开头添加:rn[code=c]rn#include "afxmt.h"[/code]rn定义信号量对象和一个字符数组,为了能够在不同线程间使用,定义为全局变量:rn[code=c]CSemaphore semaphoreWrite(2,2); //资源最多访问线程2个,当前可访问线程数2个 rnchar g_Array[10];[/code] rn添加三个线程函数:rnrn[code=c]UINT WriteA(LPVOID pParam)rnrn CEdit *pEdit=(CEdit*)pParam;rn pEdit->SetWindowText("");rn WaitForSingleObject(semaphoreWrite.m_hObject,INFINITE);rn CString str;rn for(int i=0;i<10;i++)rn rn pEdit->GetWindowText(str);rn g_Array[i]=''A'';rn str=str+g_Array[i];rn pEdit->SetWindowText(str);rn Sleep(1000);rn rn ReleaseSemaphore(semaphoreWrite.m_hObject,1,NULL);rn return 0;rnrnrnUINT WriteB(LPVOID pParam)rnrn CEdit *pEdit=(CEdit*)pParam;rn pEdit->SetWindowText("");rn WaitForSingleObject(semaphoreWrite.m_hObject,INFINITE);rn CString str;rn for(int i=0;i<10;i++)rn rnrn pEdit->GetWindowText(str);rn g_Array[i]=''B'';rn str=str+g_Array[i];rn pEdit->SetWindowText(str);rn Sleep(1000);rn rn ReleaseSemaphore(semaphoreWrite.m_hObject,1,NULL);rn return 0;rnrnrnUINT WriteC(LPVOID pParam)rnrn CEdit *pEdit=(CEdit*)pParam;rn pEdit->SetWindowText("");rn WaitForSingleObject(semaphoreWrite.m_hObject,INFINITE);rn for(int i=0;i<10;i++)rn rn g_Array[i]=''C'';rn pEdit->SetWindowText(g_Array);rn Sleep(1000);rn rn ReleaseSemaphore(semaphoreWrite.m_hObject,1,NULL);rn return 0;rnrn[/code]rn这三个线程函数不再多说。在信号量对象有信号的状态下,线程执行到WaitForSingleObject语句处继续执行,同时可用线程数减1;若线程执行到WaitForSingleObject语句时信号量对象无信号,线程就在这里等待,直到信号量对象有信号线程才往下执行。rn双击按钮IDC_START,添加其响应函数:rn[code=c]void CMultiThread10Dlg::OnStart() rnrn CWinThread *pWriteA=AfxBeginThread(WriteA,rn &m_ctrlA,rn THREAD_PRIORITY_NORMAL,rn 0,rn CREATE_SUSPENDED);rn pWriteA->ResumeThread();rnrn CWinThread *pWriteB=AfxBeginThread(WriteB,rn &m_ctrlB,rn THREAD_PRIORITY_NORMAL,rn 0,rn CREATE_SUSPENDED);rn pWriteB->ResumeThread();rnrn CWinThread *pWriteC=AfxBeginThread(WriteC,rn &m_ctrlC,rn THREAD_PRIORITY_NORMAL,rn 0,rn CREATE_SUSPENDED);rn pWriteC->ResumeThread();rnrn rnrnrn[/code]rn大神帮忙给详细的改一下呗!rnrn我的是这样的rn[img=https://img-bbs.csdn.net/upload/201610/12/1476242917_818818.png][/img][img=https://img-bbs.csdn.net/upload/201610/12/1476242932_856187.png][/img][img=https://img-bbs.csdn.net/upload/201610/12/1476242959_799984.png][/img][img=https://img-bbs.csdn.net/upload/201610/12/1476242973_277508.png][/img][img=https://img-bbs.csdn.net/upload/201610/12/1476242984_358139.png][/img]rnrnrnrn
打包发生错误!无法生成
我在打包时,生成“setup”的时候,发生错误rn提示为:验证时出错,HRESULT= '80040155'rn 验证时出错,HRESULT= '80040155'rnrn就这两行错误,应该怎么解决阿?谢谢
求大神帮忙看看这个错误
0 0x105dbf342 __assert_rtn + 144n1 0x105dfa2c6 archive::File::makeObjectFileForMember(archive::File::Entry const*) const + 1138n2 0x105df9c74 archive::File::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 122n3 0x105e12a75 ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 265n4 0x105e1bdb8 ld::tool::Resolver::resolveUndefines() + 160n5 0x105e1e117 ld::tool::Resolver::resolve() + 79n6 0x105dc0060 main + 812n7 0x7fff928705ad start + 1nA linker snapshot was created at:n /tmp/yuefei-2016-00-04-174524.ld-snapshotnld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-253.9/src/ld/parsers/archive_file.cpp, line 355.nclang: error: linker command failed with exit code 1 (use -v to see invocation)
求大神帮忙找错误啊
#include rnusing namespace std;rnclass stringrnrnpublic :rn friend ostream operator<<(ostream & , string t);rn string (const char *str=NULL);rn string (const string &other);rn string& operator=(const string &other) ;rn string operator+(const string &other) const;rnprotected: rn char *m_data;rn;rnrn string::string(const char *str)rn rn if(!str)m_data=0; rn elsern rn m_data=new char[strlen(str)+1];rn strcpy(m_data,str);rn rn rn string::string(const string &other)rn rn if(!other.m_data) m_data=0;rn else rn rn m_data =new char [strlen(other.m_data)+1];rn strcpy (m_data , other.m_data);rn rn rn string & string :: operator =(const string &other)rn rn if(this!=&other)rn rn delete[]m_data;rn if(!other.m_data) m_data=0;rn elsern m_data=new char[strlen(other.m_data)+1];rn strcpy(m_data, other.m_data);rn rn rn return *this;rn string string::operator+(const string &other)constrn rn string new string;rn if(!other.m_data)rn newstring=*this;rn else if(!m_data)rn newstring=other;rn elsern rn newstring.m_data=new char[strlen(m_data)+strlen(other.m_data)+1)];rn strcpy(new string.m_data,m-data);rn strcat (new string.m_data,other.m_data);rn rn return new string;rn rn void main()rn rn char a[100],b[100];rn string str1;rn cout<<"请输入:"<>a;rn str1=a;rn string str2;rn cout<<"请输入:"<>s;rn str2=b;rn string str3=str1+str2;rn cout<<"输出:"<
求大神帮忙找出错误原因
[code=sql] set ANSI_NULLS ONrnset QUOTED_IDENTIFIER ONrngornrnALTER PROCEDURE [dbo].[getPaybillfee] rn @axmlparm varchar(4096) rnAS rn/********************** rn缴费部分 2.1.3.2 rn功能:获取缴费费用 rn rn rnexec getPaybillfee ' rn 01 rn 00001111 rn 3905755 rn rn 00 rn rn' rn rnselect * from YY_SFDXMK WHERE id=37 rn rnauthor:lcm 2015-09-09 rncreate time: 20150515 rn***********************/ rnset nocount on rndeclare rn@hospitalId varchar(40),-- 医院代码 rn@userJKK varchar(40),-- 用户健康卡号码 rn@infoSeq varchar(40),-- HIS就诊登记号 rn@doctID varchar(40),--HIS就诊医生工号 rn@ybSettleType varchar(40),--医保参保类型 rn@prescriptionIds varchar(40)--处方号,多个处方号用半角逗号隔开,如果为空则表示查询所有处方的费用信息 rn rn rnselect @hospitalId = dbo.of_get_xmlval(@axmlparm,'hospitalId') rnselect @userJKK = dbo.of_get_xmlval(@axmlparm,'userJKK') rnselect @doctID = dbo.of_get_xmlval(@axmlparm,'doctID') rnselect @ybSettleType = dbo.of_get_xmlval(@axmlparm,'ybSettleType') rnselect @prescriptionIds = dbo.of_get_xmlval(@axmlparm,'prescriptionIds') rn rndeclare @cardno ut_cardno,@patid ut_xh12,@hzxm ut_name,@rq char(19),@now ut_rq16,@zje dec(10,2) rnselect @cardno=@userJKK rn rnselect @rq = convert(char(19),getdate(),120) rnselect @now = substring(@rq,1,4)+substring(@rq,6,2)+substring(@rq,9,2)+substring(@rq,12,8) rnselect @patid = patid,@hzxm=hzxm from SF_BRXXK where cardno=@cardno rn rnif not exists(select 1 from GH_GHZDK where patid=@patid and DATEDIFF(day,left(ghrq,8),left(@now,8)) in (0,1)) rnbegin rn select 'F','此卡今天未挂号,请先挂号!' rn return rnend rn rnif exists(select 1 from SF_HJCFK a,SF_HJCFMXK b rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.cd_idm=0 and b.ypdm='20020') rnbegin rn select 'F','体检费不能用移动支付缴费!' rn return rnend rn rnif exists(select 1 from SF_HJCFK a,SF_HJCFMXK b rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 =1 rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) ) rnbegin rn select 'F','有皮试药品,需先皮试!' rn return rnend rn rnselect @zje=sum(cast(b.ypsl*b.ylsj*b.cfts/b.ykxs as dec(10,2))) from SF_HJCFK a,SF_HJCFMXK b rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn rnupdate b set ypmc=c.name from SF_HJCFK a,SF_HJCFMXK b,YY_LCSFXMK c rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rnand a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.ypmc is null and b.lcxmdm>0 and b.lcxmdm=c.id rnrn--declare @str varchar(300),@str1 varchar(300)rn--select @str='7980005,7980006,7980007,7980013'rn--select @str1='化验费,9500.00;化验费,20300.00;西药费,863;化验费,11700.00'rn rn--select @hzxm userName,a.patid infoSeq,rn-- sum(cast(b.ypsl*b.ylsj*b.cfts/b.ykxs as dec(10,2)))*100 payAmout,rn-- 0 recPayAmout,rn-- @zje*100 totalPayAmout,rn-- @str detailID, rn-- '' bz,rn-- @str1 Item,rn-- '' ybLogId rn--from SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rn--where a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) rn-- and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rn-- and a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.dxmdm=c.id rn--group by a.patid rnrnrnrndeclare @cfxh1 varchar(10),@yfmc1 varchar(30),@k int,@j int, rn @str varchar(300),@str1 varchar(300),@cfje1 ut_money ,@dxmdm1 varchar(20) ,rn @patid2 ut_xh12,@now1 ut_rq16 rnrnselect @k=0,@j=0,@str='' ,@str1='' rnselect @j= count(distinct cfxh) from rn(select rn distinct b.cfxh,b.dxmdmrnfrom SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rnwhere a.jlzt in(0,3) rn and a.patid = @patidrn and a.shbz1 in (0,2) rn and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rn and a.xh=b.cfxh rn and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn and b.dxmdm=c.id) rn--declare cur_cfxh cursor forrndeclare cur_cfxh cursor forrnselect distinct b.cfxh,b.dxmdm rnfrom SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rn where a.jlzt in(0,3) and a.patid = @patid rn and a.shbz1 in (0,2) and a.shbz2 in (0,2) and a.shbz3 in (0,2) rn and a.shbz5 in (0,2) and a.xh=b.cfxh rn and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn and b.dxmdm=c.idrn rn open cur_cfxh rn fetch next from cur_cfxh into @cfxh1 ,@dxmdm1 rn while (@k<@j) rn begin rnselect @yfmc1=name from YY_SFDXMK WHERE id=@dxmdm1 rn set @str=@str+@cfxh1+',' rn rnselect @cfje1=sum(convert(numeric(12,2),ypdj*fysl*cfts))*100 rn from (rnselect rn b.cfxh,b.dxmdm,rn b.ypsl/b.ykxs as fysl,rn b.cfts,rn b.ylsj as ypdjrnfrom SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rnwhere a.jlzt in(0,3) rn and a.patid = @patidrn and a.shbz1 in (0,2) rn and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rn and a.xh=b.cfxh rn and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) rn and b.dxmdm=c.id rn) rn where cfxh=@cfxh1 rnrn set @str1=@str1+@yfmc1+','+convert(varchar(20),@cfje1)+';' rn rn rn fetch next from cur_cfxh into @cfxh1,@dxmdm1 rn select @k=@k+1 rn end rn close cur_cfxh rn deallocate cur_cfxh rnselect @str =SUBSTRING(@str,1,LEN(@str)-1) rnselect @str1 =SUBSTRING(@str1,1,LEN(@str1)-1) rnrnrnrnselect @hzxm userName,a.patid infoSeq,rn sum(cast(b.ypsl*b.ylsj*b.cfts/b.ykxs as dec(10,2)))*100 payAmout,rn 0 recPayAmout,rn @zje*100 totalPayAmout,rn @str detailID, rn '' bz,rn @str1 Item,rn '' ybLogId rnfrom SF_HJCFK a,SF_HJCFMXK b,YY_SFDXMK c rnwhere a.jlzt in(0,3) and a.patid = @patid and a.shbz1 in (0,2) rn and a.shbz2 in (0,2) and a.shbz3 in (0,2) and a.shbz5 in (0,2) rn and a.xh=b.cfxh and DATEDIFF(day,left(a.lrrq,8),left(@now,8)) in (0,1) and b.dxmdm=c.id rngroup by a.patid rnrnrn/*rnselect @yfmc1=name from YY_SFDXMK WHERE id=@dxmdm1 rn set @str=@str+@cfxh1+',' rn select @cfje1=sum(convert(numeric(12,2),ypdj*fysl*cfts))*100 rn from #usp_sf_sfcl where cfxh=@cfxh1 rn set @str1=@str1+@yfmc1+','+convert(varchar(20),@cfje1)+';' rn fetch next from cur_cfxh into @cfxh1,@dxmdm1 rn select @k=@k+1 rn end rn close cur_cfxh rn deallocate cur_cfxh rnselect @str =SUBSTRING(@str,1,LEN(@str)-1) rnselect @str1 =SUBSTRING(@str1,1,LEN(@str1)-1) */rn[/code]
菜鸟求大神帮忙,解决下错误
SSH的一个项目,错误如下,请大神帮忙rn这是struts2的包rn[img=https://img-bbs.csdn.net/upload/201502/09/1423471250_27314.png][/img]rn严重: Dispatcher initialization failedrnjava.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:132)rn at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:514)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:524)rn at com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:555)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:580)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:553)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:227)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)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(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502)rn at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:589)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)rn at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)rn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)rn ... 29 morernCaused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:447)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)rn ... 34 morernCaused by: java.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:426)rn ... 35 morernCaused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtilsrn at org.apache.struts2.spring.StrutsSpringObjectFactory.(StrutsSpringObjectFactory.java:104)rn ... 40 morernCaused by: java.lang.ClassNotFoundException: org.apache.commons.lang.xwork.StringUtilsrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 41 morern2015-2-9 16:27:11 org.apache.catalina.core.StandardContext filterStartrn严重: Exception starting filter struts2rnjava.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException - Class: com.opensymphony.xwork2.inject.ContainerBuilder$4rnFile: ContainerBuilder.javarnMethod: creaternLine: 132 - com/opensymphony/xwork2/inject/ContainerBuilder.java:132:-1rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:450)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)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(Executors.java:441)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:132)rn at com.opensymphony.xwork2.inject.Scope$2$1.create(Scope.java:51)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:514)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:524)rn at com.opensymphony.xwork2.inject.ContainerImpl$9.call(ContainerImpl.java:555)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:580)rn at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(ContainerImpl.java:553)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:227)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)rn ... 19 morernCaused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502)rn at com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539)rn at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:589)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:537)rn at com.opensymphony.xwork2.config.impl.LocatableFactory.create(LocatableFactory.java:32)rn at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(ContainerBuilder.java:130)rn ... 29 morernCaused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionrn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:447)rn at com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:499)rn ... 34 morernCaused by: java.lang.reflect.InvocationTargetExceptionrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:513)rn at com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:426)rn ... 35 morernCaused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtilsrn at org.apache.struts2.spring.StrutsSpringObjectFactory.(StrutsSpringObjectFactory.java:104)rn ... 40 morernCaused by: java.lang.ClassNotFoundException: org.apache.commons.lang.xwork.StringUtilsrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn ... 41 morern2015-2-9 16:27:11 org.apache.catalina.core.StandardContext startInternalrn严重: Error filterStart
sql建表错误,求大神帮忙看看
drop table if exists t_progress_display;nn/*==============================================================*/n/* Table: t_progress_display */n/*==============================================================*/ncreate table t_progress_displayn(n id national varchar(32) not null,n create_time datetime default NULL comment '创建时间',n create_user varchar(32) default NULL comment '创建人',n update_time datetime default NULL comment '修改时间',n update_user varchar(32) default NULL comment '修改人',n institutions varchar(32) comment '所属驻外机构',n prj_id national varchar(32) comment '工程编码',n prj_name varchar(512) comment '工程名称',n post_sub_name varchar(512) comment '分指',n part_name varchar(512) comment '标段',n Item_name national varchar(120) comment '分项名称',n finish_fact national int,n plan_prj national int,n unit national varchar(10) comment '工程量单位',n finish_month_f int comment '本月完成比例',n plan_prj_month int comment '本月计划',n total_start int comment '开工累计',n total_percent double comment '累计完成比例',n total_year int comment '本年累计',n plan_prj_year int comment '本年计划',n name national varchar(120) comment '名称',n plan_start_date date comment '计划开始日期',n plan_end_date date comment '计划结束时间',n start_date date comment '实际开始时间',n end_date date comment '实际结束时间',n state int default 0,n primary key (id)n);n![图片说明](https://img-ask.csdn.net/upload/201701/17/1484636558_705713.png)
求大神帮忙看下这个错误是什么
[code=text]八月 07, 2013 9:50:29 上午 org.apache.catalina.loader.WebappClassLoader loadClassrnINFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.mina.core.session.SessionState. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.rnjava.lang.IllegalStateExceptionrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnrnException in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/apache/mina/core/session/SessionStatern at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:194)rn at org.apache.mina.transport.socket.nio.NioProcessor.getState(NioProcessor.java:44)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:554)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:67)rn at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1132)rn at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.lang.ClassNotFoundException: org.apache.mina.core.session.SessionStatern at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)rn ... 9 morern[/code]rn
求大神们帮忙看看错误在哪
use warnings;use strict;open(INFILE, &quot;/Users/lizeshuo/Desktop/test2.txt&quot;) ||   die &quot;Cannot open the newfile: $!\n&quot;;open(OUTFILE, &quot;&amp;gt;test3.txt&quot;) ||   die &quot;Cannot open the newfile: $!\n&quot;;my @a;while (...
求大神帮忙指出我的错误
这是我编写的一个C++程序,但不知哪里出错了,求各路大神指教rn#includernusing namespace std;rnrnint main()rnrn int x,a,b,c,d,e;rn cout<<"请输入一个五位整数:";rn cin>>x;rn a=x/10000;rn b=x%10000/1000;rn c=x%10000%1000/100;rn d=x%10000%1000%100/10;rn e=x%10;rn cout<<'a'<<' '<<'b'<<' '<<'c'<<' '<<'d'<<' '<<'e'<
求大神帮忙看看,这个是什么错误
[code=text]07-26 18:13:19.311: E/StrictMode(13027): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.rn07-26 18:13:19.311: E/StrictMode(13027): java.lang.Throwable: Explicit termination method 'release' not calledrn07-26 18:13:19.311: E/StrictMode(13027): at dalvik.system.CloseGuard.open(CloseGuard.java:184)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.Surface.(Surface.java:294)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.SurfaceView.(SurfaceView.java:96)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Constructor.constructNative(Native Method)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.createView(LayoutInflater.java:587)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:643)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)rn07-26 18:13:19.311: E/StrictMode(13027): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.Activity.setContentView(Activity.java:1881)rn07-26 18:13:19.311: E/StrictMode(13027): at com.thinkerx.kshow.zxing.MipcaActivityCapture.onCreate(MipcaActivityCapture.java:47)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.Activity.performCreate(Activity.java:5104)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.access$600(ActivityThread.java:141)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)rn07-26 18:13:19.311: E/StrictMode(13027): at android.os.Handler.dispatchMessage(Handler.java:99)rn07-26 18:13:19.311: E/StrictMode(13027): at android.os.Looper.loop(Looper.java:137)rn07-26 18:13:19.311: E/StrictMode(13027): at android.app.ActivityThread.main(ActivityThread.java:5041)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Method.invokeNative(Native Method)rn07-26 18:13:19.311: E/StrictMode(13027): at java.lang.reflect.Method.invoke(Method.java:511)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)rn07-26 18:13:19.311: E/StrictMode(13027): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)rn07-26 18:13:19.311: E/StrictMode(13027): at dalvik.system.NativeStart.main(Native Method)rn[/code]rnrn调用扫描二维码,从拍照界面返回到原来界面时,动一下就报错,求人帮忙看看这个什么错误,为何在平板上报错,在我的手机上却能正常运行
求大神帮忙看看 是哪里的错误
[img=https://img-bbs.csdn.net/upload/201511/18/1447814960_170082.png][/img]
spring 路径错误,求大神帮忙看看
idea里面报错No mapping found for HTTP request with URI [/owl_studio_account_transaction/user/loginwithphonenum.do] in DispatcherServlet with name 'spring'rn页面报错rnHTTP Status 404 -rnrntype Status reportrnrnmessagernrndescription The requested resource is not available.rnrnApache Tomcat/7.0.70rn这是哪里出了什么问题啊rnweb.xml如下:rnrn springrn org.springframework.web.servlet.DispatcherServletrn rn contextConfigLocationrn classpath:conf/*.xmlrn rn 1rn rn rn springrn *.dorn
编译Chromium遇到的错误~求大神帮忙
我是在Win7 vs2010 的环境下编译Chromium,在进行调试时遇到错误提示[img=https://img-bbs.csdn.net/upload/201311/09/1383961582_313934.png][/img]rnrn求大神帮忙解决。rn本人菜鸟一枚,最近刚开始学C++,对编译环境不太熟悉,求大神给出详细的解决方法。
求大神帮忙。WebSphere MQ 下的错误、
WebSphere MQ 调用失败,完成代码为“2”(“MQCC_FAILED”),原因为“2035”(“MQRC_NOT_AUTHORIZED”)。rnrn为队列管理器“TestPPS”提供的安全性认证无效,连接方式为“Client”,主机名为“192.168.10.124”。 请检查提供的用户名和密码在您连接至的队列管理器中是否正确rnrn系统是windows 系统
空指针错误 求大神帮忙 急
[img=https://img-bbs.csdn.net/upload/201806/25/1529913206_313148.png][/img]rn如果可以能加个微信细谈的最好 本人小白
求大神帮忙看下算法的错误
#include "stdio.h"rn#include "malloc.h"rnint maxzu(int x,int y);rntypedef struct nodern int a;rn struct node *next;rnlinknode,*link;rnlink Creatlist()rnrn int num;rn link H,r,p;rn H=(link)malloc(sizeof(linknode));rn r=H;rn printf("please put the num:");rn scanf("%d",&num);rn while (num!=35)rn rn p=(link)malloc(sizeof(linknode));rn p->a =num;r->next=p;r=p;rn printf("please put num:");rn scanf("%d",&num);rn rn r->next=NULL;rn return H;rnrnlink Adjmax(link H,int k)rnrn link p1,p2,p3;rn p1=H;rn int i=1,max[100],maxfinal,nodefinal;rn int cachevalue[100];rn cachevalue[0]=0;rn max[0]=1;rn for(int j=0;max[j]!=NULL;j++)rn rn p1=p1->next;rn p2=p1; rn for(i;i<=k;i++)rn rn p3=p2;rn cachevalue[0]+=p3->a;rn p2=p3->next;rn rn max[j]=cachevalue[0];rn rn int m;rn for(int f=1,m=max[0],n=0;f<10;f++)rn rn if (maxzu(m,max[f])>m)rn rn m=maxzu(m,max[f]);rn n=f;rn rn rn printf("序号/n值/n",n+1,m);rnrnint maxzu(int x,int y)rnrn return(x>y? x:y);rnrnrnvoid main()rnrn link L;rn L=Creatlist();rn int k;rn printf("please put the k");rn scanf("%d",k);rn Adjmax(H,k);rn
java.lang.ClassNotFoundException: com.chat.common.User错误,求大神帮忙看看
public ChatServer()rn rn try rn System.out.println("我是服务器在8888监听...");rn ServerSocket ss=new ServerSocket(8888);rn while(true)rn rn Socket s=ss.accept();rn rn //接受客户发来的信息rn ObjectInputStream ois=new ObjectInputStream(s.getInputStream());rn //User u=(User)ois.readObject();rn Object o = ois.readObject();rn System.out.println(o.getClass());rn User u = (User) o;rn System.out.println("服务器接收到的ID:"+u.getUserId()+" 密码:"+u.getPasswd());rn Message m=new Message();rn ObjectOutputStream oos=new ObjectOutputStream(s.getOutputStream());rn if(u.getPasswd().equals("123456"))rn rn rn m.setMesType("1");rn oos.writeObject(m);rn rn elsern m.setMesType("2");rn oos.writeObject(m);rn //关闭连接rn s.close();rn rn rn rn rnrnrnpublic boolean sendLoginInfoToServer(Object o)rn rn boolean b=false;rn try rn System.out.println("正在连接...");rn Socket s=new Socket("127.0.0.1",8888);rn ObjectOutputStream oos=new ObjectOutputStream(s.getOutputStream());rn User u = (User) o;rn oos.writeObject(u);rn rn ObjectInputStream ois=new ObjectInputStream(s.getInputStream());rn rn Message ms=(Message)ois.readObject();rn if(ms.getMesType().equals("1"))rn rn b=true;rn rn rn catch (Exception e) rn // TODO Auto-generated catch blockrn e.printStackTrace();rn finallyrn rn rn return b;rn rnrnrnpublic class User implements Serializablern private static final long serialVersionUID = 511142319526449270L;rn private String userId;rn private String passwd;rn public String getUserId() rn return userId;rn rn public void setUserId(String userId) rn this.userId = userId;rn rn public String getPasswd() rn return passwd;rn rn public void setPasswd(String passwd) rn this.passwd = passwd;rn rnrnpublic class Message implements java.io.Serializablern rn private String mesType;rnrn public String getMesType() rn return mesType;rn rnrn public void setMesType(String mesType) rn this.mesType = mesType;rn rnrn调用rn private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) rn // TODO add your handling code here:rn System.out.println("OK");rn// new ChatFriendList();rn// this.dispose();rn if(evt.getSource()==jButton2)rn rn ChatClientUser chatClientUser=new ChatClientUser();rn User u=new User();rn u.setUserId(jTextField1.getText().trim());rn u.setPasswd(new String(jPasswordField1.getPassword()));rn //chatClientUser.checkUser(u);rn if(chatClientUser.checkUser(u))rn rn new ChatFriendList();rn //关闭登陆界面rn this.dispose();rn elsern JOptionPane.showMessageDialog(this,"用户名或密码错误!");rn rn rn rnrn错误rnjava.lang.ClassNotFoundException: com.chat.common.Userrn at java.net.URLClassLoader$1.run(URLClassLoader.java:200)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:188)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:307)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:252)rn at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:247)rn at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)rn at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)rn at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)rn at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)rn at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)rn at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)rn at com.chat.server.model.ChatServer.(ChatServer.java:23)rn at com.chat.server.view.ServerFrame.jb1ActionPerformed(ServerFrame.java:75)rn at com.chat.server.view.ServerFrame.access$0(ServerFrame.java:71)rn at com.chat.server.view.ServerFrame$1.actionPerformed(ServerFrame.java:41)rn at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)rn at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)rn at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)rn at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)rn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)rn at java.awt.Component.processMouseEvent(Component.java:6216)rn at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)rn at java.awt.Component.processEvent(Component.java:5981)rn at java.awt.Container.processEvent(Container.java:2041)rn at java.awt.Component.dispatchEventImpl(Component.java:4583)rn at java.awt.Container.dispatchEventImpl(Container.java:2099)rn at java.awt.Component.dispatchEvent(Component.java:4413)rn at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)rn at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)rn at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)rn at java.awt.Container.dispatchEventImpl(Container.java:2085)rn at java.awt.Window.dispatchEventImpl(Window.java:2475)rn at java.awt.Component.dispatchEvent(Component.java:4413)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)rn at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)rn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
语法错误。。。具体什么错误,求大神帮忙。。。。。。。。。。。。。。。。。。
![图片说明](https://img-ask.csdn.net/upload/201603/30/1459308046_933144.png)
Eclipse出现的错误,求大神帮忙解决
013-3-10 14:37:39 org.apache.catalina.core.AprLifecycleListener initrn信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_10\bin;E:\apache-tomcat-6.0.33\binrn2013-3-10 14:37:40 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2013-3-10 14:37:40 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 364 msrn2013-3-10 14:37:40 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2013-3-10 14:37:40 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.33rn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2013-3-10 14:37:40 org.apache.catalina.core.ApplicationContext logrn信息: ContextListener: contextInitialized()rn2013-3-10 14:37:40 org.apache.catalina.core.ApplicationContext logrn信息: SessionListener: contextInitialized()rn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory luresrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2013-3-10 14:37:40 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory xinlirn2013-3-10 14:37:40 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2013-3-10 14:37:40 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2013-3-10 14:37:40 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/16 config=nullrn2013-3-10 14:37:40 org.apache.catalina.startup.Catalina startrn信息: Server startup in 834 msrn
自定义标签有关的错误,求大神帮忙解决
type Exception reportrnrnmessage The absolute uri: http://www.gdss.com.cn/mytag cannot be resolved in either web.xml or the jar files deployed with this applicationrnrndescription The server encountered an internal error that prevented it from fulfilling this request.rnrnexceptionrnrnorg.apache.jasper.JasperException: The absolute uri: http://www.gdss.com.cn/mytag cannot be resolved in either web.xml or the jar files deployed with this applicationrn org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:55)rn org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:277)rn org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:75)rn org.apache.jasper.compiler.TagLibraryInfoImpl.generateTldResourcePath(TagLibraryInfoImpl.java:243)rn org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:124)rn org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:421)rn org.apache.jasper.compiler.Parser.parseDirective(Parser.java:479)rn org.apache.jasper.compiler.Parser.parseElements(Parser.java:1435)rn org.apache.jasper.compiler.Parser.parse(Parser.java:139)rn org.apache.jasper.compiler.ParserController.doParse(ParserController.java:227)rn org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)rn org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:729)rn org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn不知道啥意思,弄了好久,我是照着视频做的,一模一样也错了
vs2013编译不过,运行不出来。求大神帮忙看看。
#includern#includernrn#define N 10rnint main()rnrn void input(int[], char name[][8]);rn void sort(int[], char name[][8]);rn void search(int, int[], char name[][8]);rn int num[N], number, flag = 1, c;rn char name[N][8];rn input(num, name);rn sort(num, name);rn while (flag == 1)rn rn printf("\n input number to look for:");rn scanf_s("%d", &number);rn search(number, num, name);rn printf("continue or not(Y/N)?");rn getchar();rn c = getchar();rn if (c == 'N' || c == 'n')rn flag = 0;rn rn system("pause");rn return 0;rnrnvoid input(int num[], char name[N][8])rnrn int i;rn for (i = 0; i < N; i++)rn rn printf("input NO.:");rn scanf_s("%d", &num[i]);rn printf("input name:");rn getchar();rn gets_s(name[i], 9);rn rnrnvoid sort(int num[], char name[N][8])rnrn int i, j, min;rn char temp2[8], temp1;rn for (i = 0; i < N - 1; i++)rn rn min = i;rn for (j = i; j < N; j++)rn if (num[min]>num[j])rn min = j;rn temp1 = num[i];rn strcpy_s(temp2, name[i], 7);rn num[i] = num[min];rn strcpy_s(name[i], name[min], 7);rn num[min] = temp1;rn strcpy_s(name[min], temp2, 7);rnrn rn printf("\n result :\n");rn for (i = 0; i < N; i++)rn printf("\n %5d%10s", num[i], name[i]);rnrnvoid search(int n, int num[], char name[N][8])rnrn int top, bott, mid, loca, sign;rn top = 0;rn bott = N - 1;rn loca = 0;rn sign = 1;rn if ((nnum[N - 1]))rn loca = -1;rn while ((sign == 1) && (top <= bott))rn rn mid = (bott + top) / 2;rn if (n == num[mid])rn rn loca = mid;rn printf("NO.%d,his name is %s.\n", n, name[loca]);rn sign = -1;rn rn else if (n < num[mid])rn bott = mid - 1;rn elsern top = mid + 1;rn rn if (sign == 1 || loca == -1)rn printf("%d not been found.\n", n);rnrnrnrnrn
帮忙:配置的数据库连接池发生错误
我的运行环境是:win2kas+tomcat5.0.20+mysql(备注:jsp+mysql运行正常)rn我配置的方法是进入进入http://localhost:8080/admin里Data Sources配置完成,rn设置信息为:rn=======================================rnJNDI Name: jdbc/mysql Data Source URL: jdbc:mysql://localhost/mywebrnJDBC Driver Class: org.gjt.mm.mysql.DriverrnUser Name:root Password:rnMax. Active Connections: 100 Max. Idle Connections:30rnMax. Wait for Connection:-1rnValidation Query:rn=======================================rn然后修改我的网页目录中的WEB-INF\web.xml,加入了以下内容:rn rn DB Connectionrn jdbc/mysqlrn javax.sql.DataSourcern Containerrn rn========================================rnJSP测试代码如下:rn<%@ page import="java.sql.*"%>rn<%@ page import="javax.sql.*"%>rn<%@ page import="javax.naming.*"%>rn<%@ page session="false" %>rn<% rn out.print("测试开始");rn DataSource ds = null;rn tryrn InitialContext ctx=new InitialContext();rn ds=(DataSource)ctx.lookup("java:comp/env/jdbc/mysql");rn Connection conn = ds.getConnection();rn Statement stmt = conn.createStatement();rn String strSql = "select * from users";rn ResultSet rs = stmt.executeQuery(strSql);rn while(rs.next())rn rn out.print(rs.getString(1)); rn rn out.print("测试结束");rn rn catch(Exception ex)rn rn out.print("出现例外,信息是:"+ex.getMessage());rn ex.printStackTrace();rn rn%>rn===============================================rn运行结果:rn 测试开始出现例外,信息是:Cannot create JDBC driver of class '' for connect URL 'null' rn==============================================rn请教各位,我该怎么解决这个问题?(JSP+MYSQL简单的JDBC结合运行正常)
做数据挖掘经常发生这个错误,求大神解答
在做数据挖掘作业的,处理关联规则挖掘模型的时候,经常时不时会出现这个错误:rnXML for Analysis 分析器: XML for Analysis 请求尚未完成就已超时。rn托管存储过程 GetItemsets 的执行因以下错误而失败: 调用的目标发生了异常。。rnrn有时候过一阵子就可以了,有时候好久都不行,不知道什么原因,好烦啊rn[img=https://img-bbs.csdn.net/upload/201311/25/1385379143_321885.png][/img]
myeclipse的错误求大神
public goodsBean getallgoodsbyno(String tablename,String no)rn goodsBean t=new goodsBean();rn tryrn con=new conndb().getcon();rn String sqlstr="select * from "+tablename+"where prodno=?";rn ps=con.prepareStatement(sqlstr);rn ps.setString(1, no);rn rs=ps.executeQuery();rn if(rs.next())rn rn t.setId(rs.getInt(1));rn t.setSectorid(rs.getInt(2));rn t.setProdno(rs.getString(3));rn t.setGoodsname(rs.getString(4));rn t.setGoodspic(rs.getString(5));rn t.setGoodsdetail(rs.getString(6));rn t.setGoodsprice(rs.getFloat(7));rn t.setBuynum(rs.getInt(8));rn rn rn catch(Exception e)rn e.printStackTrace();rn finallyrn this.close(); rn rn return t;rn rn rn这段代码中我设置断点开始查找错误的时候。发现rs=ps.executeQuery();直接跳到的捕捉异常。无法进行查找。这是为什么。我是按照书本一样打的。 我用的是mysql。和myeclipse做一个网站。错误信息:rn 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 '='901001'' at line 1rnrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:423)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.Util.getInstance(Util.java:381)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)rn at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2554)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1761)rn at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1912)rn at bean.goodsop.getallgoodsbyno(goodsop.java:82)rn at AllServlet.opServlet.doGet(opServlet.java:60)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)rnrn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1104)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)rn at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rnrn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:745)rn
求大神指出错误!!!
org.apache.jasper.JasperException: Unable to compile class for JSP: rnrnAn error occurred at line: 91 in the generated java filernThe code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limitrnrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)rn at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)rn at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)rn at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)rn at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)rn at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1169)rn at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)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 com.sinosoft.platform.web.filter.AuthorityFilter.doFilter(AuthorityFilter.java:129)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.sinosoft.platform.web.filter.SessionFilter.doFilter(SessionFilter.java:93)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.sinosoft.sysframework.web.control.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:71)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:744)rn
求大神指出错误
import java.util.Scanner;rnpublic class Textrnpublic static void main(String[] args)rnScanner in=new scanner(System.in);rnSystem.out.println("输入三个整数");rnstring (a,b,c)=in.next();rnif (a=b=c)rnSystem.out.println("这三个数相等");rnelse if(a+b+c>1000)rnSystem.out.println("这三个数之和大于1000");rnelse rnSystem.out.println("这三个数之和不大于1000");rnrnrn
ora-01114错误,求大神
select a.yljgdm,rn b.mxxmje,rn a.kfysxm,rn b.cfidh,rn (select jgjb from cencore.tb_dic_hospital where dmxdmz = a.yljgdm) as yylb,rn a.kfrqrn from CENCORE.TB_CIS_PRESCRIPTION_DETAIL a, cencore.tb_his_mz_fee_detail brn where a.yljgdm = b.yljgdmrn and a.cyh = b.cfidhrn and a.xmbm = b.mxxmbmrn
求大神,smarty错误
[code=html]rn rnrn rn rn用户: rn标题: rn内容: rnrnrn[/code]rnrn我想对表单验证,原来没有问题,但在htm加入这段javascript出现smarty错误,和smarty有什么关系啊?rnrn[img=https://img-bbs.csdn.net/upload/201504/21/1429610740_306289.png][/img]
求大神帮忙啊!!!!
Map&amp;lt;String,Map&amp;lt;String,Integer&amp;gt;&amp;gt; 里面的Map遍历出来Key重复 怎么解决
求操作系统大神帮忙
A、B两个人用QQ聊天。rnA打了一行字点击发送,B接收到后回复,然后A接收到这行回复。这期间A机器的操作系统做了什么?rn麻烦说的稍详细一点。涉及进程管理、设备管理、文件管理等,谢谢!
相关热词 c# login 居中 c# 考试软件 c# 自然语言分析 c# 分段读取文件 c# 泛型反射 c#打断点 c# 时间转多少秒 c# 线程函数加参数 c# modbus 读取 c#查询集合表