The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

barris (1) [Avatar] Offline
Dear Michael and Jonathan:

I did just purchase your interesting book, and downloaded sample source.

However, there is a maven build error occurring when camel-core-2.7.0 or higher is used. The error does not occur with camel-core-2.5.0.

This is the error message:
[ion.FileCopierWithCamel.main()] DefaultCamelContext INFO Apache Camel 2.7.0 (CamelContext: camel-1) is shutdown in 0.015 seconds
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. null

Illegal character in opaque part at index 22: jar:file:/C:/Documents and Settings/barrdrun/.m2/repository/org/apache/camel/camel-core/2.7.0/camel-core-2.7.0.jar!/META-INF/services/org/apache/camel/TypeConverter...

Best Regards, Runo Barrdahl
davsclaus (413) [Avatar] Offline
Re: - chapter 1: error during maven execution
Hi Runo

Thanks for the interrest in the book.

I think you hit a bug in Camel 2.7.0 when using Maven having its local repository in a path on Windows with a space.

This should be fixed in the next Camel 2.8 release

The resolution is to move the Maven repository to a path without spaces.