So, I am setting up my first Enterprise Application project, and I have some problems with it, and I think this is some kind of configuration that I do not know about.
I have the following structure in my project:
- Application
- Application-EJB
- Application of war
The application contains two others. in my ejb I have some model classes and some persistence with some simple SQLite. In my warfare, I only have index.jsp and two classes of servlets. In these servlet classes, I'm trying to instantiate an object from EJB. When compiling, this is fine, but when I try to run, I get java.lang.ClassNotFoundException .
When I try to start the application, the Glassfish server reports the following:
INFO: visiting unvisited references INFO: visiting unvisited references SEVERE: Class [ Lbr/edu/horario/persistence/DisciplinaManager; ] not found. Error while loading [ class br.edu.horario.servlets.disciplinaServlet ] INFO: visiting unvisited references INFO: Loading application [horarioApplication
Thanks for the help!
java netbeans ejb war
Markissimo
source share