Expand my Community achievements bar.

The first preview of our new Community upgrade is live - check it out now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

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

Avatar

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

Avatar

Correct answer by
Employee

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Give this a try by changing the dependency - 

 

<artifactId>poi-ooxml</artifactId>

 

Warm Regards,

Nidz.