Skip to Content
0
Jan 05, 2017 at 06:19 AM

Issues while migrating from 5.6 to 6.2

66 Views

Hi Experts, I am facing compile issues while building my custom storefront after adding secureportaladdon . ->I am using below command to install the addon. ant addoninstall -Daddonnames="secureportaladdon" -DaddonStorefront.yacceleratorstorefront="Mystorefront" ->Addon installed successfully but causing below compile issues :

[yjavac] 1. ERROR in \hybris\bin\custom\myproject\myprojectstorefront\web\addonsrc\secureportaladdon\de\hybris\platform\secureportaladdon\controllers\AbstractB2BRegistrationController.java (at line 14)

[yjavac] import de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractLoginPageController; [yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [yjavac] The import de.hybris.platform.acceleratorstorefrontcommons.controllers.pages cannot be resolved [yjavac] ----------

[yjavac] 2. ERROR in \hybris\bin\custom\myproject\myprojectstorefront\web\addonsrc\secureportaladdon\de\hybris\platform\secureportaladdon\controllers\AbstractB2BRegistrationController.java (at line 25) [yjavac] import de.hybris.secureportaladdon.forms.RegistrationForm; [yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [yjavac] The import de.hybris.secureportaladdon cannot be resolved [yjavac] ----------

Code snippet from my code of : showing import de.hybris.platform.acceleratorstorefrontcommons.controllers.pages.AbstractLoginPageController; import com.myproject.storefront.controllers.pages.AbstractLoginPageController;

public abstract class AbstractB2BRegistrationController extends AbstractLoginPageController { //code goes here }

KIndly help me in resolving the issue.