just a guess - but does fat jar contain needed descriptors in META-INF i.e. META-INF/spring.handlers and META-INF/spring.schemas?
br, maciek On Tue, 2009-11-17 at 04:50 -0800, Ian de Beer wrote: > Hi Claus > I have tried with "http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd", but the > problem persists. > The puzzling part is that it works when the full classpath is specified > (referencing the jars in the maven repo). Obviously the fat jar, containing > all dependencies, is the only jar on the classpath and then it fails. The > jar does contain the CamelNamespaceHandler.class. > Regards > Ian > > > Claus Ibsen-2 wrote: > > > > Hi > > > > You can change to use a fixed 2.0.0 version of the XSD > > > > http://camel.apache.org/schema/spring > > http://camel.apache.org/schema/spring/camel-spring.xsd"> > > > > Should be > > > > http://camel.apache.org/schema/spring > > http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd"> > > > > > > >
