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-common
上javax.servlet
依賴。我這樣做了,但沒有幫助。
當從控制檯運行測試sbt test
時,一切運行良好。
我還能檢查什麼?
編輯:我甚至重新導入一切從頭開始,包括刪除.ivy2文件夾,並沒有幫助。