Boa tarde pessoal eu estou com dificuldades com o hibernete , ele mostra o seguinte erro nao sei como prosseguir , e nao tenho muita experiencia com ele , estou usando o eclipse com o oracle
[code]- Hibernate Annotations 3.3.0.GA
- Hibernate 3.2.5
- hibernate.properties not found
- Bytecode provider name : cglib
- using JDK 1.4 java.sql.Timestamp handling
- Hibernate EntityManager 3.3.1.GA
- Error parsing XML: XML InputStream(29) The end-tag for element type “persistence” must end with a ‘>’ delimiter.
Exception in thread “main” javax.persistence.PersistenceException: org.xml.sax.SAXParseException: The end-tag for element type “persistence” must end with a ‘>’ delimiter.
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:258)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
at visao.ApSetor.main(ApSetor.java:96)
Caused by: org.xml.sax.SAXParseException: The end-tag for element type “persistence” must end with a ‘>’ delimiter.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:70)
at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:89)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:215)
… 4 more[/code]
Valew Abraços para todos!!!