Thank you for the reply.

I tried it but I'm getting " java.lang.NoClassDefFoundError:
FileCopierWithCamel"

I have tried HelloWorld example and it runs successfully (just to make sure
all environment varialbes are set properly).

I have both "dependency" folder and "chapter1-file-copy-1.0.jar" in the
"target" folder. I changed the directory to the "target" folder and applied
the following command at the command prompt:

java -cp target/dependency/*;target/chapter1-file-copy-1.0.jar
FileCopierWithCamel

Note: I have windows XP machine and "FileCopierWithCamel.class" is in
"chapter1-file-copy-1.0.jar" under a subsolder "camelinaction"

Please let me know how can I fix the issue.

--
View this message in context: 
http://camel.465427.n5.nabble.com/running-a-CAMEL-exmple-tp4881222p4885518.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to