IncompatibleClassChangeError on EAP 7.0.5

Description

When building on EAP 7.0.5, the Arquillian integration tests fail due to a deployment error, apparently due to a change in Hibernate. EAP 7.0.4 is not affected.

Environment

None

Activity

Show:
Sean Flanigan
April 21, 2017, 7:25 AM

Apparently the version of hibernate-testing needs to match the version of hibernate-core provided by the platform. Unfortunately, that means we need one version (<= 5.0.11.Final) of hibernate-testing for WildFly 10.1 and EAP 7.0.4, but a later version (5.0.12.Final) for EAP 7.0.5.

But I think we can do without hibernate-testing by running Arquillian tests against Infinispan caches (just like production, and functional tests), which should solve the problem.

Sean Flanigan
April 21, 2017, 8:06 AM

The good news is, this shouldn't affect production deployments, only testing (because we don't deploy hibernate-testing.jar). Of course it's not good that we can't run our integration tests on the correct version of EAP.

Sean Flanigan
May 5, 2017, 6:36 AM

This is fixed in master (https://github.com/zanata/zanata-platform/pull/284) but might need back-porting to release.

Ready for Release

Assignee

Sean Flanigan

Reporter

Sean Flanigan

Tested Version/s

None

Sprint

None

Fix versions

Affects versions

Priority

High
Configure