cancel
Showing results for 
Search instead for 
Did you mean: 

cloudhotfolder extension giving error during build: doTransform(Message) in AbstractTransformer

shauryagupta
Advisor
Advisor
0 Kudos
287

Hi

Please advise:

I am getting the below error while testing Cloud Hot Folder on my local machine.

/hybris-ecommerce/bin/custom/cloudhotfolder/src/de/hybris/platform/cloud/hotfolder/spring/integration/zip/CloudUnZipTransformer.java:48: error: doTransform(Message<?>) in AbstractZipTransformer cannot override doTransform(Message<?>) in AbstractTransformer

[yjavac] public class CloudUnZipTransformer extends AbstractZipTransformer

[yjavac] ^

[yjavac] overridden method does not throw Exception

[yjavac] Note: Some input files use or override a deprecated API.

[yjavac] Note: Recompile with -Xlint:deprecation for details.

[yjavac] 1 error

Hybris Version: 2105.15

JAVA Version: 11(Zulu for M1 chip)

I have tried adding the below lib to cloudhotfolder extension, but its not working

zt-zip-1.13.jar

spring-integration-zip-1.0.4.RELEASE.jar


Thanks

Shaurya

View Entire Topic
adambadura
Participant
0 Kudos

You have Hybris 2105 so you should be using spring-integration-zip version 2.0.0. You don't need to download it manually since it is managed by external-dependencies.xml.

Make sure that you have the correct version of cloudhotfolders (see SAP note 2817992 for download) and remove manually added zt-zip-1.13.jar and spring-integration-zip-1.0.4.RELEASE.jar.