Error creating bean with name 'sessionFactory' defined in class path resource [spring/applicationContext-hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: entity class not found: com.zking.ssh.book.entity.Module
Using ssh to develop the project, this error was reported when starting the service with tomcat. After carefully verifying the corresponding package and class mapping, the startup still reported an error.
The solution this time is to clear the cache.