Estou com um erro na hora de abrir uma aba do meu sistema.
Descrição do problema + print:
Type Exception Report
Message An exception occurred processing JSP page [/relatorio.jsp] at line [32]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing JSP page [/relatorio.jsp] at line [32]
29: Selecione o curso:
30: <select id="idCurso" name="idCurso">
31: <%
32: List<Curso> cursos = new CursoManager().recuperarCursosPorAtributo("nome", "%");
33: for (Curso curso : cursos) {%>
34: <option value="<%= curso.getId() %>">
35: <%= curso.getNome() %>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:466)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
javax.servlet.ServletException: java.lang.ExceptionInInitializerError
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:909)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:838)
org.apache.jsp.relatorio_jsp._jspService(relatorio_jsp.java:197)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.ExceptionInInitializerError
unioeste.geral.util.HibernateUtil.<clinit>(HibernateUtil.java:29)
unioeste.geral.dao.CursoDAO.buscarCursosPorAtributo(CursoDAO.java:35)
unioeste.geral.manager.CursoManager.recuperarCursosPorAtributo(CursoManager.java:10)
org.apache.jsp.relatorio_jsp._jspService(relatorio_jsp.java:159)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="unioeste.geral.bo.Aluno"/>
org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1648)
org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1603)
org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1582)
org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1556)
org.hibernate.cfg.Configuration.configure(Configuration.java:1476)
org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
unioeste.geral.util.HibernateUtil.<clinit>(HibernateUtil.java:25)
unioeste.geral.dao.CursoDAO.buscarCursosPorAtributo(CursoDAO.java:35)
unioeste.geral.manager.CursoManager.recuperarCursosPorAtributo(CursoManager.java:10)
org.apache.jsp.relatorio_jsp._jspService(relatorio_jsp.java:159)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Alguem tem ideia do que possa ser?
Lembrando que já troquei do Tom cat para glassfish e o problema permanece.