Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Shakthi1
Level 4
Level 4

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)

 

1 Accepted Solution
nidhip010816
Correct answer by
Employee
Employee

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.

View solution in original post

1 Reply
nidhip010816
Correct answer by
Employee
Employee

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.

View solution in original post