| Joined: Mon Dec 31, 2007 2:03 am
 Posts: 1
 Location: mumbai
 | 
				
					| Hello Everyone,
 I am very new to this technology and i m getting loads of error while i m trying to configure Hibernate with jdk 1.5 :(. Could any one please tell me how to configure jdk 1.5 and hibernate 3 on window xp.
 
 I Have downloaded hibernate3.xx from website and put all the necessary .jar files in the classpath/lib/ folder . I also have created all the required .xml  files.
 
 But when I am trying to compile java classes for the same its giving me error mentioned below
 
 "F:\Java\jdk1.5.0_14\src>javac -d . *.java
 EventEg.java:3: package org.hibernate does not exist
 import org.hibernate.Session;
 ^
 EventEg.java:4: package org.hibernate does not exist
 import org.hibernate.SessionFactory;
 ^
 EventEg.java:5: package org.hibernate.cfg does not exist
 import org.hibernate.cfg.Configuration;
 ^
 EventEg.java:13: cannot find symbol
 symbol  : class Session
 location: class events.EventEg
 Session session = null;
 ^
 EventEg.java:17: cannot find symbol
 symbol  : class SessionFactory
 location: class events.EventEg
 SessionFactory sessionFactory = new Configuration().conf
 igure().buildSessionFactory();
 ^
 EventEg.java:17: cannot find symbol
 symbol  : class Configuration
 location: class events.EventEg
 SessionFactory sessionFactory = new Configuration().conf
 igure().buildSessionFactory();
 ^
 EventEg.java:21: setId(long) in events.Event cannot be applied to (java.lang.Str
 ing)
 evnt.setId("20");
 ^
 7 errors
 "
 Please help me out in this issue.
 
 Regards
 Neil M
 
 
 |  |