-
Notifications
You must be signed in to change notification settings - Fork 317
Description
hakan eryargi opened SWS-454 and commented
two different jar files contains META-INF/spring.handlers file which define spring handlers (spring-oxm-xx.jar, spring-ws-core-xx.jar). these jars and some others are bundled into a single jar file spring-ws-xx-all.jar. when using spring-ws-xx-all.jar in our classpath, spring complains saying:
Unable to locate Spring NamespaceHandler for XML schema namespace http://www.springframework.org/schema/oxm
this happens since jvm picks one of the META-INF/spring.handlers per jar file and ignores the others.
workaround is to use seperate module files instead of spring-ws-xx-all.jar
solution is merging META-INF/spring.handlers files from different jars into a single one and including it in spring-ws-xx-all.jar
Affects: 1.5.5
Issue Links:
- All-in-one jar doesn't contain correct spring.handlers [SWS-360] #512 All-in-one jar doesn't contain correct spring.handlers
("duplicates")