在hadoop进行 randomwriter -clean操作时,出现如下异常

ubuntu@master:~$ hadoop-2.5.2/bin/hadoop jar hadoop-2.5.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.5.2.jar randomwriter -clean

15/10/10 09:11:02 INFO mapreduce.Job: Task Id : attempt_1444438284770_0001_m_000022_1, Status : FAILED
Container launch failed for container_1444438284770_0001_01_000105 : org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container.
This token is expired. current time is 1444468361668 found 1444440062016
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.instantiateException(SerializedExceptionPBImpl.java:168)
at org.apache.hadoop.yarn.api.records.impl.pb.SerializedExceptionPBImpl.deSerialize(SerializedExceptionPBImpl.java:106)
at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$Container.launch(ContainerLauncherImpl.java:155)
at org.apache.hadoop.mapreduce.v2.app.launcher.ContainerLauncherImpl$EventProcessor.run(ContainerLauncherImpl.java:369)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Mysql数据库出现如下异常
java.net.SocketException: Software caused connection abort: socket write errorrn at java.net.SocketOutputStream.socketWrite0(Native Method)rn at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)rn at java.net.SocketOutputStream.write(SocketOutputStream.java:136)rn at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)rn at java.io.BufferedOutputStream.write(BufferedOutputStream.java:110)rn at java.io.DataOutputStream.write(DataOutputStream.java:85)rn at org.gjt.mm.mysql.MysqlIO.send(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Statement.executeQuery(Statement.java)rn at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Statement.java:78)rn at com.ocamar.nms.TrapThread.trapv1process(TrapThread.java:200)rn at com.ocamar.nms.TrapThread$1.run(TrapThread.java:66)rn at java.lang.Thread.run(Thread.java:534)rnjava.sql.SQLException: Communication link failure: java.net.SocketExceptionrn at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Statement.executeQuery(Statement.java)rn at org.gjt.mm.mysql.jdbc2.Statement.executeQuery(Statement.java:78)rn at com.ocamar.nms.TrapThread.trapv1process(TrapThread.java:200)rn at com.ocamar.nms.TrapThread$1.run(TrapThread.java:66)rn at java.lang.Thread.run(Thread.java:534)rnjava.net.SocketException: Software caused connection abort: socket write errorrn at java.net.SocketOutputStream.socketWrite0(Native Method)rn at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)rn at java.net.SocketOutputStream.write(SocketOutputStream.java:136)rn at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)rn at java.io.BufferedOutputStream.write(BufferedOutputStream.java:110)rn at java.io.DataOutputStream.write(DataOutputStream.java:85)rn at org.gjt.mm.mysql.MysqlIO.send(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Statement.execute(Statement.java)rn at org.gjt.mm.mysql.jdbc2.Statement.execute(Statement.java:114)rn at com.ocamar.nms.TrapThread.trapv1process(TrapThread.java:286)rn at com.ocamar.nms.TrapThread$1.run(TrapThread.java:66)rn at java.lang.Thread.run(Thread.java:534)rnjava.sql.SQLException: Communication link failure: java.net.SocketExceptionrn at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(MysqlIO.java)rn at org.gjt.mm.mysql.MysqlIO.sqlQuery(MysqlIO.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Connection.execSQL(Connection.java)rn at org.gjt.mm.mysql.Statement.execute(Statement.java)rn at org.gjt.mm.mysql.jdbc2.Statement.execute(Statement.java:114)rn at com.ocamar.nms.TrapThread.trapv1process(TrapThread.java:286)rn at com.ocamar.nms.TrapThread$1.run(TrapThread.java:66)rn at java.lang.Thread.run(Thread.java:534)rnrnrnbtw:数据库连接是通过自己的连接池返回的,可能在查询时出现如上的异常,google里也没找到什么办法
javaAPI操作hbase时遇到如下异常
javaAPI操作hbase时遇到如下异常Caused by: com.google.protobuf.ServiceException: java.net.UnknownHostException: unknown host: luheng原因:windows本地不知道luheng对应的ip地址解决办法:修改C:\Windows\System32\drivers\etc\hosts文件添加 19...
运行出现如下异常
package MyPack;rnclass Balancern String name;rn double bal;rn rn Balance(String n,double b)rn name=n;rn bal=b;rn rn rn void show()rn if (bal<0)rn System.out.print("-->");rn System.out.println(name+":$"+bal);rn rn rnrn rnclass AccountBalancern public static void main(String args[])rn Balance current[]=new Balance[3];rnrncurrent[0]=new Balance("K.J.Fielding",123.23);rncurrent[1]=new Balance("Will Tell",157.02);rncurrent[2]=new Balance("Tom Jackson",-12.33);rnrnfor (int i=0;i<3;i++)rn current[i].show();rnrnrnrn代码运行出现如下异常:rnException in thread "main"java.lang.NoSuchMethodError:mainrnjdk配置正常,其他程序运行也正常!rn
JSONObject 出现如下异常
我从服务器端获取到json格式的字符串如下:rn[rn...,rn...,rn...rn]rnrn我要根据这个字符串创建一个JSONObject的对象,总出现异常:a jsonobject text must begin with '' at character 1rnrn看来它的意思是说应该返回的json格式对象应该不包括‘[’和']',那应该怎么处理和创建这个JSONObejct 对象呢?
clean sysgen时出现的error
SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(808) : warning C4554: '>>' : check operator precedence for possible error; use parentheses to clarify precedencernBUILD: [01:0000000195:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1166) : error C2039: 'NFM8ECC0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000197:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1167) : error C2039: 'NFM8ECC1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000199:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1168) : error C2039: 'NFM8ECC2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000201:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1169) : error C2039: 'NFM8ECC3' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000203:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1365) : error C2039: 'NFM8ECC0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000205:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1366) : error C2039: 'NFM8ECC1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000207:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1367) : error C2039: 'NFM8ECC2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000209:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1368) : error C2039: 'NFM8ECC3' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000211:WARNN ] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(1928) : warning C4090: 'function' : different 'volatile' qualifiersrnBUILD: [01:0000000212:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(2098) : error C2039: 'NF8ECCERR0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000214:WARNN ] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(2286) : warning C4090: 'function' : different 'volatile' qualifiersrnBUILD: [01:0000000215:WARNN ] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(2469) : warning C4090: 'function' : different 'volatile' qualifiersrnBUILD: [01:0000000216:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(2696) : error C2039: 'NF8ECCERR0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000218:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(2832) : error C2039: 'NF8ECCERR0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000220:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3119) : error C2039: 'NF8ECCERR0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000222:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3739) : error C2039: 'NFM8ECC0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000224:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3740) : error C2039: 'NFM8ECC1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000226:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3741) : error C2039: 'NFM8ECC2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000228:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3742) : error C2039: 'NFM8ECC3' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000230:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3812) : error C2039: 'NFM8ECC0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000232:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3813) : error C2039: 'NFM8ECC1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000234:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3814) : error C2039: 'NFM8ECC2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000236:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3815) : error C2039: 'NFM8ECC3' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000238:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3946) : error C2039: 'NFM8ECC0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000240:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3947) : error C2039: 'NFM8ECC1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000242:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3948) : error C2039: 'NFM8ECC2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000244:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3949) : error C2039: 'NFM8ECC3' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000246:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3950) : error C2039: 'NFM8ECC0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000248:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3951) : error C2039: 'NFM8ECC1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000250:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3952) : error C2039: 'NFM8ECC2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000252:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(3953) : error C2039: 'NFM8ECC3' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000254:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4083) : error C2039: 'NF8ECCERR0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000256:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4084) : error C2039: 'NF8ECCERR1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000258:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4085) : error C2039: 'NF8ECCERR2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000260:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4102) : error C2039: 'NFMLC8BITPT0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000262:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4103) : error C2039: 'NFMLC8BITPT1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000264:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4318) : error C2039: 'NF8ECCERR0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000266:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4319) : error C2039: 'NF8ECCERR1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000268:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4320) : error C2039: 'NF8ECCERR2' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000270:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4339) : error C2039: 'NFMLC8BITPT0' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000272:ERRORE] C:\WINCE600\PLATFORM\SMDK6410\SRC\WHIMORY\FIL\SMDK6410.MLC\.\S3C6410_FIL.c(4340) : error C2039: 'NFMLC8BITPT1' : is not a member of 'S3C6410_NAND_REG'rnBUILD: [01:0000000274:PROGC ] Compiling .\FIL.c
android clean时出现错误
n项目没有问题,项目用过引用过了4个库, 求解???nnnErrors occurred during the build.nErrors running builder 'Android Package Builder' on project 'android-support-v7-appcompat'.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar.nErrors running builder 'Android Package Builder' on project 'cardview'.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\cardview\bin\cardview.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\cardview\bin\cardview.jar.nProblems encountered while deleting resources.nCould not delete 'D:\workspace\cardview\bin\cardview.jar'.nProblems encountered while deleting files.nCould not delete: D:\workspace\cardview\bin\cardview.jar.nErrors running builder 'Android Package Builder' on project 'design'.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\design\bin\design.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\design\bin\design.jar.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\design\bin\design.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\design\bin\design.jar.nErrors running builder 'Android Package Builder' on project 'percent'.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\percent\bin\percent.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\percent\bin\percent.jar.nProblems encountered while deleting resources.nCould not delete 'D:\novabd\percent\bin\percent.jar'.nProblems encountered while deleting files.nCould not delete: D:\novabd\percent\bin\percent.jar.
webwork+spring+hibernate进行数据增删查改操作时出现NullPointerException异常
异常信息提示如下: java.lang.NullPointerException at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372) 此异常并不是代码编写的问题,而是hibertnate延迟加载的问题. 解决方法:设置相关映射表的lazy="false"解决问题
访问服务器程序,别且进行操作时出现的异常
rn请大家帮忙解释下,下面的错误原因rnrn“/”应用程序中的服务器错误。rn运行时错误rn说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。rnrn详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 标记。然后应将此 标记的“mode”属性设置为“Off”。rnrnrnrnrn rn rn rnrnrnrn注释: 通过修改应用程序的 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。rnrnrnrnrn rn rn rn
如何进行如下操作?
"><%#DataBinder.Eval(Container.DataItem,"Category"))%>rn这是我要输出一个Category字段和根据他的id所做的一个href连接,现在我还有一个字段为layer,现在我想做的是,我要判断这个layer的值当为0个时候,只输出>"><%#DataBinder.Eval(Container.DataItem,"Category"))%>,当layer为1的时候输出"><%#DataBinder.Eval(Container.DataItem,"Category"))%>rn请问这怎么操作
redis进行set操作时异常总结
事情经过:项目中使用redis,环境进行过一次网络迁移,之后就无法拿到redis连接。                 1、先通过ping命令排除网络原因,其实这里建议使用 telnet 命令:格式 telnet ip port,不仅能排查网络是否连通并且知道改端口号是否能脸上,以上的port指的是redis的端口号。                  以上结论是ping能ping通,但tel...
该死的常出现的异常,如下
public partial class Form2 : Formrn rn private Form1 form1;rnrn public Form2()rn rn InitializeComponent();rn rn public Form2(Form1 form)rn rn form1 = form;rn InitializeComponent();rn rnrn private void ShowForm1Text_Click(object sender, EventArgs e)rn rn MessageBox.Show(form1.MailRecvTxt.Text.Trim());rn rn为什么:MessageBox.Show(form1.MailRecvTxt.Text.Trim());rn句总是报:"未将对象引用设置到对象的实例"异常呢?
操作注册表出现的异常
private void button1_Click(object sender, System.EventArgs e)rnrn RegistryKey key = Registry.CurrentUser;rn RegistryKey key1 = key.CreateSubKey("\\SoftWare\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer");rn key1.SetValue("NoFind",1);rn key1.SetValue("NoRun",1);rn key1.SetValue("NoSetFolders",1);rn key1.Close();rnrn运行到key1这一行时出现异常:未处理的"System.IO.IOException"类型的异常出现在mscorlib.dll中。其他信息:指定的路径无效。
在weblogic 7.0中发布web.war时出现如下异常,不知为何?
<2003-4-1 下午06时19分35秒> <101250> <[ServletContext(id=3704645,rnname=web,context-path=/web)]: Servlet class com.zhengxian.webframework.MainServlrnet for servlet mainservlet could not be loaded because a class on which it depenrnds was not found in the classpath C:\bea\user_projects\mydomain\.\myserver\.wlnorntdelete\web_web_3704645\jarfiles\WEB-INF\lib\IMapServer37633.jar;C:\bea\user_prornjects\mydomain\.\myserver\.wlnotdelete\web_web_3704645\jarfiles\WEB-INF\lib\imaprn1_137634.jar;C:\bea\user_projects\mydomain\.\myserver\.wlnotdelete\web_web_37046rn45\jarfiles\WEB-INF\lib\jdom37635.jar;C:\bea\user_projects\mydomain\.\myserver\.rnwlnotdelete\web_web_3704645\jarfiles\WEB-INF\lib\msbase37636.jar;C:\bea\user_prornjects\mydomain\.\myserver\.wlnotdelete\web_web_3704645\jarfiles\WEB-INF\lib\mssqrnlserver37637.jar;C:\bea\user_projects\mydomain\.\myserver\.wlnotdelete\web_web_3rn704645\jarfiles\WEB-INF\lib\msutil37638.jar;C:\bea\user_projects\mydomain\.\mysernrver\.wlnotdelete\web_web_3704645\jarfiles\WEB-INF\lib\xerces37639.jar;C:\bea\usrner_projects\mydomain\.\myserver\.wlnotdelete\web_web_3704645\jarfiles\cls37632.jrnar.rnjava.lang.NoClassDefFoundError>rn<2003-4-1 下午06时19分35秒> <101216>
配置数据库连接时出现如下异常,请问如何解决
配置数据库连接时出现如下异常:rn"无法定位序数13016于动态连接库.PBVM90.dll",请问如何解决rn/////////////////////////////////////////////////////////////rn问题描述:rn打开PB中的 database connenct,rn然后点击右键配置new profile时,就会弹出上面的报错rnrn这样我根本不能配置数据库连接rnrn我重装过数据库,也重装过pb,但还是不能解决问题rnrn请问该如何解决rnrn
调试时出现如下错误
下了一个大型程序,按f5运行时,有如下提示:rnrn无法直接启动带有 "类库输出类型"的项目 rn若要调试此项目,请转到"项目属性" 中 "配置设置" 下 rn的 "调试" 选项卡,将"启动操作" 设置为 "启动外部程序" 或 "启动 URL" . 另一种方法是,可以将一个使用此项目引用的非库项目添加到该解决方案中,并将它设置为启动项目. rnrnrn按他提示的第一点做,但找不到相应的设置,rn第二点提示,看不明.rn应该怎样调试呀?
发邮件时出现如下错误?
java.lang.SecurityException: Access to default session deniedrn我开发环境:rn工具:JDEVELOPERrn数据库:oracle 9irn中间件:OC4Jrn有时候邮件可以正常发处,有时候出现上边错误?谁碰到过,谢谢了!
数据库恢复时出现如下错误
我的数据库可以备份可是回复的时候出现如下错误:rnjava.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]因为数据库正在使用,所以未能获得对数据库的排它访问权。rn请问怎么解决?
clean sysgen出现的问题
[img=https://img-bbs.csdn.net/upload/201404/09/1397034233_196164.png][/img]rnrn我在C:\WINCE600\PLATFORM\DEVICEEMULATOR\SRC\DRIVERS\USB\USBFN\CONTROLLER\NET2280rn文件夹里找到net2280.def,然后复制过去,clean sysgen 还是这个错误rnrn题外话——在source,bib等那些文本里 ;和# 相当于注释吗?
在连接数据库时出现了如下错误
在连接数据库时出现了如下错误:rn在建立与服务器的连接时出错。在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)rn我按照如下方法没有解决,有高手解决吗?rn刚刚安装的数据库系统,按照默认安装的话,很可能在进行远程连接时报错,通常是错误:"在连接到 SQL Server 2005 时,在默认的设置下 SQL Server 不允许进行远程连接可能会导致此失败。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接) "搜MSDN,上面有一片机器翻译的文章,是在让人难以明白,现在总结如下:明白了SQL Server是个网络数据库就可迎刃而解了,简单的分为下面的集中情况。 rnrn1. 数据库引擎没有启动。 rnrn有两种启动方式: rnrn(1)开始->程序->Microsoft SQL Server 2005->SQL Server 2005外围应用配置器,在打开的界面单击"服务的连接的外围应用配置器",在打开的界面中找到Database Engine,单击"服务",在右侧查看是否已启动,如果没有启动可单击"启动",并确保"启动类型"为自动,不要为手动,否则下次开机时又要手动启动; rnrn(2)可打开:开始->程序->Microsoft SQL Server 2005->配置工具->SQL Server Configuration Manager,选中SQL Server 2005服务中SQL Server(MSSQLSERVER) ,并单击工具栏中的"启动服务"按钮把服务状态改为启动; rnrn使用上面两种方式时,有时候在启动的时候可能会出现错误,不能启动,这时就要查看"SQL Server 2005配置管理器"中的SQL Server 2005网络配置->MSSQLSERVER协议中的VIA是否已启用,如果已启用,则把它禁止.然后再执行上述一种方式操作就可以了. rnrn2. 是否已经允许远程连接。 rnrn这个部分可以简单的分为4个方面,分别是在 SQL Server上启用远程连接、启用SQL Server 浏览服务、在Windows 防火墙中为SQL Server 2005 创建例外和在Windows 防火墙中为“SQLBrowser”创建例外。下面是几个具体的操作方式,摘自MSDN,个人觉得文章的黑体部分应当特别的一起我们的注意。 rnrnrn在SQLServer 实例上启用远程连接 rn1.指向“开始->程序->Microsoft SQL Server 2005->配置工具->SQL Server 外围应用配置器” rn2.在“SQL Server 2005 外围应用配置器”页, 单击“服务和连接的外围应用配置器” rn3.然后单击展开“数据库引擎”, 选中“远程连接”,在右边选中“本地连接和远程连接”, rn再选择要使用的协议,( 这个地方应当启用TCP/IP 和命名管道服务!)单击“应用”,您会看到下消息: rn“直到重新启动数据库引擎服务后,对连接设置所做的更改才会生效。”,单击“确定”按钮返回 rn4.展开“数据库引擎”, 选中“服务”,在右边单击“停止”,等到 MSSQLSERVER 服务停止, rn然后单击“启动”,重新启动MSSQLSERVER 服务。 rnrn启用 SQLServer 浏览器服务 rn1.指向“开始->程序->Microsoft SQL Server 2005->配置工具->SQL Server 外围应用配置器” rn2.在“SQL Server 2005 外围应用配置器”页, 单击“服务和连接的外围应用配置器” rn3.然后单击展开“SQL Server Browser”, 选中“服务”,在右边“启动类型”选择“自动”, rn再单击“启动”,单击“确定”按钮返回 rnrn在Windows 防火墙中为“SQL Server 2005”创建例外 rn1.在 Windows 防火墙设置界面中,选择“ 例外” 选项卡,然后单击“添加程序” rn2.在“添加程序窗口”中单击“浏览” rn3.然后找到“C:\ProgramFiles\Microsoft Files\Microsoft SQL Server\ MSSQL.1 \MSSQL\Binn\sqlservr.exe”, rn单击“确定”返回 rn注意 : 路径可能会根据 SQL Server 2005 安装不同而不同。 MSSQL.1 是占位符,对应数据库实例ID。 rn4.对每个需要打开远程访问的SQL Server 2005 实例,重复步骤 1 至 3。 rnrn在Windows 防火墙中为“SQLBrowser”创建例外 rn1.在 Windows 防火墙设置界面中,选择“ 例外” 选项卡,然后单击“添加程序” rn2.在“添加程序窗口”中单击“浏览” rn3.然后找到“C:\ProgramFiles\Microsoft Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe”, rn单击“确定”返回 rn注意 : 路径可能会根据 SQL Server 2005 安装不同而不同。
部署时出现如下问题
用jb9+wl8,pool和TxSource测试通过rn建了个Hello程序rn一个接口:rnpublic interface HelloWorld extends javax.ejb.EJBObject rn public void getHelloWorld() throws RemoteException;rnrn实现代码:rn public void getHelloWorld() rn /**@todo Complete this method*/rn System.out.println("Hello World!");rn rn数据源为source,这个就是所配置好的数据源(在wl8中测试通过)rn数据库在192.168.0.155,jb+wl8在192.168.0.152号机上rn从152运行jb编译通过生成Hello.jarrn想部署时出现以下问题rnUnable to connect to server t3://workflow:7001 as user EJBCONFIG.rn Reason: javax.naming.CommunicationException. Root exception is java.net.ConnectException: t3://workflow:7001: Destination unreachable; nested exception is: rn java.net.ConnectException: Connection refused: connect; No available router to destinationrn at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)rn at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)rn at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:291)rn at weblogic.jndi.Environment.getContext(Environment.java:157)rn at weblogic.jndi.Environment.getInitialContext(Environment.java:140)rn at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(MBeanHomeTool.java:151)rn at weblogic.Deployer.runBody(Deployer.java:561)rn at weblogic.utils.compiler.Tool.run(Tool.java:144)rn at weblogic.utils.compiler.Tool.run(Tool.java:101)rn at weblogic.Deployer.main(Deployer.java:413)rn Check option -adminurl, -user and -password.rn
AS clean 出现的问题
AS出现以下错误 错误:Execution failed for task ':app:clean'. > Unable to delete directory: D:\hai**\child***\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7 此时伴随一点APP就退出闪退,错误提示是找
ubuntu安装hadoop时出现的问题解决
ssh: connect to host localhost port 22: Connection refused ubuntu安装hadoop问题
使用Hadoop时出现的问题
1:运行hadoop命令是出现“Warning: $HADOOP_HOME is deprecated.”报警 解决:添加   export HADOOP_HOME_WARN_SUPPRESS=TRUE 到 hadoop-env.sh  中 2:namenode无法启动 解决:删除/tmp/hadoop* 执行bin/hadoop namenode –format 3:把某
hadoop 异常
14/10/28 11:36:20 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.rn14/10/28 11:36:20 WARN mapred.JobClient: No job jar file set. User classes may not be found. See JobConf(Class) or JobConf#setJar(String).rn14/10/28 11:36:20 INFO input.FileInputFormat: Total input paths to process : 1rn14/10/28 11:36:20 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicablern14/10/28 11:36:20 WARN snappy.LoadSnappy: Snappy native library not loadedrn14/10/28 11:36:21 INFO mapred.JobClient: Running job: job_201410272030_0002rn14/10/28 11:36:22 INFO mapred.JobClient: map 0% reduce 0%rn14/10/28 11:36:33 INFO mapred.JobClient: Task Id : attempt_201410272030_0002_m_000000_0, Status : FAILEDrnjava.lang.RuntimeException: java.lang.ClassNotFoundException: com.test.TestMapreduce$TestMaprn at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:857)rn at org.apache.hadoop.mapreduce.JobContext.getMapperClass(JobContext.java:199)rn at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:718)rn at org.apache.hadoop.mapred.MapTask.run(MapTask.java:364)rn at org.apache.hadoop.mapred.Child$4.run(Child.java:255)rn at java.security.AccessController.doPrivileged(Native Method)rn at javax.security.auth.Subject.doAs(Subject.java:396)rn at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)rn at org.apache.hadoop.mapred.Child.main(Child.java:249)rnCaused by: java.lang.ClassNotFoundException: com.test.TestMapreduce$TestMaprn at java.net.URLClassLoader$1.run(URLClassLoader.java:202)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:190)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:248)rn at java.lang.Class.forName0(Native Method)rn at java.lang.Class.forName(Class.java:247)rn at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:810)rn at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:855)rnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrn代码确定没有问题 有人说权限问题 问下权限怎么配置 有人说是要加job.setJarByClass(TestMapreduce.class); 也加了 求解答到底是什么问题
hadoop开发环境搭建时出现的一些问题
hadoop开发环境搭建时出现的一些问题         一、向eclipse添加hadoop插件时,将插件拷贝到plugs文件夹下却不起作用。     解决方法: 尝试将hadoop插件拷贝到dropins文件夹下,是否能解决问题。         二、在启动Hadoop时,出现Hadoop-daemon.sh权限不足的问题。     原因: 进入其所指的ha...
Stanford WordLadder and Randomwriter
Linux环境下写的。用了Stanford的库,wordladder以及randomwritter,仅供新手参考,有问题大家一起交流
请问进行access数据库进行操作时出现的问题如何解决
删除记录的操作会出现这样的提示:rn无法为更新定位行,一些值可能已在最后一次读取已更改rn代码是rn"beginrn With TADOQuery.Create(Application) dorn beginrn Connection := ADOConnection1;rn Close;rn sql.Clear;rn sql.Text := 'delete from Holiday where Holidayid=' + Tbholiday.FieldByName('Holidayid').AsString;rn execsql;rn end;rn Tbholiday.Delete;rn ShowMessage('删除成功!');rnend;rn"rn另一处删除操作出现提示:rnTb_UserLeave:cannot perform this operation on an emptydatasetrn代码如下rn"rnbeginrn if(MessageDlg('确认删除该员工的请假记录吗?',mtConfirmation,[mbYes,mbNo],0))=mryes thenrn beginrn with TADOQuery.Create(Application) dorn beginrn Connection := ADOConnection1;rn Close;rn sql.Clear;rn sql.Text := 'delete from UserLeave where Lsh='+ Tb_UserLeave.FieldByName('Lsh').AsString;rn execsql;rn end;rn Tb_UserLeave.close;rn Tb_UserLeave.open;rn Tb_UserLeave.Delete;rn ShowMessage('删除成功!');rnend;rnrn"rn请教各位高手如何解决rn
hadoop异常
[img=https://img-bbs.csdn.net/upload/201704/27/1493263392_226704.png][/img]rnimport java.io.IOException;rnimport java.io.StringReader;rnrnimport org.apache.hadoop.io.IntWritable;rnimport org.apache.hadoop.io.LongWritable;rnimport org.apache.hadoop.io.Text;rnimport org.apache.hadoop.mapreduce.Mapper;rnimport org.wltea.analyzer.core.IKSegmenter;rnimport org.wltea.analyzer.core.Lexeme;rnrnrn//计算每个词在该条微博中出现的次数,也就是公式中的(TF),统计N(微博总条数)rnpublic class FirstMapper extends Mapperrn protected void map(LongWritable key, Text value, Context context) throws IOException ,InterruptedException rn String[] v=value.toString().trim().split("\t");rn if(v.length>=2)rn String id=v[0].trim();rn String content=v[1].trim();rn rn StringReader sr=new StringReader(content);rn IKSegmenter ikSegmenter=new IKSegmenter(sr, true);rn Lexeme word=null;rn while((word=ikSegmenter.next())!=null)rn String w=word.getLexemeText();rn context.write(new Text(w+"_"+id), new IntWritable(1));rn rn //计算公式中的Nrn context.write(new Text("count"), new IntWritable(1));rn elsern System.out.println(value.toString()+"------------------------------");rn rn rn ;rnrnrn//=======================================================================rnimport java.io.IOException;rnrnimport org.apache.hadoop.io.IntWritable;rnimport org.apache.hadoop.io.Text;rnimport org.apache.hadoop.mapreduce.Reducer;rnrn//rnpublic class FirstReduce extends Reducerrn protected void reduce(Text key,Iterable count, Context context) throws IOException ,InterruptedException rn int sum=0;rn for(IntWritable i:count)rn sum=sum+i.get();rn rn if(key.equals(new Text("count")))rn System.out.println(key.toString()+"__________"+sum);;rn rn context.write(key, new IntWritable(sum));rn rn ;rnrn//==============================================================rnimport java.io.FileInputStream;rnimport java.io.IOException;rnrnimport org.apache.hadoop.conf.Configuration;rnimport org.apache.hadoop.examples.SecondarySort.FirstPartitioner;rnimport org.apache.hadoop.fs.Path;rnimport org.apache.hadoop.io.IntWritable;rnimport org.apache.hadoop.io.Text;rnimport org.apache.hadoop.mapreduce.Job;rnimport org.apache.hadoop.mapreduce.lib.input.FileInputFormat;rnimport org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;rnrnrnpublic class FirstJob rn public static void main(String[] args) throws ClassNotFoundException, InterruptedException rn Configuration conf=new Configuration();rn rn try rn Job job=Job.getInstance(conf,"weibo1");rn job.setJarByClass(FirstJob.class);rn //设置Map任务输出的Key和Value类型rn job.setOutputKeyClass(Text.class);rn job.setOutputValueClass(IntWritable.class);rn //设置Reduce个数rn job.setNumReduceTasks(4);rn job.setPartitionerClass(FirstPartitioner.class);rn job.setMapperClass(FirstMapper.class);rn job.setCombinerClass(FirstReduce.class);rn job.setReducerClass(FirstReduce.class);rn rn //mr运行时的输入数据从hdfs的哪个目录中获取rn FileInputFormat.addInputPath(job, new Path("/input/weibo1"));rn FileOutputFormat.setOutputPath(job, new Path("/output/weibo1"));rn boolean f=job.waitForCompletion(true);rn if(f)rn System.out.println("执行job成功");rn rn catch (IOException e) rn e.printStackTrace();rn rn rnrnrn
Hadoop的异常
java.io.IOException: Failed on local exception: java.net.SocketException: Unresolved address; Host Details : local host is: "hadoop101"; destination host is: (unknown):0; at org.apache.hadoop.net.N...
SSH在修改的时候出现如下异常
07-02 12:43:23,640 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] - rnorg.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch updatern at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)rn at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)rn at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)rn at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:92)rn at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:87)rn at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:222)rn at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2354)rn at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)rn at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)rn at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)rn at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)rn at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)rn at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142)rn at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)rn at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)rn at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)rn at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)rn at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)rn at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:575)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662)rn at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)rn at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)rn at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)rn at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:630)rn at com.lgc.lem.service.CdWellSourceManager$$EnhancerByCGLIB$$aed86caa.saveOrUpdate()rn at com.lgc.lem.action.CdWellSourceAction.update(CdWellSourceAction.java:478)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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)rn at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)rn at com.lgc.lem.action.BaseAction.execute(BaseAction.java:91)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)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.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)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.lgc.lem.filter.Validatefilter.doFilter(Validatefilter.java:47)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:228)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)rn at java.lang.Thread.run(Unknown Source)rnCaused by: java.sql.BatchUpdateException: ORA-01401: inserted value too large for columnrnrn at oracle.jdbc.dbaccess.DBError.throwBatchUpdateException(DBError.java:459)rn at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:4210)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.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)rn at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)rn at oracle.jdbc.internal.OraclePreparedStatement$$EnhancerByProxool$$1562e89.executeBatch()rn at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)rn at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)rn ... 60 morern
eclipse 连接hbase 出现如下异常??
eclipse 连接hbasernrn异常为:rnrnSLF4J: Class path contains multiple SLF4J bindings.rnSLF4J: Found binding in [jar:file:/D:/apache/hbase/hbase-0.92.1/hbase-0.92.1/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: Found binding in [jar:file:/D:/apache/hadoop/hadoop-1.0.0/hadoop-1.0.0/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]rnSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.3-1240972, built on 02/06/2012 10:48 GMTrn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:host.name=49.123.83.105rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.version=1.6.0_22rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Sun Microsystems Inc.rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.home=C:\myProgramFiles\JAVA\jdk1.6\jrern12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.class.path=D:\workSpace\eclipse3.3.001_WorkSpace\HBaseClient\bin;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\hbase-0.92.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\hbase-0.92.1-tests.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\activation-1.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\asm-3.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\avro-1.5.3.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\avro-ipc-1.5.3.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-beanutils-1.7.0.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-beanutils-core-1.8.0.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-cli-1.2.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-codec-1.4.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-collections-3.2.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-configuration-1.6.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-digester-1.8.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-el-1.0.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-httpclient-3.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-lang-2.5.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-logging-1.1.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-math-2.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\commons-net-1.4.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\core-3.1.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\guava-r01.4.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jersey-server-1.4.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jettison-1.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jetty-6.1.26.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jetty-util-6.1.26.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jruby-complete-1.6.5.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jsp-2.1-6.1.14.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\jsp-api-2.1-6.1.14.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\libthrift-0.7.0.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\log4j-1.2.16.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\netty-3.2.4.Final.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\protobuf-java-2.4.0a.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\servlet-api-2.5.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\servlet-api-2.5-6.1.14.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\slf4j-api-1.5.8.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\slf4j-log4j12-1.5.8.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\snappy-java-1.0.3.2.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\stax-api-1.0.1.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\velocity-1.7.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\xmlenc-0.52.jar;D:\apache\hbase\hbase-0.92.1\hbase-0.92.1\lib\zookeeper-3.4.3.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\asm-3.2.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\aspectjrt-1.6.5.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\aspectjtools-1.6.5.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-beanutils-1.7.0.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-beanutils-core-1.8.0.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-cli-1.2.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-codec-1.4.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-collections-3.2.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-configuration-1.6.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-daemon-1.0.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-digester-1.8.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-el-1.0.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-httpclient-3.0.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-lang-2.4.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-logging-1.1.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-logging-api-1.0.4.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-math-2.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\commons-net-1.4.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\core-3.1.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\hadoop-capacity-scheduler-1.0.0.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\hadoop-fairscheduler-1.0.0.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\hadoop-thriftfs-1.0.0.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\hsqldb-1.8.0.10.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jackson-core-asl-1.0.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jackson-mapper-asl-1.0.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jasper-compiler-5.5.12.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jasper-runtime-5.5.12.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jdeb-0.8.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jersey-core-1.8.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jersey-json-1.8.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jersey-server-1.8.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jets3t-0.6.1.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jetty-6.1.26.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jetty-util-6.1.26.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\jsch-0.1.42.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\junit-4.5.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\kfs-0.2.2.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\log4j-1.2.15.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\mockito-all-1.8.5.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\oro-2.0.8.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\servlet-api-2.5-20081211.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\slf4j-api-1.4.3.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\slf4j-log4j12-1.4.3.jar;D:\apache\hadoop\hadoop-1.0.0\hadoop-1.0.0\lib\xmlenc-0.52.jarrn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.library.path=C:\myProgramFiles\JAVA\jdk1.6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\myProgramFiles\JAVA\jdk1.6\bin\..\jre\bin\client;C:\myProgramFiles\JAVA\jdk1.6\bin\..\jre\bin;C:\Program Files\Common Files\NetSarang;C:\myProgramFiles\JAVA\jdk1.6\bin;C:\MinGW\bin;C:\oracle\oracle10\bin;C:\cygwin\bin;C:\cygwin\usr\sbin;D:\apache\ant\apache-ant-1.8.3-bin\apache-ant-1.8.3\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\SSH Communications Security\SSH Secure Shellrn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=C:\Users\myq\AppData\Local\Temp\rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:java.compiler=rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:os.name=Windows 7rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:os.arch=x86rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:os.version=6.1rn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:user.name=myqrn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:user.home=C:\Users\myqrn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Client environment:user.dir=D:\workSpace\eclipse3.3.001_WorkSpace\HBaseClientrn12/05/28 15:58:22 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=hadoop-node7:2181,hadoop-node6:2181,hadoop-node8:2181 sessionTimeout=180000 watcher=hconnectionrn12/05/28 15:58:22 INFO zookeeper.ClientCnxn: Opening socket connection to server /216.34.94.184:2181rn12/05/28 15:58:22 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 34096@myq-PCrn12/05/28 15:58:22 WARN client.ZooKeeperSaslClient: SecurityException: java.lang.SecurityException: 无法定位登录配置 occurred when trying to find JAAS configuration.rn12/05/28 15:58:22 INFO client.ZooKeeperSaslClient: Client will not SASL-authenticate because the default JAAS configuration section 'Client' could not be found. If you are not using SASL, you may ignore this. On the other hand, if you expected SASL to work, please fix your JAAS configuration.rn12/05/28 15:58:43 WARN zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnectrnjava.net.ConnectException: Connection timed out: no further informationrnat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)rnat sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)rnat org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)rnat org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1035)rnrnrn下面是测试小程序:rnrnrnrn
请问出现如下异常如何解决?
在程序运行中出现问题对话框,提示:Unhandled exception in test.exe (MSVCRTD.dll):0xC000005:Access Violation.请问如何解决?
问题:为什么出现如下异常:com.sun.tools.javac.Main is not on the classpath.
我用的是eclipse3.0+tomcat5.0.27,所有编译路径都已设置好,启动TOMCAT后可以正常进入rnhttp://localhost:8080/,但是每当进入ECLIPSE里的项目是,系统就会出现如下错误:rncom.sun.tools.javac.Main is not on the classpath.rn弄了很久也不明白,请各位指教!
asp.net 实现发邮件出现如下异常
System.Web.HttpException: 未能访问“CDO.Message”对象。 ---> System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Runtime.InteropServices.COMException (0x80040220): “SendUsing”配置值无效。 --- 内部异常堆栈跟踪的结尾 --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) at System.Web.Mail.LateBoundAccessHelper.CallMethod(Type type, Object obj, String methodName, Object[] args) at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- 内部异常堆栈跟踪的结尾 --- at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at MySite.mail.Image2_ServerClick(Object sender, ImageClickEventArgs e) in d:\visual studio.net 2003\aspnet\mysite\mail.aspx.cs:line 68 rn后台代码如下:rnprivate void Image2_ServerClick(object sender, System.Web.UI.ImageClickEventArgs e)rnrn MailMessage myEmailMessage=new MailMessage();rn myEmailMessage.From=Request.Form["fayoujianzhe"].ToString();rn myEmailMessage.To=Request.Form["shouyoujianzhe"].ToString();rn myEmailMessage.Subject=Request.Form["youjianzhuti"].ToString();rn myEmailMessage.Body=Request.Form["youjianneirong"].ToString();rn myEmailMessage.BodyFormat=MailFormat.Text;rn myEmailMessage.Priority=MailPriority.High;rn SmtpMail.SmtpServer="smtp.mail.com";//发送电子邮件的SMTP服务器的IP地址或域名 :68行rn tryrn rn SmtpMail.Send(myEmailMessage);rn rn catch(Exception ex)rn rn Response.Write(ex.ToString());rn rn rn
导出GridView成Exce出现如下异常:
异常:System.Web.HttpException: Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=serverrn主要代码如下rn //设定导出文件格式rn Response.ContentType = "application/vnd.ms~excel";rn //设定编码的方式rn Response.Charset = "gb2312";rn //关闭ViewStatern EnableViewState = false;rn StringWriter tw = new StringWriter();rn HtmlTextWriter hw = new HtmlTextWriter(tw);rn this.GridView1.RenderControl(hw);rn //把Html写回浏览器rn Response.Write(tw.ToString());rn Response.End();rn??
操作剪切板进行进程通信时,传递英文字母时出现乱码!
发送代码:rnrnvoid C进程通信剪切板发送端Dlg::OnBnClickedButton1()rnrn // TODO: 在此添加控件通知处理程序代码rn UpdateData(true);rn if(OpenClipboard()) //打开剪切板rn rn HANDLE hClip;rn char* pbuf;rn char* buf=(char *)(LPCTSTR )m_edit;rn EmptyClipboard(); //清空剪切板内容rn hClip=GlobalAlloc(GMEM_MOVEABLE,m_edit.GetLength()*2+2); //为数据分配内存rn pbuf=(char *)GlobalLock(hClip); //锁定内存块,并把句柄转换为指针rn strcpy(pbuf,buf); //放置即将传送的数据rn GlobalUnlock(hClip); //解除锁定rn SetClipboardData(CF_TEXT,hClip); //把数据放入剪切板中rn CloseClipboard(); //关闭剪切板,否则其他进程无法打开剪切板rn rn elsern rn MessageBox(L"打开剪切板失败");rn rnrn——————————————————————rnrnrn接收代码:rnrnvoid C进程通信剪切板接收端Dlg::OnBnClickedButton1()rnrn // TODO: 在此添加控件通知处理程序代码rn if(OpenClipboard())rn rn if(IsClipboardFormatAvailable(CF_TEXT))rn rn HANDLE hClip;rn LPCTSTR pbuf;rn hClip=GetClipboardData(CF_TEXT);rn pbuf=(LPCTSTR )GlobalLock(hClip);rn GlobalUnlock(hClip);rn m_edit=pbuf;rn CloseClipboard();rn rn rn else rn rn MessageBox(L"打开剪切板失败");rn rn UpdateData(false);rnrn——————————————————————rn注意上面的hClip=GlobalAlloc(GMEM_MOVEABLE,m_edit.GetLength()*2+2);rn进过测试只能是加2的时候才能正常接收中文字符;rn还有就是使用因为进行传输是出现乱码:rn如:发送:ddd一夕梦七夜rn接收为:d*㗸+耸+聸+¸爈ⵅj쁐䀞煲耀º牲७嬈䐁牲jrn
在进行左连接查询时出现如下提示,如何解决?
使用Sybase数据库是出现的问题,急等解决,Sybase那边没人回答,这边人气旺,来问问。rn在进行左连接查询或者排序时出现如下提示,如何解决?rnThe transaction log in database tempdb is almost full. Your transaction is being suspended until space is made available in the log.rn
在使用datagrid进行数据更新时出现如下错误,怎么解决?
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
进行“Restore Projects...”操作时遇到如下问题...
在进行“Restore Projects...”操作时,我选择了存档时的文件1.ssa,点“下一步”,就弹出一个窗口,写有“Incompatible compression version-15925”。请问恢复存档文件时应该是怎样做的呢?谢谢!
使用jxls时出现的异常
使用jxls时出现的异常 org.apache.poi.hssf.util.CellRangeAddress cannot be cast to java.lang.Comparabl   jxls的版本是0.9.8,如果使用0.9.9不会出现这个异常,出现这个异常的好像是mega cell时的问题,是0.9.8的一个bug。   处理方法: 1.使用0.9.9版 2.自己修改源...