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.
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?