0

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.

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.