开发者

java.lang.NoSuchMethodError: org.apache.poi.util.IOUtils.copy(Ljava/io/InputStream;Ljava/io/OutputStream;)

I am trying to read the xmlsx file using poi API, when开发者_开发问答 i execute the code in my local system its executes fine but in server it throws exception

NoSuchMethodError: org.apache.poi.util.IOUtils.copy(Ljava/io/InputStream;Ljava/io/OutputStream;)

i am currently using the latest POI api.


Looks like there also is an earlier version of POI on the classpath in which that method did not exist yet. See this question in the POI FAQ.


It might be a problem with transitive dependencies or a conflict with existing libraries in the servlet container your deploying in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜