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 violation: can't seal package org.mortbay.util: already loaded
I can't find anything helpful if I Google for the error. Am I missing something?
It means the package is sealed and you tried to load another jar also containing the package.
See Sealing Packages within a JAR File.
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.
Goto your jar file,you will see .MF file.Open it.You will find Sealed:true. Edit it, make it false.Over.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With