-
Bug
-
Resolution: Done
-
Blocker
-
fuse-7.6-ER1
When I create an integration with Mongo step on ER1, the pod is not able to start and contains the following exception:
2020-01-20 14:22:35.569 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed java.lang.NoClassDefFoundError: com/mongodb/MongoClientURI at io.syndesis.connector.mongo.MongoClientCustomizer.customize(MongoClientCustomizer.java:57) ~[connector-mongodb-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at io.syndesis.connector.mongo.MongoClientCustomizer.customize(MongoClientCustomizer.java:32) ~[connector-mongodb-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at io.syndesis.integration.runtime.handlers.HandlerCustomizer.customizeComponent(HandlerCustomizer.java:67) ~[integration-runtime-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at io.syndesis.integration.runtime.handlers.ConnectorStepHandler.handle(ConnectorStepHandler.java:125) ~[integration-runtime-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at io.syndesis.integration.runtime.IntegrationRouteBuilder.configureFlow(IntegrationRouteBuilder.java:169) ~[integration-runtime-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at io.syndesis.integration.runtime.IntegrationRouteBuilder.configure(IntegrationRouteBuilder.java:142) ~[integration-runtime-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:463) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:403) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:384) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.impl.DefaultCamelContext$3.call(DefaultCamelContext.java:1024) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.impl.DefaultCamelContext$3.call(DefaultCamelContext.java:1021) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3267) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:1021) ~[camel-core-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at io.syndesis.integration.runtime.sb.IntegrationRuntimeAutoConfiguration$1.beforeApplicationStart(IntegrationRuntimeAutoConfiguration.java:94) ~[integration-runtime-springboot-1.9.0.fuse-760010-redhat-00001.jar!/:1.9.0.fuse-760010-redhat-00001] at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:153) ~[camel-spring-boot-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.apache.camel.spring.boot.RoutesCollector.onApplicationEvent(RoutesCollector.java:57) ~[camel-spring-boot-2.23.2.fuse-760017-redhat-00001.jar!/:2.23.2.fuse-760017-redhat-00001] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:896) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161) ~[spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) ~[spring-context-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:742) [spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:389) [spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:311) [spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213) [spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202) [spring-boot-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at io.syndesis.example.Application.main(Application.java:13) [classes!/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_232] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_232] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_232] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_232] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:47) [project-0.1-SNAPSHOT.jar:na] at org.springframework.boot.loader.Launcher.launch(Launcher.java:86) [project-0.1-SNAPSHOT.jar:na] at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [project-0.1-SNAPSHOT.jar:na] at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:577) [project-0.1-SNAPSHOT.jar:na] Caused by: java.lang.ClassNotFoundException: com.mongodb.MongoClientURI at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_232] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_232] at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:92) ~[project-0.1-SNAPSHOT.jar:na] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_232] ... 39 common frames omitted
- blocks
-
ENTESB-11694 [Syndesis] MongoDB connector - GA features
- Closed
- relates to
-
ENTESB-12960 The build of the integration with MongoDB fails
- Done