jbossdemocentral / fuse-introlab

Getting Started Lab
39 stars 55 forks source link

Unable to test locally on RHEL7.3 #29

Open npatel2012 opened 6 years ago

npatel2012 commented 6 years ago

I think this issue is related to https://github.com/fabric8-quickstarts/spring-boot-camel-rest-sql/issues/136

Getting following error:

Caused by: org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: dataSource of type: javax.sql.DataSource at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:159) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:330) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:312) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:383) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:362) at org.apache.camel.component.sql.SqlComponent.createEndpoint(SqlComponent.java:61) at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:112) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:649)