2015-09-14 66 views
1

我必须将我的SBT项目重新导入IDEA,彻底清理它(git clean -fdx),甚至执行“无效缓存/重新启动”。现在,使用Spark背景下我所有的单元测试失败:使用Spark的单元测试不再从IntelliJ IDEA运行

java.lang.SecurityException: class "javax.servlet.FilterRegistration"'s signer information does not match signer information of other classes in the same package 

我已经搜查,周围挖,结果发现,我必须对我的依赖排除在hadoop-commonjavax.servlet依赖。我这样做了,但没有帮助。

当从控制台运行测试sbt test时,一切运行良好。

我还能检查什么?

编辑:我甚至重新导入一切从头开始,包括删除.ivy2文件夹,并没有帮助。

回答

1

我不得不将javax.servlet的排除添加到我的所有Hadoop依赖项!

相关问题