Babak:
Thanks for the correction.
Here is what I now have in the pom:
<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>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
<version>${camel-version}</version>
</dependency>
But I'm still getting an error:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO]
Failed properties: Property 'driverClassName' threw exception; nested
exception is org.springframework.jdbc.CannotGetJdbcConnectionException:
Could not load JDBC driver class [com.mysql.jdbc.Driver]; nested exception
is java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Please tell me if I'm missing something.
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-spring-Main-class-not-found-exception-tp5025882p5026754.html
Sent from the Camel - Users mailing list archive at Nabble.com.