[ 
https://issues.apache.org/jira/browse/CAMEL-16428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311236#comment-17311236
 ] 

Axel Wulff Sæther commented on CAMEL-16428:
-------------------------------------------

Can not share code due to customer policy, but structure is quite similar to 
code from Claus Ibsens "Camel in Action, Second Edition" Chapter 2,  Spring.

Same error there.

Provided a stripped-down project to reproduce error: 
[https://github.com/achwell/camelspringfail]

With camel-version = 2.24.3 (or less) it works. With any 2.5-version it fails.

 

> 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)

Reply via email to