java读写excel是报错
Exceptioninthread"main"java.lang.ArrayIndexOutOfBoundsExceptionatjava.lang.System.arr...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jxl.biff.StringHelper.getBytes(StringHelper.java:127)
at jxl.write.biff.WriteAccessRecord.<init>(WriteAccessRecord.java:59)
at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:726)
at excel.Test.getExcelStream(Test.java:45)
at excel.Test.main(Test.java:99)
执行之后报错Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jxl.biff.StringHelper.getBytes(StringHelper.java:127)
at jxl.write.biff.WriteAccessRecord.<init>(WriteAccessRecord.java:59)
at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:726)
at excel.Test.getExcelStream(Test.java:45)
at excel.Test.main(Test.java:99) 展开
at java.lang.System.arraycopy(Native Method)
at jxl.biff.StringHelper.getBytes(StringHelper.java:127)
at jxl.write.biff.WriteAccessRecord.<init>(WriteAccessRecord.java:59)
at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:726)
at excel.Test.getExcelStream(Test.java:45)
at excel.Test.main(Test.java:99)
执行之后报错Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jxl.biff.StringHelper.getBytes(StringHelper.java:127)
at jxl.write.biff.WriteAccessRecord.<init>(WriteAccessRecord.java:59)
at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:726)
at excel.Test.getExcelStream(Test.java:45)
at excel.Test.main(Test.java:99) 展开
3个回答
2013-08-15
展开全部
狗子,你这挺纠结的,一、没有源代码,谁知道你到底什么意思,很多时候错误是一致的,附加上源码吧。 二、你给的分太少了,你也太抠门了吧,也就我可怜可怜你给你看看,可惜你没源码,我看个球啊。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-08-15
展开全部
这是一个下标越界的异常,由JAVA编译器抛出的这个异常,你看看的的数组,下标妥妥的越界了。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询