[
https://issues.apache.org/jira/browse/CAMEL-16428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311324#comment-17311324
]
Claus Ibsen commented on CAMEL-16428:
-------------------------------------
You can add camel-spring as dependency to the plugin
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
<version>2.25.3</version>
</dependency>
</dependencies>
</plugin>
> camel-maven-plugin failing on Camel 2.25.x
> ------------------------------------------
>
> Key: CAMEL-16428
> URL: https://issues.apache.org/jira/browse/CAMEL-16428
> Project: Camel
> Issue Type: Bug
> Components: camel-spring
> Affects Versions: 2.5.0
> Reporter: Axel Wulff Sæther
> Priority: Minor
> Fix For: 2.25.4
>
>
> *_mvn camel:run_* results in a error: "*java.lang.ClassNotFoundException:
> org.apache.camel.spring.Main*" although camel-spring is on the classpath.
>
> Worked in versions up to 2.24.3, fails with 2.25.0, 2.25.1, 2.25.2, 2.25.3
> Upgrading to 3.x is not yet an option.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)