cancel
Showing results for 
Search instead for 
Did you mean: 

BUILD FAILED during ant clean all

dnguyen_31
Participant
0 Kudos

Hello Expert,

I am trying to install the SAP Hybris Commerce Suite with Utility Accelerator using the blog below. During the ant clean all, I received the following errors below. Any suggestion would greatly appreciate it.

https://blogs.sap.com/2017/12/11/installing-sap-hybris-commerce-suit-with-utility-accelerator/

------------------------------------Errors---------------------------------------------

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 68)

[yjavac] final FixedCheckoutFlowStrategy multiStepStrategy = new FixedChe

ckoutFlowStrategy();

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^

[yjavac] FixedCheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 43. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 68)

[yjavac] final FixedCheckoutFlowStrategy multiStepStrategy = new FixedChe

ckoutFlowStrategy();

[yjavac] ^^^^^^^^

^^^^^^^^^^^^^^^^^

[yjavac] FixedCheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 44. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 84)

[yjavac] Assert.assertEquals(CheckoutFlowEnum.MULTISTEP, strategy.getChec

koutFlow());

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 45. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 92)

[yjavac] Assert.assertEquals(CheckoutFlowEnum.MULTISTEP, strategy.getChec

koutFlow());

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 46. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 106)

[yjavac] Assert.assertEquals(CheckoutFlowEnum.MULTISTEP, strategy.getChec

koutFlow());

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 47. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 118)

[yjavac] Assert.assertEquals(CheckoutFlowEnum.MULTISTEP, strategy.getChec

koutFlow());

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 48. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\NewCustomerCheckoutFlowStrategy

Test.java (at line 128)

[yjavac] Assert.assertEquals(CheckoutFlowEnum.MULTISTEP, strategy.getChec

koutFlow());

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] ----------

[yjavac] 49. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 26)

[yjavac] import de.hybris.platform.acceleratorservices.checkout.flow.Chec

koutFlowStrategy;

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[yjavac] The import de.hybris.platform.acceleratorservices.checkout.flow cann

ot be resolved

[yjavac] ----------

[yjavac] 50. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 28)

[yjavac] import de.hybris.platform.acceleratorservices.checkout.flow.impl

.FixedCheckoutFlowStrategy;

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[yjavac] The import de.hybris.platform.acceleratorservices.checkout.flow cann

ot be resolved

[yjavac] ----------

[yjavac] 51. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 50)

[yjavac] private FixedCheckoutFlowStrategy multiStepCheckoutFlowStrategy;

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^

[yjavac] FixedCheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 52. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 52)

[yjavac] private CheckoutFlowStrategy defaultStrategy;

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 53. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 74)

[yjavac] strategy.setDefaultStrategy(defaultStrategy);

[yjavac] ^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 54. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 75)

[yjavac] strategy.setMultiStepCheckoutFlowStrategy(multiStepCheckoutFlowS

trategy);

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^

^^^^^^^

[yjavac] FixedCheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 55. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 79)

[yjavac] given(multiStepCheckoutFlowStrategy.getCheckoutFlow()).willRetur

n(CheckoutFlowEnum.MULTISTEP);

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[yjavac] FixedCheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 56. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\PickUpInStoreCheckoutFlowStrate

gyTest.java (at line 80)

[yjavac] given(defaultStrategy.getCheckoutFlow()).willReturn(CheckoutFlow

Enum.MULTISTEP);

[yjavac] ^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] ----------

[yjavac] 57. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 20)

[yjavac] import de.hybris.platform.acceleratorservices.checkout.flow.Chec

koutFlowStrategy;

[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[yjavac] The import de.hybris.platform.acceleratorservices.checkout.flow cann

ot be resolved

[yjavac] ----------

[yjavac] 58. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 38)

[yjavac] private CheckoutFlowStrategy strategy;

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 59. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 48)

[yjavac] strategy = initStrategy();

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 60. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 48)

[yjavac] strategy = initStrategy();

[yjavac] ^^^^^^^^^^^^

[yjavac] The method initStrategy() from the type SiteCheckoutFlowStrategyTest

refers to the missing type CheckoutFlowStrategy

[yjavac] ----------

[yjavac] 61. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 51)

[yjavac] protected CheckoutFlowStrategy initStrategy()

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 62. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 55)

[yjavac] final CheckoutFlowStrategy oneStub = new CheckoutFlowStrategy()

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 63. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 55)

[yjavac] final CheckoutFlowStrategy oneStub = new CheckoutFlowStrategy()

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 64. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 58)

[yjavac] public CheckoutFlowEnum getCheckoutFlow()

[yjavac] ^^^^^^^^^^^^^^^^^

[yjavac] The method getCheckoutFlow() of type new CheckoutFlowStrategy(){} mu

st override or implement a supertype method

[yjavac] ----------

[yjavac] 65. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 64)

[yjavac] final CheckoutFlowStrategy twoStub = new CheckoutFlowStrategy()

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 66. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 64)

[yjavac] final CheckoutFlowStrategy twoStub = new CheckoutFlowStrategy()

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 67. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 67)

[yjavac] public CheckoutFlowEnum getCheckoutFlow()

[yjavac] ^^^^^^^^^^^^^^^^^

[yjavac] The method getCheckoutFlow() of type new CheckoutFlowStrategy(){} mu

st override or implement a supertype method

[yjavac] ----------

[yjavac] 68. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 73)

[yjavac] final CheckoutFlowStrategy defaultStub = new CheckoutFlowStrateg

y()

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 69. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 73)

[yjavac] final CheckoutFlowStrategy defaultStub = new CheckoutFlowStrateg

y()

[yjavac] ^^^^^^^^^^^^^^^^^^^

^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 70. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 76)

[yjavac] public CheckoutFlowEnum getCheckoutFlow()

[yjavac] ^^^^^^^^^^^^^^^^^

[yjavac] The method getCheckoutFlow() of type new CheckoutFlowStrategy(){} mu

st override or implement a supertype method

[yjavac] ----------

[yjavac] 71. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 82)

[yjavac] final Map<String, CheckoutFlowStrategy> mapping = new HashMap<St

ring, CheckoutFlowStrategy>();

[yjavac] ^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 72. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 82)

[yjavac] final Map<String, CheckoutFlowStrategy> mapping = new HashMap<St

ring, CheckoutFlowStrategy>();

[yjavac]

^^^^^^^^^^^^^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 73. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 97)

[yjavac] strategy.getCheckoutFlow();

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 74. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 104)

[yjavac] strategy.getCheckoutFlow();

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 75. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 111)

[yjavac] strategy.getCheckoutFlow();

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 76. ERROR in E:\Hybris66\hybris\bin\custom\utilities\utilitiescore\t

estsrc\com\sap\utilities\core\checkout\flow\impl\SiteCheckoutFlowStrategyTest.ja

va (at line 119)

[yjavac] strategy.getCheckoutFlow();

[yjavac] ^^^^^^^^

[yjavac] CheckoutFlowStrategy cannot be resolved to a type

[yjavac] ----------

[yjavac] 76 problems (76 errors)

BUILD FAILED

E:\Hybris66\hybris\bin\platform\build.xml:20: The following error occurred while

executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\compiling.xml:90: The following er

ror occurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\compiling.xml:148: The following e

rror occurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\util.xml:20: The following error o

ccurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\compiling.xml:155: The following e

rror occurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\compiling.xml:328: The following e

rror occurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\compiling.xml:495: The following e

rror occurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\compiling.xml:557: The following e

rror occurred while executing this line:

E:\Hybris66\hybris\bin\platform\resources\ant\util.xml:91: Compile failed; see t

he compiler error output for details.

Total time: 2 minutes 20 seconds

E:\Hybris66\hybris\bin\platform>

Accepted Solutions (0)

Answers (0)