SAP Knowledge Base Article - Preview

2275504 - Error when installing chinaaccelerator

Symptom

When installing chinaaccelerator using the installer in version 5.7 after running command install.bat -r china_acc initialize this error appears in console:

 

 [echo] copyAddOnToExtension addOnExtension=chinacheckoutaddon addOnResource=/web/src/ target=chinatrailstorefront
     [echo] Compile addonsrc chinatrailstorefront - chinacheckoutaddon
   [yjavac] Compiling 8 source files to K:\hy57\hybris\bin\custom\chinatrail\chinatrailstorefront\web\webroot\WEB-INF\classes
   [yjavac] ----------
   [yjavac] 1. ERROR in K:\hy57\hybris\bin\custom\chinatrail\chinatrailstorefront\web\addonsrc\chinacheckoutaddon\de\hybris\platform\chinaaccelerator\storefront\checkout\controllers\alipay\mock\AlipayMockWebController.java (at line 23)
   [yjavac] 	import de.hybris.platform.ychinaaccelerator.storefront.util.CSRFRequestDataValueProcessor;
   [yjavac] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [yjavac] The import de.hybris.platform.ychinaaccelerator cannot be resolved
   [yjavac] ----------
   [yjavac] 2. ERROR in K:\hy57\hybris\bin\custom\chinatrail\chinatrailstorefront\web\addonsrc\chinacheckoutaddon\de\hybris\platform\chinaaccelerator\storefront\checkout\controllers\alipay\mock\AlipayMockWebController.java (at line 669)
   [yjavac] 	final CSRFRequestDataValueProcessor proc = new CSRFRequestDataValueProcessor();
   [yjavac] 	      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [yjavac] CSRFRequestDataValueProcessor cannot be resolved to a type
   [yjavac] ----------
   [yjavac] 3. ERROR in K:\hy57\hybris\bin\custom\chinatrail\chinatrailstorefront\web\addonsrc\chinacheckoutaddon\de\hybris\platform\chinaaccelerator\storefront\checkout\controllers\alipay\mock\AlipayMockWebController.java (at line 669)
   [yjavac] 	final CSRFRequestDataValueProcessor proc = new CSRFRequestDataValueProcessor();
   [yjavac] 	                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [yjavac] CSRFRequestDataValueProcessor cannot be resolved to a type
   [yjavac] ----------
   [yjavac] 3 problems (3 errors)
:recipes/china_acc:initialize FAILED

Read more...

Environment

Hybris version: 5.7

Database: MySql 5.5

Operating system: Windows 

Product

SAP hybris Commerce 5.7

Keywords

customized,  China Electronics Store,  modulegen,china_acc initialize, installer,  CSRFRequestDataValueProcessor, chinatrail, AlipayMockWebController , KBA , CEC-COM-CPS-COR , CPS Core (SAP Commerce) , CEC-COM-CPS , Commerce Platform & Suite (SAP Commerce) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.