Skip to Content
0
Jun 30, 2019 at 02:08 PM

GeneratedAcceleratorstorefrontcommonsConstants cannot be resolved to a type

502 Views

Created the custom storefrontcommons and after replacing this new extensions and updating the extensions info xml , its giving build error to the existing acceleratorstorefrontcommons as below -

15:12:31 [yjavac] public class AcceleratorstorefrontcommonsConstants extends GeneratedAcceleratorstorefrontcommonsConstants 15:12:31 [yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15:12:31 [yjavac] GeneratedAcceleratorstorefrontcommonsConstants cannot be resolved to a type 15:12:31 [yjavac] ---------- 15:12:31 [yjavac] ---------- 15:12:31 [yjavac] 2. ERROR in /home/jenkins/build/Hybris/MAF_Hybris_Prototype_DEV4_B2B_MasterOnlyOJDB7/hybris/bin/ext-accelerator/acceleratorstorefrontcommons/src/de/hybris/platform/acceleratorstorefrontcommons/jalo/AcceleratorstorefrontcommonsManager.java (at line 18) 15:12:31 [yjavac] public class AcceleratorstorefrontcommonsManager extends GeneratedAcceleratorstorefrontcommonsManager 15:12:31 [yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15:12:31 [yjavac] GeneratedAcceleratorstorefrontcommonsManager cannot be resolved to a type 15:12:31 [yjavac] ---------- 15:12:31 [yjavac] 3. ERROR in /home/jenkins/build/Hybris/MAF_Hybris_Prototype_DEV4_B2B_MasterOnlyOJDB7/hybris/bin/ext-accelerator/acceleratorstorefrontcommons/src/de/hybris/platform/acceleratorstorefrontcommons/jalo/AcceleratorstorefrontcommonsManager.java (at line 26) 15:12:31 [yjavac] return (AcceleratorstorefrontcommonsManager) em.getExtension(AcceleratorstorefrontcommonsConstants.EXTENSIONNAME); 15:12:31 [yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15:12:31 [yjavac] Cannot cast from Extension to AcceleratorstorefrontcommonsManager 15:12:31 [yjavac] ---------- 15:12:31 [yjavac] 3 problems (3 errors) 15:12:31 15:12:31 BUILD FAILED