Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.1.0.RELEASE)
- 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 /)
- 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
- 2020-01-21 11:37:09.065 INFO 7 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
- 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.
- 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)
- 2020-01-21 11:37:10.094 INFO 7 --- [ main] .w.s.a.s.AnnotationActionEndpointMapping : Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
- 2020-01-21 11:37:10.618 INFO 7 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8901 (http)
- 2020-01-21 11:37:10.663 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2020-01-21 11:37:10.666 INFO 7 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/9.0.12
- 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]
- 2020-01-21 11:37:10.821 INFO 7 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 2020-01-21 11:37:10.822 INFO 7 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3176 ms
- 2020-01-21 11:37:10.880 INFO 7 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/]
- 2020-01-21 11:37:10.884 INFO 7 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Servlet messageDispatcherServlet mapped to [/services/*]
- 2020-01-21 11:37:10.889 INFO 7 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2020-01-21 11:37:10.891 INFO 7 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2020-01-21 11:37:10.891 INFO 7 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'formContentFilter' to: [/*]
- 2020-01-21 11:37:10.892 INFO 7 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 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}
- 2020-01-21 11:37:11.546 INFO 7 --- [ main] org.mongodb.driver.cluster : Adding discovered server mongo:27017 to client view of cluster
- 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
- 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}
- 2020-01-21 11:37:11.744 INFO 7 --- [l'}-mongo:27017] org.mongodb.driver.cluster : Discovered cluster type of STANDALONE
- 2020-01-21 11:37:12.299 INFO 7 --- [ main] org.mongodb.driver.connection : Opened connection [connectionId{localValue:2, serverValue:15742}] to mongo:27017
- 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
- 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.
- 2020-01-21 11:37:12.522 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
- 2020-01-21 11:37:12.546 INFO 7 --- [ main] ConditionEvaluationReportLoggingListener :
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 2020-01-21 11:37:12.551 ERROR 7 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
- ***************************
- APPLICATION FAILED TO START
- ***************************
- Description:
- Parameter 2 of constructor in tech.ivoice.client.adapters.coal.service.impl.ContactServiceImpl required a single bean, but 2 were found:
- - 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]
- - contactRepository: defined in null
- Action:
- 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