• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

JPA: Unable to configure EntityManagerFactory

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello people I'm doing an example in JPA, but I came up with a problem! Help me please!

this is my error!


this is my persistence file


this is the class that I excute.


my annotated class


Thank you guys!
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which directory is your persistence.xml?

Is desktop or web?

Maybe this post will help you: Tutorial Hibernate 3 with JPA 2
 
Leonardo Terrao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank Hebert Coelho!

I'll take a look at this tutorial!

My project is the Archiving and web pesistencia is in src / META-INF.

have a sense of what could be causing this problem?
 
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps this might help...
 
Leonardo Terrao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank Vijitha Kumara!

I auditioned here according to the link and can not resolve the problem!

Added hibernate-validator-3.0.0.jar, to my class path but it did not... Each time I am lost!

 
Vijitha Kumara
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may need to tell more details on how you run the application? Standalone mode? If so what the exact command?
 
Leonardo Terrao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Vijitha Kumara!
I just solve the problem, this is a generic error can be caused by several factors.

I got resove changing the jars, I think he had any problem with jar, so I was giving the error!


Thank you!
Leonardo TerrĂ£o
    Bookmark Topic Watch Topic
  • New Topic