8
I have a project where is the whole part of Hibernate configuration. In the final project I will have some more projects (Personal Registration for example) that will need the project that has Hibernate.
How to properly configure the Hibernate project import in other projects?
At first the configuration I made worked, when I am programming in the Person Registration project I can access the classes and methods of the Hibernate project as well as access the classes and methods of lib that are there configured.
The problem that when I run the application is giving classNotFound.
You went to project properties in the Libraries -> Compile part and added the project where the Hibernate configuration is?
– adelmo00
Yes! I think the way will be to follow the @Nilson-Uehara tip!
– Thiago Silva
You’ll find that Maven helps a lot. Good luck! (Don’t forget to mark the answer as accepted)
– NilsonUehara