运行spark应用程序封装错误(maven亲属)

时间:2015-12-23 06:20:13

标签: apache-spark maven-2 maven-3

我想弄清楚maven是如何运作的。当我向现有的pom.xml添加依赖项并重建我的spark应用程序项目时。建立成功我可以从控制台获得。但是,当我运行spark应用程序时,spark-shell并不满意,并直接给我一条消息:

Exception : Java.lang.NoClassDefFoundError : com/github/stuxuhai/jpinyin/PinyinFormat
Caused by : ClassNotFoundException : com.github.stuxuhai.jpinyin.PinyinFormat

我去目录.m2 / repo / com / github / stuxuhai / jpinyin / 1 / .1.1和jpinyin-1.1.1.jar就在那里。发生了什么 ?任何人都可以帮助我吗?

0 个答案:

没有答案