Announcement Announcement Module
Collapse
No announcement yet.
Unable to locate Spring NamespaceHandler for XML schema namespace ../g/schema/batch Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to locate Spring NamespaceHandler for XML schema namespace ../g/schema/batch

    Hi All ,

    I deployed the application in Tomcat successfully , but when i deployed the same application in JBoss5.0 , i am getting the bellow mentioned error .
    Code:
    [STDERR] org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/batch]
    I have placed all the required jar files in the web-inf lib folder which are required to run the application in JBOSS .

    MY SCHEMA -DEFNS

    Code:
    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:batch="http://www.springframework.org/schema/batch"
    	xmlns:aop="http://www.springframework.org/schema/aop"
    	xmlns:tx="http://www.springframework.org/schema/tx"
    	xmlns:p="http://www.springframework.org/schema/p"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    	xmlns:util="http://www.springframework.org/schema/util"
    	xmlns:context="http://www.springframework.org/schema/context"
    	
    	
    	xsi:schemaLocation="
    		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    		http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
    		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
    		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
    		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
    		http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.1.xsd">
    i did google around but , i could not come across a solution .

    If Some one can guide me , where am i going wrong , that would be of great help .

    Thank you
    Sandeep.S

  • #2
    you may want to look here: http://forum.springsource.org/showth...33520&posted=1
    and here: http://community.jboss.org/message/203909#203909

    Can you post the full stack trace?

    Comment

    Working...
    X