Jon: Thanks for the replty.
I have following in the pom: (I'm using JDBC) <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jdbc</artifactId> <version>${camel-version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jdbc</artifactId> <version>2.5</version> <scope>test</scope> </dependency> And I have following in the camel-context.xml: <bean id="myDS" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="url" value="jdbc:mysql://localhost:3306/mysql" /> <property name="username" value="root" /> <property name="password" value="root" /> </bean> -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-spring-Main-class-not-found-exception-tp5025882p5026419.html Sent from the Camel - Users mailing list archive at Nabble.com.