Spring framework Error: Error initializing context


I am deploying an application (spring-hibernate) in tomcat6, but it gives an error -

  ERROR org.springframework.web.context.ContextLoader - Context initialization failed
  org.springframework.beans.factory.BeanDefinitionStoreException: Failed to load bean class: com.myPackage.myProject.calendar.bpo.BusinessDirectoryBPOImpl;  nested exception is java.io.FileNotFoundException: class path resource [com / myPackage / framework / bpo / BaseBPOImpl.class] cannot be opened because it does not exist
     at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions (ConfigurationClassPostProcessor.java:180) 
......

all jar files are already in \ WEB-INF \ lib * .jar.
I am missing any class file or any jar file.
how to solve this error.
Thanks
Yugal

+2
source share
1 answer

com.myPackage.myProject.calendar.bpo.BusinessDirectoryBPOImpl looking for

 com/myPackage/framework/bpo/BaseBPOImpl.class 

which he cannot find.

Make sure that if this class is present in WEB-INF\lib in the bank or WEB-INF\classes as a class file.

+2
source

Source: https://habr.com/ru/post/1492893/


All Articles