6 Replies Latest reply on Jun 5, 2007 3:02 PM by youngm

    Unable to locate NamespaceHandler for namespace [http://jbos

    Amit Tiwary Newbie

      Geeks,
      Save the foot soldier. Trying to make Seam+Spring+Hibernate app, getting the below error, name space lookup problem. Pls. help.

      12:01:15,765 INFO [STDOUT] 12:01:15,750 ERROR [[/prevea]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate NamespaceHandler for namespace [http://jboss.com/products/seam/spring-seam]
      Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml]
      at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:59)
      at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:64)
      at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:55)
      at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1144)
      at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1137)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:143)
      at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions
      blah blah blah.....

      My applicationContext.xml is
      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:aop="http://www.springframework.org/schema/aop"
      xmlns:util="http://www.springframework.org/schema/util"
      xmlns:seam="http://jboss.com/products/seam/spring-seam"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:tx="http://www.springframework.org/schema/tx"
      xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
      http://www.springframework.org/schema/aop
      http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
      http://www.springframework.org/schema/util
      http://www.springframework.org/schema/util/spring-util-2.0.xsd
      http://jboss.com/products/seam/spring-seam http://jboss.com/products/seam/spring-seam-1.2.xsd
      http://www.springframework.org/schema/tx
      http://www.springframework.org/schema/tx/spring-tx-2.0.xsd"
      default-lazy-init="true">



      <!-- Spring Data Access Exception Translator Defintion -->






      <seam:configure-scopes />
      <seam:instance id="hbmSessionFactory" name="hibernateSessionFactory" proxy="true"/>
      <seam:instance id="pDS" name="preveaDatasource" proxy="true"/>