on ‎2018 Jul 05 3:57 PM
Hi Experts,
We are trying to use xmlsec-2.0.5 jar in the extension. But the platform contains xmlsec-1.4.6 and taking precedence. Is there any way to override the platform version of the jar with my own version?
Regards Rahul
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Rahul
Put the jar in a folder called customize under config. For example xmlsec-1.4.6 is under platform/lib
Then you create a the following folder hybris/config/customize/platform/lib and add your jar xmlsec-2.0.5 in this folder and run ant customize
this will copy your jar in platform lib directory, now add this jar to classpath and remove the other one. You can write your own ant task to remove the xmlsec-1.4.6.
Please keep in mind that if any code in platform is using any class from xmlsec-1.4.6, you will start getting jar conflicts or method not available kind of exceptions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.