-->
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.  [ 3 posts ] 
Author Message
 Post subject: getting started with Hibernate
PostPosted: Wed Apr 07, 2004 11:05 am 
Newbie

Joined: Wed Apr 07, 2004 11:03 am
Posts: 2
Hi Friends,
I am working through my way to get started with Hibernate. I am using the tutorial at http://www.gloegl.de/8.html and I am stuck at running the application. I get the following error


D:\Hibernate>run

D:\Hibernate>D:\jdk1.3.1\jre\bin\java -classpath .\lib\hibernate2.jar;.\lib\jta.
jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\commons-co
llections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\jdbc2_0-stdext.jar;.\bin Even
tManager
Initializing Hibernate
INFO - Hibernate 2.1 final
INFO - hibernate.properties not found
INFO - using CGLIB reflection optimizer
INFO - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets
disabled
INFO - using workaround for JVM bug in java.sql.Timestamp
INFO - configuring from resource: /hibernate.cfg.xml
INFO - Configuration resource: /hibernate.cfg.xml
INFO - Mapping resource: Event.hbm.xml
INFO - Mapping class: Event -> EVENTS
INFO - Configured SessionFactory: null
INFO - processing one-to-many association mappings
INFO - processing one-to-one association property references
INFO - processing foreign key constraints
INFO - Using dialect: net.sf.hibernate.dialect.HSQLDialect
INFO - Use outer join fetching: false
INFO - Using Hibernate built-in connection pool (not for production use!)
INFO - Hibernate connection pool size: 20
INFO - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:data/test
INFO - connection properties: {user=sa, password=}
INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactor
y
INFO - No TransactionManagerLookup configured (in JTA environment, use of proce
ss level read-write cache is not recommended)
INFO - Use scrollable result sets: true
INFO - echoing all SQL to stdout
INFO - Query language substitutions: {}
INFO - cache provider: net.sf.hibernate.cache.HashtableCacheProvider
INFO - instantiating and configuring caches
INFO - building session factory
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
ource
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
va:160)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:726)
at EventManager.<init>(EventManager.java:19)
at EventManager.main(EventManager.java:27)




"

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
ource
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
va:160)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:726)
at EventManager.<init>(EventManager.java:19)
at EventManager.main(EventManager.java:27)

"
what jar files/files I need other than mentioned in the tutorial.
please help me to get started with Hibernate...

Thanks for your help and time.


Top
 Profile  
 
 Post subject: Re: getting started with Hibernate
PostPosted: Thu Apr 08, 2004 7:49 am 
Newbie

Joined: Thu Apr 08, 2004 7:32 am
Posts: 10
rahul_raj77 wrote:
Hi Friends,
I am working through my way to get started with Hibernate. I am using the tutorial at http://www.gloegl.de/8.html and I am stuck at running the application. I get the following error

[code]

what jar files/files I need other than mentioned in the tutorial.
please help me to get started with Hibernate...

Thanks for your help and time.


hello,
unfortunately i have the same problem. and i don't find the reason, too.
if you have any idea, please tell me.
thanks.
paula


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 08, 2004 8:51 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Don't cross post

_________________
Emmanuel


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

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.