Initial Session factory createion Errornet/sf/cglib/proxy/CallbackFilter Exception in thread "main" java.lang.ExceptionInInitializerError at com.javastoreroom.session.HIbernateUtil.caused by the missing library – cglib.jar add cglib.jar in lib folder either include cglib.jar in java build path .(HIbernateUtil.java:21) at com.javastoreroom.DAOImpl.XmlServicesImpl.validateTokenHere(XmlServicesImpl.java:29) at com.javastoreroom.source.XmlReader.main(XmlReader.java:37) Caused by: java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter at org.hibernate.bytecode.cglib.BytecodeProviderImpl.getProxyFactoryFactory(BytecodeProviderImpl.java:33) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactoryInternal(PojoEntityTuplizer.java:182) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:160) at org.hibernate.tuple.entity.AbstractEntityTuplizer. (AbstractEntityTuplizer.java:135) at org.hibernate.tuple.entity.PojoEntityTuplizer. (PojoEntityTuplizer.java:55) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping. (EntityEntityModeToTuplizerMapping.java:56) at org.hibernate.tuple.entity.EntityMetamodel. (EntityMetamodel.java:302) at org.hibernate.persister.entity.AbstractEntityPersister. (AbstractEntityPersister.java:434) at org.hibernate.persister.entity.SingleTableEntityPersister. (SingleTableEntityPersister.java:109) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) at org.hibernate.impl.SessionFactoryImpl. (SessionFactoryImpl.java:226) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) at com.gwtech.session.HIbernateUtil. (HIbernateUtil.java:18) ... 2 more Caused by: java.lang.ClassNotFoundException: net.sf.cglib.proxy.CallbackFilter at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 16 more
HOPE This Help You :)
No comments:
Post a Comment