-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Accessing hiberate in applets
PostPosted: Sat May 14, 2005 7:07 am 
Newbie

Joined: Mon Apr 04, 2005 11:10 pm
Posts: 6
I am trying to use hibernate in applets
but the following code gives exception: plz help me
sessionFactory = cfg.buildSessionFactory();
// cglib-full-2.0.2 jar file is already there which contains net.st.cglib files



java.lang.NoClassDefFoundError
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.ja va:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215 )
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:30 8)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
at stellar.hibernate.HibernateUtil.init(HibernateUtil.java:36)
at medtel.hibernateDao.PBABusinessObjectsDAO.<clinit>(PBABusinessObjectsDAO. java:18)
at medtel.visual.SearchTree.init(SearchTree.java:101)
at sun.applet.AppletPanel.run(AppletPanel.java:373)
at java.lang.Thread.run(Thread.java:595)
java.lang.ExceptionInInitializerError
at stellar.hibernate.HibernateUtil.init(HibernateUtil.java:40)
at medtel.hibernateDao.PBABusinessObjectsDAO.<clinit>(PBABusinessObjectsDAO. java:18)
at medtel.visual.SearchTree.init(SearchTree.java:101)
at sun.applet.AppletPanel.run(AppletPanel.java:373)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate


(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215 )
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:30 8)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
at stellar.hibernate.HibernateUtil.init(HibernateUtil.java:36)

_________________
i love u peeps!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.