mercredi 6 janvier 2016

How to add JPA project into Web App Libraries?

I have two projects: first is JPA project (ProjectDB) and the second is Dynamic Web (ScopeSoftware) project. I added the first one into Build Path of the Dynamic Web Project. But it cannot find the class so I always catch this exception:

enter image description here

I found my old similar projects which were perfectly working. So the difference was that the old Web project has the JPA project in the list of Web App Libraries:

enter image description here

But my new Dynamic Web project does not have any others in this list:

enter image description here

So my new JPA project is not deployed in the GlassFish:

enter image description here

How can I add the JPA project to the Web App Libraries? Or there is another solution? I would appreciate any answers and help.




Aucun commentaire:

Enregistrer un commentaire