天天看點

spark報錯:class “javax.servlet.ServletRegistration“‘s signer information does not match signer

spark 運作報錯:

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

這種情況是 sbt 導入的依賴包含有多個

javax.servlet

的包。

解決方案是通過

exclude

去掉

spark報錯:class “javax.servlet.ServletRegistration“‘s signer information does not match signer

繼續閱讀