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,