Spring Hadoop - Unable to locate Spring NamespaceHandler for XML schema namespace

188 Views Asked by At

I want to enable Hive in my Spring Hadoop project. I understand that we can't use JavaConfiguration so I am using XML. I have an error regarding the Spring Namespace.

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. [2017-10-03 10:26:51.292] - 44342 SEVERE [main] --- org.springframework.boot.SpringApplication: Application startup failed org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/hadoop]

Offending resource: class path resource [hiveContext.xml]

My pom has the following dependency.

<dependency>
  <groupId>org.springframework.data</groupId>
  <artifactId>spring-data-hadoop-boot</artifactId>
  <version>2.5.0.RELEASE</version>
</dependency>

I know some other posts talks about SpringSecurity, but I don't have access to a spring-hadoop-config dependency.

0

There are 0 best solutions below