Skip to Content
0
Former Member
May 29, 2015 at 05:22 PM

CIS client not playing well with an extension with a webservice nature

110 Views

One of our developers recently installed some of the CIS extensions -- cisclient, ondemandcommon, cisavs, cispayment, and cisclienttest -- to our hybris project. That seemed to go well.

In parallel on a different branch of our VCS, I added an extension with a webservice nature. That also seemed to go well.

Unfortunately, when I tried to merge the two branches I ran into an issue at runtime (everything built fine).

Caused by: java.lang.LinkageError: ClassCastException: attempting to castjar:file:/path/to/project/root/hybris-custom/custom/customwebservices/web/webroot/WEB-INF/lib/jersey-core-1.13.jar!/javax/ws/rs/ext/RuntimeDelegate.classtojar:file:/path/to/project/root/hybris-platform/target/hybris/bin/ext-platform-optional/corepluscommons/lib/jersey-core-1.13.jar!/javax/ws/rs/ext/RuntimeDelegate.class

That conflict seems to be caused by automatically generated code from both extensions. Am I doing something silly here? Has anyone been able to get the CIS extensions to work with a custom extension with a webservice nature?