WelcomeProcessor is creating a new instance of hibernateClass. Since hibernateClass is using the Session class, welcomeprocessor is indirectly dependent on Session. Include the hibernate jar in your war file.
Thanks!
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
posted
0
i am using eclips.
i added the hibernate3.jar to lib folder at WEB-INF.
anyway now nullpointer exception
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
posted
0
session null means it is not created the sessionFactory .why it is not created ?
this is my hbm file
this is my config file
anarkali perera
Ranch Hand
Joined: Sep 10, 2009
Posts: 237
posted
0
i think there is some confuse with generato element in hbm file.because there is no any long values in object.All are String .then i add generator as String .is it wrong?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.