I am working with a web project (maven), and adding by means of dependencies to my pom.xml file another maven project to use all its classes ...
What I intend to do, is to show in my web project, a page that shows a list of clients, for which I have a class called " Person ", in the project " Add Customers "and I get this object through a Remote interface as seen in the image:
So far all the good, the problem is that when I get the collection of person objects, GlassFish generates an error.
The StackTrace that appears in the GlassFish console is the following:
javax.ejb.EJBException: java.rmi.MarshalException: CORBA MARSHAL 1330446393 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: ADVERTENCIA: 00810057: Could not load class entities.Persona vmcid: OMG minor code: 57 completed: Maybe
at servicio._ClientesService_Wrapper.getClients(servicio/_ClientesService_Wrapper.java)
at controller.Nuevo.listarPersonas(Nuevo.java:53)
at controller.Nuevo.doGet(Nuevo.java:32)
**..............................................................etc**