Hi all,

For my first post here, first of all, big respect to all developers working
on Camel projects.

I'm having the same problem but I can't seem to deal with it in the way
described above. It is the same handler that is stated missing.

I'm also using maven and assembly plugin. I checked the "fat jar" created by
this plugin and it does have
(spring.schemas and spring.handlers) files in the META-INF dir (without my
intervention) but they don't declare this specific schema/handler. I tried
modifying the assembly descriptor but it didn't work out. I'm completely new
to these concepts so there's a big chance that I'm doing something wrong but
what confuses me are those existing (spring.schemas and spring.handlers) 
files. I tried adding spring-integration jar to my classpath and those
schema/handler got inserted in the two files above but this one is still
causing me problems and I can't seem to start my app with the java -jar
command.
Furthermore, camel-spring-v2.2.xsd and camel-spring.xsd exist in the root of
the "fat jar". 

I checked my classpath and the pom file contains everything I believe is
needed. More specific, it does contain camel-spring (2.2.0) jar which I
believe holds this handler.

I'm using java 1.6.0_17. and Camel 2.2.0.

Thanks and please let me know if there's anything more I can provide to help
you help me solve this problem :)






Ian de Beer wrote:
> 
> Hi
> Thanks to all - it works with the two files (spring.schemas and
> spring.handlers) added to my META-INF
> Regards
> Ian
> 
> 
> willem.jiang wrote:
>> 
>> Can you check your "fat-jar" if it contains the file 
>> /META-INF/spring.handles and /META-INF/spring.schemas like these files
>> [1]
>> 
>> If not , you need to update your assembly plugin is configuration to 
>> contain upper files.
>> 
>> [1] 
>> https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring-osgi/src/main/resources/META-INF
>> 
>> Willem
>> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/The-dreaded%3A-Unable-to-locate-Spring-NamespaceHandler-for-XML-schema-tp26388081p27917397.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to