Sync2 Failing to Build omod

A certain implementation needs to keep it’s servers in Sync as they are being used for data collection and Entry for reporting. Sync2 looks promising as they’re already runing on Platform 2.0.5 ,however Sync2 fails to build. Has anyone come across such an error https://hastebin.com/royofofosu.pas

@ningosi @darius @SolDevelo @ssmusoke

Hi, @tendomart

What version of gson are you using?

Regards, Tomasz

@tmueller do i have to specify that ,against what is already in the pom.xml ?or better still have it installed ?

However pom.xml indicates “2.8.1”

Looks like an issue with reading a jar from .m2. A wild guess is that file permissions are wrong. Can you check who is the owner of /home/kiiza/.m2/repository/com/google/code/gson/gson/2.8.1/gson-2.8.1.jar ? Perhaps it’s root and you need to give your user the rights.

It’s also simply possible the file is corrupt - you can try deleting the /home/kiiza/.m2/repository/com/google/code/gson/gson/2.8.1/ directory and let maven to download the dependency again.

Regards, Paweł

Thanks @pgesek

Thanks it worked the /home/kiiza/.m2/repository/com/google/code/gson/gson actually had several versions ,which i think were causing the conflict.