Advertisement
BoberDiversant

Untitled

Jan 21st, 2020
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   .   ____          _            __ _ _
  2.  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  3. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  4.  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  5.   '  |____| .__|_| |_|_| |_\__, | / / / /
  6. =========|_|==============|___/=/_/_/_/
  7. :: Spring Boot ::        (v2.1.0.RELEASE)
  8.  
  9. 2020-01-21 11:37:07.477  INFO 7 --- [           main] t.i.client.adapters.coal.Application     : Starting Application v1.0-SNAPSHOT on small-apps9-back with PID 7 (/service.jar started by root in /)
  10. 2020-01-21 11:37:07.482  INFO 7 --- [           main] t.i.client.adapters.coal.Application     : No active profile set, falling back to default profiles: default
  11. 2020-01-21 11:37:09.065  INFO 7 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
  12. 2020-01-21 11:37:09.228  INFO 7 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 150ms. Found 2 repository interfaces.
  13. 2020-01-21 11:37:10.041  INFO 7 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.ws.config.annotation.DelegatingWsConfiguration' of type [org.springframework.ws.config.annotation.DelegatingWsConfiguration$$EnhancerBySpringCGLIB$$e66c80c7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  14. 2020-01-21 11:37:10.094  INFO 7 --- [           main] .w.s.a.s.AnnotationActionEndpointMapping : Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
  15. 2020-01-21 11:37:10.618  INFO 7 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8901 (http)
  16. 2020-01-21 11:37:10.663  INFO 7 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
  17. 2020-01-21 11:37:10.666  INFO 7 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/9.0.12
  18. 2020-01-21 11:37:10.687  INFO 7 --- [           main] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
  19. 2020-01-21 11:37:10.821  INFO 7 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
  20. 2020-01-21 11:37:10.822  INFO 7 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3176 ms
  21. 2020-01-21 11:37:10.880  INFO 7 --- [           main] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
  22. 2020-01-21 11:37:10.884  INFO 7 --- [           main] o.s.b.w.servlet.ServletRegistrationBean  : Servlet messageDispatcherServlet mapped to [/services/*]
  23. 2020-01-21 11:37:10.889  INFO 7 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
  24. 2020-01-21 11:37:10.891  INFO 7 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
  25. 2020-01-21 11:37:10.891  INFO 7 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'formContentFilter' to: [/*]
  26. 2020-01-21 11:37:10.892  INFO 7 --- [           main] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
  27. 2020-01-21 11:37:11.543  INFO 7 --- [           main] org.mongodb.driver.cluster               : Cluster created with settings {hosts=[mongo:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
  28. 2020-01-21 11:37:11.546  INFO 7 --- [           main] org.mongodb.driver.cluster               : Adding discovered server mongo:27017 to client view of cluster
  29. 2020-01-21 11:37:11.721  INFO 7 --- [l'}-mongo:27017] org.mongodb.driver.connection            : Opened connection [connectionId{localValue:1, serverValue:15741}] to mongo:27017
  30. 2020-01-21 11:37:11.734  INFO 7 --- [l'}-mongo:27017] org.mongodb.driver.cluster               : Monitor thread successfully connected to server with description ServerDescription{address=mongo:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 10]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=10017591}
  31. 2020-01-21 11:37:11.744  INFO 7 --- [l'}-mongo:27017] org.mongodb.driver.cluster               : Discovered cluster type of STANDALONE
  32. 2020-01-21 11:37:12.299  INFO 7 --- [           main] org.mongodb.driver.connection            : Opened connection [connectionId{localValue:2, serverValue:15742}] to mongo:27017
  33. 2020-01-21 11:37:12.509  WARN 7 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contactController' defined in URL [jar:file:/service.jar!/BOOT-INF/classes!/tech/ivoice/client/adapters/coal/controller/ContactController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contactServiceImpl' defined in URL [jar:file:/service.jar!/BOOT-INF/classes!/tech/ivoice/client/adapters/coal/service/impl/ContactServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'tech.ivoice.common.repository.ContactRepositoryCustom' available: expected single matching bean but found 2: contactRepositoryImpl,contactRepository
  34. 2020-01-21 11:37:12.514  INFO 7 --- [           main] org.mongodb.driver.connection            : Closed connection [connectionId{localValue:2, serverValue:15742}] to mongo:27017 because the pool has been closed.
  35. 2020-01-21 11:37:12.522  INFO 7 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
  36. 2020-01-21 11:37:12.546  INFO 7 --- [           main] ConditionEvaluationReportLoggingListener :
  37.  
  38. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  39. 2020-01-21 11:37:12.551 ERROR 7 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :
  40.  
  41. ***************************
  42. APPLICATION FAILED TO START
  43. ***************************
  44.  
  45. Description:
  46.  
  47. Parameter 2 of constructor in tech.ivoice.client.adapters.coal.service.impl.ContactServiceImpl required a single bean, but 2 were found:
  48.     - contactRepositoryImpl: defined in URL [jar:file:/service.jar!/BOOT-INF/lib/ivoice-commons-0.2.7-SNAPSHOT.jar!/tech/ivoice/common/repository/impl/ContactRepositoryImpl.class]
  49.     - contactRepository: defined in null
  50.  
  51.  
  52. Action:
  53.  
  54. Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement