athishsreeram commented on issue #1073: java.lang.NoSuchMethodError: com.javainuse.route.SimpleRouteBuilder.getContext()Lorg/apache/camel/model/ModelCamelContext; URL: https://github.com/apache/camel-k/issues/1073#issuecomment-557819949 It is a springboot + camel k project It has couple of Routes Expose REST by Consuming SOAP Expose REST by Consuming REST ` . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.1.10.RELEASE) 2019-11-23 12:57:21.302 INFO 3908 --- [ main] com.camelexample.main.MainApp : Starting MainApp on MCLT70586659 with PID 3908 (/Users/anharay/IdeaProjects/apache-camel-consume/target/classes started by anharay in /Users/anharay/IdeaProjects/apache-camel-consume) 2019-11-23 12:57:21.305 INFO 3908 --- [ main] com.camelexample.main.MainApp : No active profile set, falling back to default profiles: default 2019-11-23 12:57:22.544 INFO 3908 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$2e48a61f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-11-23 12:57:22.804 INFO 3908 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2019-11-23 12:57:22.836 INFO 3908 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-11-23 12:57:22.837 INFO 3908 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27] 2019-11-23 12:57:23.029 INFO 3908 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2019-11-23 12:57:23.029 INFO 3908 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1679 ms 2019-11-23 12:57:23.337 WARN 3908 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: properties 2019-11-23 12:57:23.787 INFO 3908 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2019-11-23 12:57:24.268 INFO 3908 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 2019-11-23 12:57:24.475 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootRoutesCollector : Loading additional Camel XML routes from: classpath:camel/*.xml 2019-11-23 12:57:24.476 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootRoutesCollector : Loading additional Camel XML rests from: classpath:camel-rest/*.xml 2019-11-23 12:57:24.479 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Apache Camel 3.0.0-RC3 (CamelContext: Camelk Demo) is starting 2019-11-23 12:57:24.480 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Tracing is enabled on CamelContext: Camelk Demo 2019-11-23 12:57:24.480 INFO 3908 --- [ main] o.a.c.management.JmxManagementStrategy : JMX is enabled 2019-11-23 12:57:24.980 INFO 3908 --- [ main] o.a.camel.component.http.HttpComponent : Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@5eed6dfb 2019-11-23 12:57:25.519 INFO 3908 --- [ main] o.a.c.w.s.f.ReflectionServiceFactoryBean : Creating Service {http://tempuri.org/}Calculator from WSDL: src/main/resources/service.wsdl?WSDL 2019-11-23 12:57:25.943 WARN 3908 --- [ main] o.a.c.f.AbstractWSDLBasedEndpointFactory : Could not find endpoint/port for {http://tempuri.org/}CalculatorSoapPort in wsdl. Using {http://tempuri.org/}CalculatorSoap12. 2019-11-23 12:57:26.084 INFO 3908 --- [ main] o.a.c.i.e.DefaultStreamCachingStrategy : StreamCaching in use with spool directory: /var/folders/64/18r5b2bs6899r41sgmf482qc0000gn/T/camel/camel-tmp-c164575a-53cb-49f2-8bec-c3ee606b1deb and rules: [Spool > 128K body size] 2019-11-23 12:57:26.086 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.086 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.087 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.087 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.087 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.087 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.088 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.088 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.088 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.088 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.088 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.089 INFO 3908 --- [ main] o.a.c.c.jackson.JacksonDataFormat : Found single ObjectMapper in Registry to use: com.fasterxml.jackson.databind.ObjectMapper@2c2a903f 2019-11-23 12:57:26.091 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route2 started and consuming from: direct://hello 2019-11-23 12:57:26.093 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route3 started and consuming from: direct://bye 2019-11-23 12:57:26.093 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route4 started and consuming from: direct://add 2019-11-23 12:57:26.094 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route5 started and consuming from: direct://getEmployee 2019-11-23 12:57:26.095 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route1 started and consuming from: servlet:/api-doc?httpMethodRestrict=GET&matchOnUriPrefix=true 2019-11-23 12:57:26.096 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route6 started and consuming from: servlet:/say/hello?httpMethodRestrict=GET 2019-11-23 12:57:26.096 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route7 started and consuming from: servlet:/say/bye?httpMethodRestrict=GET 2019-11-23 12:57:26.096 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route8 started and consuming from: servlet:/say/testmockupdate?httpMethodRestrict=POST 2019-11-23 12:57:26.097 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route9 started and consuming from: servlet:/say/add?httpMethodRestrict=POST 2019-11-23 12:57:26.097 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route10 started and consuming from: servlet:/say/weather/%7Bzip%7D?httpMethodRestrict=GET 2019-11-23 12:57:26.098 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Route: route11 started and consuming from: servlet:/say/emp/%7Bid%7D?httpMethodRestrict=GET 2019-11-23 12:57:26.100 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Total 11 routes, of which 11 are started 2019-11-23 12:57:26.101 INFO 3908 --- [ main] o.a.c.s.boot.SpringBootCamelContext : Apache Camel 3.0.0-RC3 (CamelContext: Camelk Demo) started in 1.622 seconds 2019-11-23 12:57:26.144 INFO 3908 --- [ main] o.a.c.c.s.CamelHttpTransportServlet : Initialized CamelHttpTransportServlet[name=CamelServlet, contextPath=] 2019-11-23 12:57:26.146 INFO 3908 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2019-11-23 12:57:26.148 INFO 3908 --- [ main] com.camelexample.main.MainApp : Started MainApp in 5.496 seconds (JVM running for 6.006)`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services