Caused by: java.lang.NullPointerException
at org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler.toClassDescriptor (ClassFileArchiveEntryHandler.java:84)
at org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler.toClassDescriptor (ClassFileArchiveEntryHandler.java:67)
at org.hibernate.boot.archive.scan.spi.ClassFileArchiveEntryHandler.handleEntry (ClassFileArchiveEntryHandler.java:53)
at org.hibernate.boot.archive.internal.ExplodedArchiveDescriptor.processDirectory (ExplodedArchiveDescriptor.java:143)
at org.hibernate.boot.archive.internal.ExplodedArchiveDescriptor.visitArchive (ExplodedArchiveDescriptor.java:54)
at org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.scan (AbstractScannerImpl.java:47)
at org.hibernate.boot.model.process.internal.ScanningCoordinator.coordinateScan (ScanningCoordinator.java:76)
at org.hibernate.boot.model.process.spi.MetadataBuildingProcess.prepare (MetadataBuildingProcess.java:98)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init> (EntityManagerFactoryBuilderImpl.java:242)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init> (EntityManagerFactoryBuilderImpl.java:175)
at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder (Bootstrap.java:76)
at org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilder (HibernatePersistenceProvider.java:171)
at org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull (HibernatePersistenceProvider.java:119)
at org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull (HibernatePersistenceProvider.java:61)
at org.hibernate.tool.internal.metadata.JpaMetadataDescriptor$PersistenceProvider.getEntityManagerFactoryBuilder (JpaMetadataDescriptor.java:41)
at org.hibernate.tool.internal.metadata.JpaMetadataDescriptor.createEntityManagerFactoryBuilder (JpaMetadataDescriptor.java:56)
at org.hibernate.tool.internal.metadata.JpaMetadataDescriptor.<init> (JpaMetadataDescriptor.java:22)
at org.hibernate.tool.api.metadata.MetadataDescriptorFactory.createJpaDescriptor (MetadataDescriptorFactory.java:24)
at org.hibernate.tool.ant.JPAConfigurationTask.createMetadataDescriptor (JPAConfigurationTask.java:27)
at org.hibernate.tool.ant.ConfigurationTask.getMetadataDescriptor (ConfigurationTask.java:49)
at org.hibernate.tool.ant.HibernateToolTask.getMetadataDescriptor (HibernateToolTask.java:282)
at org.hibernate.tool.ant.HibernateToolTask.getProperties (HibernateToolTask.java:298)
at org.hibernate.tool.ant.Hbm2DDLExporterTask.createExporter (Hbm2DDLExporterTask.java:52)
at org.hibernate.tool.ant.ExporterTask.execute (ExporterTask.java:38)
at org.hibernate.tool.ant.HibernateToolTask.execute (HibernateToolTask.java:174)