-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate
PostPosted: Wed Apr 07, 2004 1:19 pm 
Newbie

Joined: Wed Apr 07, 2004 11:03 am
Posts: 2
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)

It seems that jaxp.jar is not available on my box, am I right?
If anyone has idea why I got this error, pls help me.

THanks,


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

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
sounds like you don't have xml-apis.jar in your CP

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.