Thank You...
asm.jar was one of the additional JARS I needed to add.
However after adding that I also had to add
jta.jar because I was getting the following error.
Code:
Caused by: java.lang.NoClassDefFoundError: javax/transaction/SystemException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.hibernate.id.IdentifierGeneratorFactory.class$(IdentifierGeneratorFactory.java:25)
at org.hibernate.id.IdentifierGeneratorFactory.<clinit>(IdentifierGeneratorFactory.java:71)
at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:135)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:166)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1054)
at net.home.villaruz.HibernateUtil.<clinit>(HibernateUtil.java:31)
... 37 more
Anyway... for anyone else following the Getting Started, make sure you also add
asm.jar and
jta.jar
Happy Coding.
Eric Villaruz