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:
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:
But my new Dynamic Web project does not have any others in this list:
So my new JPA project is not deployed in the GlassFish:
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