I have my POJOs and DAOs in one maven project (Project A) And I have created a Service in another maven project collecting the DAOs I need (in Project B) And I created a third maven Project with a swing gui main class(Project C)
Project C depends on B and B depends on A.
When I declare my service(Project B) to use the functions to fetch data to the gui (Project C) I get a Java Null Pointer Exception on the Resource use of my service.
Cant the project communicate just trough dependencies or do I need some deserialization etc.?
LOGIC POJO(implements Serializable) -> DAO -> Service -> GUI