May 1, 2022
Import the parent project to the IntelliJ IDEA as a new module.
First import the child project, then click , File > New > Project from existing source
and select the parent project.
Click Next, by selecting create project from existing sources.
Keep the default values and click Next.
Complete the wizard by clicking Finish, both parent and child project should be available in workspace. Child class should be able to call classes in parent project.