cancel
Showing results for 
Search instead for 
Did you mean: 

hybris fails to start after deleting extention customersupportbackoffice

0 Kudos

Hello,

we are using hybris 6.7.0.1. Since we don't need the extention customersupportbackoffice we deleted it by setting this in hybris/config/localextensions.xml.config:

 customersupportbackoffice=false

But after deployment with this changes, hybris is not starting because of the following exception:

[java] Caused by: java.lang.NoClassDefFoundError: org/springframework/integration/history/TrackableComponent [java] at java.lang.ClassLoader.defineClass1(Native Method) [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

Please see the attached file --> exception <-- for the full exception.

Actually, the class TrackableComponent is in the spring-integration-core-4.3.19.RELEASE.d is in package

org.springframework.integration.support.management

But why is hybris searching for it under org/springframework/integration/history/TrackableComponent ? How can we solve the problem?

Many thanks in advance!

Sven

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Thank you very much!

former_member620692
Active Contributor
0 Kudos

You are most welcome.

Answers (2)

Answers (2)

0 Kudos

Yes, indeed, we had an old version of the spring-integration-jms (4.1.4.RELEASE) jar. Upgraded to 4.3.19.RELEASE (the version of our rest spring-integration jars) and it seems to work.

former_member620692
Active Contributor
0 Kudos

Instead of putting customersupportbackoffice=false into hybris/config/localextensions.xml.config, you can simply comment out customersupportbackoffice in localextensions.xml and it will work for you.

Update based on your clarification:
Please check if https://stackoverflow.com/questions/34683309/with-spring-boot-and-integration-dsl-getting-error-clas... helps.

0 Kudos

Thanks Arvind but this approach won't work - server/hybris/config/localextensions.xml is being generated on the hybris build, based on the/localextensions.xml.config. So changing the generated file would change nothing. Do you have another ideas?

former_member620692
Active Contributor
0 Kudos

You mean the generated localexensions.xml does not have customersupportbackoffice. Can you please check if there are any extensions which depend on customersupportbackoffice?

0 Kudos

No, unfortunately no other extension depends on customersupportbackoffice. What could be the reason that TrackableComponent.clas cannot be found on start ? Ist there a workaround?