Answer the question
In order to leave comments, you need to log in
What's wrong with connecting to postgres via jpa?
I started developing a project to work with a database. I chose hibernate via jpa. When connected, it throws an exception Unable to build Unable to build entity manager factory. Tell me what to do!
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
This exception says that:
a) jpa.xml not found
b) hibernate.xml not found
c) Any error in POJO or DAO classes.
d) Strongly depends on the context, for example in spring it can also mean errors in the bean configuration.
I can say more if I see the full stack trace.
For such questions, you need to attach a configuration. Show jpa config files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question