I have a Program entity in a com.axelor.program.db package and a Contact entity in a com.axelor.contact.db package. I’m trying to create a one-to-many field on my own for my own understanding. This is the Contact entity from the quick tutorial.
In the Program entity, I’m trying to add :
and in the Contact entity I’m trying to add :
I get the following error :
error: package com.axelor.program.db does not exist
import com.axelor.program.db.Program;
^
When I try to put Contact and Program in the same module, and change the FQNs to just entity names, I get the following error:
error: cannot find symbol
private Program program;
^
symbol: class Program
location: class Contact