ورود

View Full Version : سوال: مشکل در استفاده از کلاس دیتابیس و tables



T.Master
چهارشنبه 13 اردیبهشت 1391, 20:19 عصر
با سلام. من تو نت بینس وقتی table هامو به پایگاه داده bind می کنم این ارور رو میگیرم. کسی می دونی چطور باید حلش کنم؟؟

Exception in thread "AWT-EventQueue-0" javax.persistence.PersistenceException: No Persistence provider for EntityManager named filingdbPU: Provider named oracle.toplink.essentials.PersistenceProvider threw unexpected exception at create EntityManagerFactory:
oracle.toplink.essentials.exceptions.PersistenceUn itLoadingException
Local Exception Stack:
Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.PersistenceUn itLoadingException
Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@1a46e30
Internal Exception: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EntityManager SetupException
Exception Description: predeploy for PersistenceUnit [filingdbPU] failed.
Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.PersistenceUn itLoadingException
Exception Description: An exception was thrown while loading class: filing.DB_Connect to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: java.lang.ClassNotFoundException: filing.DB_Connect
at oracle.toplink.essentials.exceptions.PersistenceUn itLoadingException.exceptionSearchingForPersistenc eResources(PersistenceUnitLoadingException.java:14 3)
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFa ctoryProvider.createEntityManagerFactory(EntityMan agerFactoryProvider.java:169)
at javax.persistence.Persistence.createEntityManagerF actory(Persistence.java:110)
at javax.persistence.Persistence.createEntityManagerF actory(Persistence.java:83)



پاگاه دادم هم mysql هستش.
با تشکر