سلام دوستان عزیز من شروع به یادگیری spring mvc کردم و در اولین برنامه ای که نوشتم با این دو ارور مواجه شدم که هرچی فکر میکنم نمیدونم مشکل از کجاست اگر میتونید کمکم کنید ممنون

org.springframework.beans.factory.UnsatisfiedDepen dencyException: Error creating bean with name 'homeController': Unsatisfied dependency expressed through field 'productDao'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sesFactory': Failed to introspec



org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sesFactory': Failed to introspect bean class [org.springframework.orm.hibernate4.LocalSessionFac toryBean] for lookup method metadata: could not find class that it depends on; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/Configurati