java读取Excel报错:Exception in thread "main" java.lang.IllegalStateException: Cell A2 is not part of an array formula.

用java读取Excel里面的数据的内容时报错:Exception in thread "main" java.lang.IllegalStateException: Cell A2 is not part of an array formula.

原来写法:

 

 

解决方式:

posted @ 2020-03-03 17:26  星期7  阅读(1996)  评论(0编辑  收藏  举报