Hi

The path to your spring config should match the expression
"META-INF/spring/*.xml". For example:

 "META-INF/spring/mycontext.xml"

If not you can specify the path explicitly using the
org.apache.camel.spring.Main.setApplicationContextUri() method. For example

  main.setApplicationContextUri("first_directory/sub_directory/xyz.xml");

And then the parent directory of the directory "first_directory" should be
on the classpath so that spring can see and find it's config.

Babak



--
View this message in context: 
http://camel.465427.n5.nabble.com/class-path-resource-META-INF-spring-cannot-be-resolved-tp5717378p5717379.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to