I've got this error when i try to execute my Java application with Maven and Hibernate:
"Error acessing stax stream"
The origin is my SessionFactory in my the HibernateUtils class:
The topic bellow haven't helped:
And nether any other of the same problem.
I have no idea what it could be.
Bellow the print of my main class with the console showing the error after execute:
HibernateUtils class:
My POM.xml: I know that it is very messed and with a lot of non used dependencies, but I copy this from somewhere and I don't know exacly what I can remove.