ERROR [main] (ContextLoader.java:219) - Context initialization failed org.springframework.beans.fa
ERROR[main](ContextLoader.java:219)-Contextinitializationfailedorg.springframework.be...
ERROR [main] (ContextLoader.java:219) - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [com/dream_jn/pojo/Admininfo.hbm.xml] cannot be opened because it does not exist
Caused by: java.io.FileNotFoundException: class path resource [com/dream_jn/pojo/Admininfo.hbm.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:141)
at 展开
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [com/dream_jn/pojo/Admininfo.hbm.xml] cannot be opened because it does not exist
Caused by: java.io.FileNotFoundException: class path resource [com/dream_jn/pojo/Admininfo.hbm.xml] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:141)
at 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询