Boa Tarde,
Alguem sabe o que é esse erro?
12/01/2011 13:12:07 org.hibernate.cfg.annotations.Version <clinit>
INFO: Hibernate Annotations 3.3.1.GA
12/01/2011 13:12:07 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
12/01/2011 13:12:07 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
12/01/2011 13:12:07 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
12/01/2011 13:12:07 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
12/01/2011 13:12:07 org.hibernate.ejb.Version <clinit>
INFO: Hibernate EntityManager 3.3.2.GA
12/01/2011 13:12:29 org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger warning
WARNING: Warning parsing XML: XML InputStream(3) schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named JpaTestePU
at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
at javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
at br.com.entidades.UsuariosJpaController.<init>(UsuariosJpaController.java:26)
at br.com.entidades.Teste.main(Teste.java:14)
Java Result: 1
OBS: Uso NetBeans, as classes são geradas por ele.
OBS2: O jar EntityManager ta no projeto já.
Obrigado.