co mo eu posso conectar no postgresql estou perdido, eu criei o banco, mas nao consigo acessar pela aplicação. o erro que aparece:
fev 06, 2019 8:38:10 AM org.hibernate.jpa.boot.internal.PersistenceXmlParser doResolve
INFO: HHH000318: Could not find any META-INF/persistence.xml file in the classpath
Exception in thread "main" java.lang.ExceptionInInitializerError
at br.com.caelum.financas.teste.TesteConta.main(TesteConta.java:20)
Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named financas
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:85)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)
at br.com.caelum.financas.util.JPAUtil.<clinit>(JPAUtil.java:10)
... 1 more
se alguem puder me ajudar fico grato pq estou bem perdido