java.lang.SecurityException: class "javax.servlet.ServletRegistration"'s signer information does not match signer information of other classes in the same package
报错信息:
报错截图:
解决方案:
因为本人是sbt项目,所以添加一下依赖之后解决:
如果是maven项目的话,添加依赖到pom文件中然后在重新build,之后就可以了