Não consegui fazer com que fosse possivel criar as tabelas, sendo assim tentei cria-las manualmente e apenas popular e inserir os dados, porem continua dando o seguinte erro.
Jul 19, 2015 1:16:54 AM org.hibernate.annotations.common.Version INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final} Jul 19, 2015 1:16:54 AM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {4.1.8.Final} Jul 19, 2015 1:16:54 AM org.hibernate.cfg.Environment INFO: HHH000206: hibernate.properties not found Jul 19, 2015 1:16:54 AM org.hibernate.cfg.Environment buildBytecodeProvider INFO: HHH000021: Bytecode provider name : javassist Exception in thread "main" java.lang.ExceptionInInitializerError at br.com.caelum.livraria.dao.PopulaBanco.main(PopulaBanco.java:17) Caused by: javax.persistence.PersistenceException: Invalid persistence.xml. Error parsing XML (line-1 : column -1): cvc-complex-type.4: O atributo 'value' deve aparecer no elemento 'property'.
at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:147) at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:171) at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:324) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) at br.com.caelum.livraria.dao.JPAUtil.(JPAUtil.java:10) ... 1 more Java Result: 1
Será que alguem pode me dar uma dica de como resolver?