cancel
Showing results for 
Search instead for 
Did you mean: 

oms mvn install: package com.xxx.oms.domain.types does not exist

Former Member
0 Kudos

in hybris5.5.0.11, there are some strange things happen. some of them had been proven not project developers mistake.

here, I found another wired thing:

[

/oms-ext/order-management-system/order-management-api/oms-domain-objects/target/generated-sources/hybris/com/xinhua/oms/domain/ats/AtsQuantity.java:[28,35] package com.xinhua.oms.domain.types does not exist

]

in AtsQuantity.java, it try to find the "com.xinhua.oms.domain.types.Quantity"..... however, there is no package - "om.xinhua.oms.domain.types".

the reason I found is: there is the "com.hybris.oms.domain.types.Quantity".....

that means..... hybris cannot replace it to correct project related package name???

Former Member
0 Kudos

I found the reason: hybris will replace package name with ${groupid}.

so that means the trail: https://wiki.hybris.com/display/R5T/Trail+~+Installing+and+extending+OMS tells us

"groupId: org.training.oms this will define the groupId used for the generated Maven projects"
is not correct....

we should always use "com.hybris.oms" as groupid.

meanwhile, the step4:" package: org.training.oms Defines the base package for your classes" doesn't be affected, please use whatever you want.

Accepted Solutions (0)

Answers (0)