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

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

  • May 8, 2020
  • 1 reply
  • 6424 views

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.
Best answer by nidhip010816

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.

1 reply

nidhip010816
Adobe Employee
nidhip010816Adobe EmployeeAccepted solution
Adobe Employee
May 9, 2020

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.