alguém pode me ajudar? quando tento inserir um autor pela web está dando esse erro: ype Exception report
message javax.persistence.PersistenceException: [PersistenceUnit: livraria] Unable to build EntityManagerFactory
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.persistence.PersistenceException: [PersistenceUnit: livraria] Unable to build EntityManagerFactory javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) root cause
javax.faces.el.EvaluationException: javax.persistence.PersistenceException: [PersistenceUnit: livraria] Unable to build EntityManagerFactory javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101) com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:101) javax.faces.component.UICommand.broadcast(UICommand.java:315) javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:791) javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1256) com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)