spring for hadoop 使用 FsShell autowired 报错

标签 spring spring-boot hadoop spring-data autowired

我在基于 spring boot 的 hadoop 上使用 spring 唯一文件设置FsShell只做了需要的 但正如这篇文章 发生错误 错误是:

error is Could not autowire. No beans of 'FsShell' type found.

请帮帮我

最佳答案

我想念依赖 compile('org.springframework.data:spring-data-hadoop-boot:2.4.0.BUILD-SNAPSHOT') 正在运行

但我正在使用 compile('org.springframework.data:spring-data-hadoop:2.4.0.BUILD-SNAPSHOT') 这不起作用

关于spring for hadoop 使用 FsShell autowired 报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35863457/

相关文章:

javascript - 将表单从 Angular JS 发送到 Spring

java - 创建名称为 'clientsDaoImpl' : Injection of autowired dependencies failed; 的 bean 时出错

java - 在 Spring 4.2 中,我怎样才能使路径变量成为可选的

postgresql - 如何使用spring boot 3.0.0-RC2在spring AOT编译中包含postgres驱动

scala - Spark Shell 导入正常,但在引用类时抛出错误

sql - Hive SQL多个左外部联接查询在其结果中缺少记录

hadoop - 如何在 mapreduce 作业中获得适当大小的输入拆分

spring - 如何为每个作业打开/关闭 quartz ?

java - 配置 Spring Data Repository 类以针对读取/选择方法命中 read_replica_db 并针对写入/插入方法命中 main_db ?

java - org.openqa.selenium.json.JsonOutput.write(Ljava/lang/Object;)Lorg/openqa/selenium/json/JsonOutput;由于 java.io.IOException : Incomplete document