jeudi 26 février 2015

spring integration 4.1.4. exception : Unable to locate NamespaceHandler for XML schema

I used spring 2.2. and I have recently upgraded to spring 4.1.4.


My project uses the the following application context:





<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU"
xmlns:context="http://ift.tt/GArMu7"
xmlns:int="http://ift.tt/1eF5VEE"
xmlns:int-file="http://ift.tt/1dDJqLp"
xmlns:task="http://ift.tt/LFBt0P"
xsi:schemaLocation="http://ift.tt/GArMu6
http://ift.tt/1jdM0fG
http://ift.tt/LFBt0P
http://ift.tt/1je45tD
http://ift.tt/GArMu7
http://ift.tt/1jdLYo7
http://ift.tt/1eF5VEE
classpath:com/alu/motive/smdm/mediation/process/orchestration/activity/spring-integration.xsd">



Note that I am using classpath to refer to the spring integration xsd file as I did not see the spring.shemas in the spring jar file. When I run the application, I receive the following exception: Exception in thread "Thread-8" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://ift.tt/1eF5VEE]


Likely, the root cause comes from the absence of the spring.handlers file. Could you tell me what is the best way to solve my issues?


Aucun commentaire:

Enregistrer un commentaire