Ola, por favor, uma ajuda aqui. Obrigada.
Exception
javax.servlet.ServletException: java.lang.ExceptionInInitializerError javax.faces.webapp.FacesServlet.service(FacesServlet.java:671) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
Root Cause
java.lang.ExceptionInInitializerError br.com.caelum.livraria.dao.UsuarioDao.existe(UsuarioDao.java:13) br.com.caelum.livraria.bean.LoginBean.efetuaLogin(LoginBean.java:25) ....
Root Cause
javax.persistence.PersistenceException: [PersistenceUnit: livraria] Unable to build EntityManagerFactory org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) ..
Root Cause
org.hibernate.HibernateException: Error applying BeanValidation relational constraints org.hibernate.cfg.beanvalidation.BeanValidationIntegrator.applyRelationalConstraints(BeanValidationIntegrator.java:219) ..
Root Cause
java.lang.reflect.InvocationTargetException java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
....
Root Cause
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:41)