SSH integration error: BeanCreationException: Error creating bean

created at 07-07-2021 views: 10


When you encounter an error while working on the project, record it.


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring/applicationContext-hibernate.xml]: Invocation of init method failed; nested exception is class path resource [com/zking/ssh/book/entity/Dict.hbm.xml] cannot be opened because it does not exist

This error is because there is a problem with the xml and the initialization failed when initializing the spring context.


  1. Check your configuration file for errors.
  2. Modify the configuration

The point of this error:

rename resource

created at:07-07-2021
edited at: 07-07-2021: