Storm Found multiple defaults.yaml resources
来源:互联网 发布:淘宝行业关键词 编辑:程序博客网 时间:2024/06/04 22:35
运行storm-kafka应用程序的的时候报了这个错
这个想了下,肿么会有多个呢,后面觉得应该是在应用的jar包里面也把storm的defaultsyarm打进去了。
找了下只看到
<dependency> <groupId>storm</groupId> <artifactId>storm</artifactId> <version>0.9.0</version> </dependency>
这个包里好像什么都没有,又去storm.jar用jd看了下,里面没有这个yaml,哎,后面有看了下storm.jar的pom.xml
<dependency> <groupId>storm</groupId> <artifactId>storm-core</artifactId> <version>0.9.0</version> </dependency>
其实这个defaults.yaml在storm-core.jar里面.好了,找到了,设置storm依赖的scope为provided好了
<dependency> <groupId>storm</groupId> <artifactId>storm</artifactId> <version>0.9.0</version> <scope>provided</scope> </dependency>
0 0
- Storm Found multiple defaults.yaml resources
- Storm Found multiple defaults.yaml resources
- Storm Found multiple defaults.yaml resources
- Storm异常之RuntimeException: Found multiple defaults.yaml resources
- JStorm Found multiple defaults.yaml resources. You're probably bundling the Storm jars with your top
- Jstorm-------storm.yaml配置
- Storm的配置文件yaml详解
- defaults
- STORM入门之(yaml配置文件说明)
- Multiple Controllers with Shared Resources
- instance method '-setMasksToBounds:' not found (return type defaults to 'id')
- instance method '-methodName' not found (return type defaults to 'id')
- instance method '*****' not found (return type defaults to 'id')
- instance method '' not found (return type defaults to 'id')
- YAML
- YAML
- Yaml
- YAML
- commons-net FTPClient API存取设计
- android:shape的使用
- 代码审查
- java.lang.IllegalStateException: Couldn't read row 0, col 6 from CursorWindow异常
- 动态判断合成视频,保留原音,混音音乐,设置音量大小
- Storm Found multiple defaults.yaml resources
- 电子商务
- windows下抓本机环回包的方法
- u-boot移植与分析记录之一【S5PV210芯片手册启动顺序部分的翻译】
- cocos2d-x安卓开发环境搭建(windows+eclipse+ndk 不用cygwin)
- iOS Dev (28) 三种基本的 2D 放射变换
- UML之包图
- iOS UIWebView基础知识
- GHJNRST