cancel
Showing results for 
Search instead for 
Did you mean: 

Custom extension not able to import jar from customersupportbackoffice

Former Member
0 Kudos
447

Hi Pros,

I have new extension (custom backoffice extension) which has below dependencies in extensioninfo.xml

 <requires-extension name="backoffice"/>
 <requires-extension name="customersupportbackoffice"/>

however my new extension is unable to resolve the jar from customersupportbackoffice extension.

It requires customersupportbackoffice_bof.jar from customersupportbackoffice extension but fails to import this hence there is compilation issues.

I have also added my new extension in localextension.xml and customersupportbackoffice extension as well.

Anyone who is smart enough to do resolve an issue like this?

Thank you !

View Entire Topic
pgundoju
Explorer
0 Kudos

Hi Suresh,

Please make sure you add your source files in "<extensionrootfolder>/backoffice/src" and not in "

"<extensionrootfolder>/src". With this, if you follow standard dependency configuration in extensioninfo.xml, it should work. For IDE specific issues, you may have to tweak classpath settings.

Regards,

Pavan

anshika0312
Explorer
0 Kudos

pavangundoju Thanks Pavan for your response. Let me explain my scenario in detail:

In my custom backoffice extension, i have made above mentioned changes for extensioninfo.xml but still not able to find the actions provided in JAR file customersupportbackoffice_bof inside customersupportbackoffice.

It seems Custom extension not able to import jar from customersupportbackoffice.

Please Help!!!

pgundoju
Explorer
0 Kudos

Suresh, Please provide more details. Custom extension folder structure(screenshot), extensioninfo.xml entries & your java file. This will help me to understand better.