java.lang.NoSuchMethodError: org.apache.poi.ss.usermodel.CellStyle.setAlignment | Community
Skip to main content
Level 4
May 8, 2020 3:50 PM UTC
Solved

java.lang.NoSuchMethodError: org.apache.poi.ss.usermodel.CellStyle.setAlignment

At run time when excel is downlaod the below error is displayed.This was woring fine in AEM6.4.0 but with AEM6.4.7  below error displayed.

This was the dependency used.Please can you advsie the jar version.

<artifactId>com.adobe.granite.poi</artifactId>
<version>2.0.22</version> 

 

 

 

 

java.lang.NoSuchMethodError: org.apache.poi.ss.usermodel.CellStyle.setAlignment(S)V
	a)

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
nidhip010816
nidhip010816Accepted solution
Employee
May 9, 2020 7:53 PM UTC

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.

1 reply

nidhip010816
nidhip010816Accepted solution
Employee
May 9, 2020 7:53 PM UTC

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.

Translate