未生成Wro4J addons_sensitive.js

2020-09-06 10:05发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)嗨, 正确设置了addons ...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,

正确设置了addons project.properties,并具有storefront.wro4jconfigscan.orderselfserviceaddon = true。

wro_addons.xml文件已生成,并且列出了插件的js和css文件。

  /_ ui/addons/commerceorgaddon/sensitive/common/js/commerceorgnavigation.js 
    /_ ui/addons/commerceorgaddon/sensitive/common/js/commerceorgaddon.js 
    /_ ui/addons/commerceorgaddon/sensitive/common/js/jquery.validate.js 
    /_ ui/addons/consignmenttrackingaddon/sensitive/common/js/consignmenttrackingaddon.js 
    /_ ui/addons/consignmenttrackingaddon/sensitive/common/css/consignmenttrackingaddon.css 
    /_ ui/addons/smarteditaddon/shared/common/js/webApplicationInjector.js 
    /_ ui/addons/smarteditaddon/shared/common/js/reprocessPage.js 
    /_ ui/addons/smarteditaddon/shared/common/js/adjustComponentRenderingToSE.js 
    /_ ui/addons/smarteditaddon/sensitive/common/js/smarteditaddon.js 
    /_ ui/addons/smarteditaddon/sensitive/common/css/smarteditaddon.css 
    /_ ui/addons/liveeditaddon/sensitive/common/css/liveeditaddon.css 
    /_ ui/addons/textfieldconfiguratortemplateaddon/sensitive/common/js/textfieldconfiguratortemplateaddon.js 
    /_ ui/addons/textfieldconfiguratortemplateaddon/sensitive/common/css/textfieldconfiguratortemplateaddon.css 
    /_ ui/addons/customerticketingaddon/sensitive/common/js/customerticketingaddon.js 
    /_ ui/addons/customerticketingaddon/sensitive/common/css/customerticketingaddon.css 
    /_ ui/addons/captchaaddon/sensitive/common/js/captchaaddon.js 
    /_ ui/addons/assistedservicestorefront/sensitive/common/js/assistedservicestorefront.js 
    /_ ui/addons/assistedservicestorefront/sensitive/common/js/jquery.tablesorter.pager.js 
    /_ ui/addons/assistedservicestorefront/sensitive/common/js/jquery.tablesorter.min.js 
    /_ ui/addons/assistedservicestorefront/sensitive/common/js/Chart.min.js 
    /_ ui/addons/assistedservicestorefront/sensitive/common/js/asm.storefinder.js 
    /_ ui/addons/assistedservicestorefront/sensitive/common/css/assistedservicestorefront.css 
    /_ ui/addons/assistedservicestorefront/sensitive/common/css/storeFinder.css 
    /_ ui/addons/accountsummaryaddon/responding/common/js/acc.accountsummary.js 
    /_ ui/addons/secureportaladdon/sensitive/common/js/secureportaladdon.js 
    /_ ui/addons/b2bpunchoutaddon/sensitive/common/js/acc.punchout.js 
    /_ ui/addons/b2bacceleratoraddon/sensitive/common/js/acc.checkoutsummary.js 
    /_ ui/addons/b2bacceleratoraddon/sensitive/common/js/acc.paymentType.js 
    /_ ui/addons/b2bacceleratoraddon/sensitive/common/js/acc.replenishment.js 
    /_ ui/addons/b2bacceleratoraddon/sensitive/common/js/acc.orderform.js 
    /_ ui/addons/b2bacceleratoraddon/sensitive/common/js/acc.approval.js 
    /_ ui/addons/orderselfserviceaddon/sensitive/common/js/orderselfserviceaddon.js 
    /_ ui/addons/orderselfserviceaddon/sensitive/common/js/cms/cancelorderaction.js 
    /_ ui/addons/orderselfserviceaddon/sensitive/common/js/cms/returnorderaction.js 
    /_ ui/addons/orderselfserviceaddon/sensitive/common/css/orderselfserviceaddon.css 
    /_ ui/addons/adaptivesearchsamplesaddon/sensitive/common/js/adaptivesearchsamplesaddon.js 
    /_ ui/addons/adaptivesearchsamplesaddon/sensitive/common/css/adaptivesearchsamplesaddon.css 
   

  

addons_sensitive.css已生成并且可以正常工作。 但是 addons_sensitive.js 似乎存在问题,该文件未生成,当我尝试访问该文件时,返回错误404 Not Found。

我们正在使用hybris 6.4版。

1条回答
打个大熊猫
2020-09-06 10:31

我可以在您生成的wro_addons.xml中看到一些与asm相关的文件。 使用asm,PFB时我们会遇到类似的问题

  
            
            
       
  


  

从相应的属性文件中删除js文件中提到的内容,以使它们不会被包含在生成的wro_addons.xml中,并包含如上所述的那些js文件; 这些将被解压缩并加载。

一周热门 更多>