I am getting the following compile error
enter code here [yjavac] 1. ERROR in /software/hybris504/bin/custom/dealer/gensrc/de/deutschepost/ubbrief/meinpaket/dealer/jalo/GeneratedDealer.java (at line 495)
[yjavac] final Map<String, AttributeMode> tmp = new HashMap<String, AttributeMode>(Vendor.DEFAULT_INITIAL_ATTRIBUTES);
[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[yjavac] DEFAULT_INITIAL_ATTRIBUTES cannot be resolved or is not a field
[yjavac] ----------
when migrating to 5.0.latest
The Class is generated by hybris , so i have no clue why this happens
protected static final Map<String, AttributeMode> DEFAULT_INITIAL_ATTRIBUTES;
static
{
final Map<String, AttributeMode> tmp = new HashMap<String, AttributeMode>(Vendor.DEFAULT_INITIAL_ATTRIBUTES);
the class is defined in my items xml as follows :
<itemtype code="Dealer"
jaloclass="de.deutschepost.ubbrief.meinpaket.dealer.jalo.Dealer"
autocreate="true" extends="Vendor" generate="true">
<attributes>
<attribute qualifier="dealerCompany" type="DealerCompany">
Did anyone ever have this issue or a clue why this happens ?