cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Junit on IntelliJ fails

bhavirisetty
Active Participant
0 Likes
971

Hi All,

I am able to run test cases from localhost:9001/test and from ant commands as well, However, when I tried to run it on IntelliJ I am getting the following error.

I am running the test class by right-clicking on the test class and Run Test Class,

 Error:Hybris Model JAR Generating Compiler: @#IJIDEA#JUnitSupport#@
 BUILD FAILED
 Target "clean" does not exist in the project "platform_model_jar_generating". It is used from target "dockerfiles".
 Total time: 10 seconds

Note: I am using Hybris 1808.2 version and IntelliJ IDEA Community Edition 2019.1.3 x64 and I've installed Hybris Integration plugin as well.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi To help you I need to know more about your project setup. If you want you can open a support request https://hybris-integration.atlassian.net/servicedesk where you can privately share the information or do it here.

Questions: 1) Which version of the IDE and plugin you have? 2) Which version of the Hybris you have? 3) Do you use standard project layout e.g. like accelerator or it is something custom? 4) It would help if you record a video showing your project structure and how you import the project and how later you reproduce the error. You can share it privately in https://hybris-integration.atlassian.net/servicedesk

Thank you.