java - Eclipse Tomcat instance trying to initialize spring beans from package not in source -


i trying run tomcat 7 instance through eclipse containing war of particular package in workspace. when start exception related creation of bean in separate package (the bean not @ referenced in spring configuration or code of package deploying). why tomcat trying initialize beans separate package not included in source of tomcat instance?

context initialization failed org.springframework.beans.factory.beancreationexception: error creating bean name 'reloadandflip': invocation of init method failed; nested exception org.springframework.beans.factory.beancreationexception: 

i figured out reason why bean being instantiated because of in spring xml. sorry not pasting full contents sooner


Comments