Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

No unique bean of type stack trace

By: paulCodes on Jun 21st, 2013  |  syntax: None  |  size: 18.36 KB  |  views: 185  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Jun 21, 2013 7:10:41 AM org.apache.catalina.core.AprLifecycleListener init
  2. INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\cs1115\AppData\Local\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Users\cs1115\AppData\Local\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201211011550\tomcat\bin
  3. Jun 21, 2013 7:10:41 AM org.apache.coyote.http11.Http11Protocol init
  4. INFO: Initializing Coyote HTTP/1.1 on http-8080
  5. Jun 21, 2013 7:10:41 AM org.apache.catalina.startup.Catalina load
  6. INFO: Initialization processed in 305 ms
  7. Jun 21, 2013 7:10:41 AM org.apache.catalina.core.StandardService start
  8. INFO: Starting service Catalina
  9. Jun 21, 2013 7:10:41 AM org.apache.catalina.core.StandardEngine start
  10. INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
  11. Jun 21, 2013 7:10:41 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
  12. INFO: validateJarFile(C:\Users\cs1115\Workspaces\MyEclipse 10\.metadata\.me_tcat\webapps\mona\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
  13. Jun 21, 2013 7:10:42 AM org.apache.catalina.core.ApplicationContext log
  14. INFO: Initializing Spring root WebApplicationContext
  15. 0 [main] INFO  springframework.web.context.ContextLoader  - Root WebApplicationContext: initialization started
  16. 166 [main] INFO  web.context.support.XmlWebApplicationContext  - Refreshing Root WebApplicationContext: startup date [Fri Jun 21 07:10:42 MDT 2013]; root of context hierarchy
  17. 458 [main] INFO  beans.factory.xml.XmlBeanDefinitionReader  - Loading XML bean definitions from ServletContext resource [/WEB-INF/mona-mvc.xml]
  18. 1945 [main] INFO  beans.factory.support.DefaultListableBeanFactory  - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1522de2: defining beans [ageGroupCodeDAO,baseAdjustmentCodesDAO,budgetDAO,cityCodeDAO,countyCodeDAO,currentLivingCodeDAO,domainAddonCodeDAO,domainAdjustmentCodeDAO,domainCodeDAO,fifteenZeroNineCodeDAO,focusPersonAccessDAO,focusPersonAddressDAO,focusPersonDAO,focusPersonDescriptionInfoDAO,fourteenFiftyCodeDAO,fourteenZeroNineCodeDAO,fundingCodeDAO,genderCodeDAO,geographicAdjustmentCodeDAO,jobTypeCodeDAO,legalGuardianCodeDAO,legalGuardianDAO,lifeArrangementCodeDAO,lifeArrangementNextCodeDAO,lifeChangeEventCodeDAO,lifeChangeEventDAO,monaAssessmentDAO,monaAssessmentMasterDAO,monaAssessmentSignatureCodeDAO,monaAssessmentSignatureDAO,monaQuestionMasterDAO,moveTwelveMonthsCodeDAO,payeeCodeDAO,raceCodeDAO,regionCodeDAO,registryEntriesDAO,signatureStatusCodeDAO,staffPositionDAO,staffUserDAO,stateCodeDAO,supplementalEmploymentAmountDAO,timePeriodCodeDAO,zipCodeDAO,MonaToolService,focusPersonToolController,mainController,monaToolController,userToolController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#1,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#1,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#2,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#2,viewResolver,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
  19. 1970 [main] INFO  beans.factory.support.DefaultListableBeanFactory  - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1522de2: defining beans [ageGroupCodeDAO,baseAdjustmentCodesDAO,budgetDAO,cityCodeDAO,countyCodeDAO,currentLivingCodeDAO,domainAddonCodeDAO,domainAdjustmentCodeDAO,domainCodeDAO,fifteenZeroNineCodeDAO,focusPersonAccessDAO,focusPersonAddressDAO,focusPersonDAO,focusPersonDescriptionInfoDAO,fourteenFiftyCodeDAO,fourteenZeroNineCodeDAO,fundingCodeDAO,genderCodeDAO,geographicAdjustmentCodeDAO,jobTypeCodeDAO,legalGuardianCodeDAO,legalGuardianDAO,lifeArrangementCodeDAO,lifeArrangementNextCodeDAO,lifeChangeEventCodeDAO,lifeChangeEventDAO,monaAssessmentDAO,monaAssessmentMasterDAO,monaAssessmentSignatureCodeDAO,monaAssessmentSignatureDAO,monaQuestionMasterDAO,moveTwelveMonthsCodeDAO,payeeCodeDAO,raceCodeDAO,regionCodeDAO,registryEntriesDAO,signatureStatusCodeDAO,staffPositionDAO,staffUserDAO,stateCodeDAO,supplementalEmploymentAmountDAO,timePeriodCodeDAO,zipCodeDAO,MonaToolService,focusPersonToolController,mainController,monaToolController,userToolController,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#0,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#0,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#1,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#1,org.springframework.web.servlet.resource.ResourceHttpRequestHandler#2,org.springframework.web.servlet.handler.SimpleUrlHandlerMapping#2,viewResolver,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
  20. 1972 [main] ERROR springframework.web.context.ContextLoader  - Context initialization failed
  21. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ageGroupCodeDAO': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 0
  22.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:342)
  23.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  24.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  25.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  26.         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  27.         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  28.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  29.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  30.         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
  31.         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  32.         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  33.         at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  34.         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  35.         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  36.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
  37.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
  38.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  39.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  40.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
  41.         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
  42.         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
  43.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
  44.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
  45.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
  46.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  47.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
  48.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
  49.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  50.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  51.         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  52.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  53.         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
  54.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  55.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  56.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  57.         at java.lang.reflect.Method.invoke(Method.java:597)
  58.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  59.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  60. Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 0
  61.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:537)
  62.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:496)
  63.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
  64.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
  65.         at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:159)
  66.         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  67.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
  68.         ... 37 more
  69. Jun 21, 2013 7:10:44 AM org.apache.catalina.core.StandardContext listenerStart
  70. SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
  71. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ageGroupCodeDAO': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 0
  72.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:342)
  73.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  74.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  75.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  76.         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  77.         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  78.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  79.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  80.         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
  81.         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  82.         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  83.         at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  84.         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  85.         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  86.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
  87.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
  88.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  89.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  90.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
  91.         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
  92.         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
  93.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
  94.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
  95.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
  96.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  97.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
  98.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
  99.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  100.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  101.         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  102.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  103.         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
  104.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  105.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  106.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  107.         at java.lang.reflect.Method.invoke(Method.java:597)
  108.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  109.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  110. Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [javax.persistence.EntityManagerFactory] is defined: expected single bean but found 0
  111.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:537)
  112.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:496)
  113.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
  114.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
  115.         at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:159)
  116.         at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  117.         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
  118.         ... 37 more
  119. Jun 21, 2013 7:10:44 AM org.apache.catalina.core.StandardContext start
  120. SEVERE: Error listenerStart
  121. Jun 21, 2013 7:10:44 AM org.apache.catalina.core.StandardContext start
  122. SEVERE: Context [/mona] startup failed due to previous errors
  123. Jun 21, 2013 7:10:44 AM org.apache.catalina.core.ApplicationContext log
  124. INFO: Closing Spring root WebApplicationContext
  125. Jun 21, 2013 7:10:44 AM org.apache.coyote.http11.Http11Protocol start
  126. INFO: Starting Coyote HTTP/1.1 on http-8080
  127. Jun 21, 2013 7:10:44 AM org.apache.jk.common.ChannelSocket init
  128. INFO: JK: ajp13 listening on /0.0.0.0:8009
  129. Jun 21, 2013 7:10:44 AM org.apache.jk.server.JkMain start
  130. INFO: Jk running ID=0 time=0/10  config=null
  131. Jun 21, 2013 7:10:44 AM org.apache.catalina.startup.Catalina start
  132. INFO: Server startup in 3150 ms