java.lang.SecurityException: sealing violation:

前端 未结 3 836
陌清茗
陌清茗 2020-12-04 01:32

I am using GWT for my Java application. When I try to run it as web application, I get the following error:

java.lang.SecurityException: sealing viola

相关标签:
3条回答
  • 2020-12-04 02:28

    It means the package is sealed and you tried to load another jar also containing the package.

    See Sealing Packages within a JAR File.

    0 讨论(0)
  • 2020-12-04 02:30

    Your current exception shows that you are using Jetty in your project. Possible problem might be that you have this jar available twice in your classpath.

    0 讨论(0)
  • 2020-12-04 02:33

    Goto your jar file,you will see .MF file.Open it.You will find Sealed:true. Edit it, make it false.Over.

    0 讨论(0)
提交回复
热议问题