Exception in thread "main" org.hibernate.MappingException: component property not found: id
at org.hibernate.mapping.Component.getProperty(Component.java:292)
at org.hibernate.cfg.AnnotationBinder.fillComponent(AnnotationBinder.java:2455)
at org.hibernate.cfg.AnnotationBinder.fillComponent(AnnotationBinder.java:2336)
at org.hibernate.cfg.AnnotationBinder.bindComponent(AnnotationBinder.java:2285)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:2021)
at org.hibernate.cfg.AnnotationBinder.processIdPropertiesIfNotAlready(AnnotationBinder.java:796)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:707)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3977)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3931)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1368)
at org.hibernate.cfg.Configuration.generateDropSchemaScript(Configuration.java:972)
at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:130)
at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:92)
at dst1.Main.dst01(Main.java:58)
at dst1.Main.main(Main.java:29)