Project that imports other Netbeans projects

8

I have a project where all the Hibernate configuration part is. In the final project I will have a few more projects (Person Register for example) that will need the project that has Hibernate.

How do I correctly set up Hibernate project import in other projects?

At first the configuration I did worked, when I am programming in the Person Registration project I can access the Hibernate project classes and methods as well as access the lib classes and methods that are there configured.

The problem that when I run the application is giving classNotFound.

    
asked by anonymous 10.01.2014 / 18:10

1 answer

6

You need to create a JAR of the Hibernate project to use as a dependency in the project registration. It's easier to use Maven.

Take a look at this video, made by Yaw's Magalhães:

Maven Multi-Modules

    
10.01.2014 / 18:59