java.lang.SecurityException:密封违规: [英] java.lang.SecurityException: sealing violation:

查看:1819
本文介绍了java.lang.SecurityException:密封违规:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的Java应用程序使用GWT。当我尝试将它作为Web应用程序运行时,出现以下错误:


java.lang.SecurityException:密封违规:无法密封包org.mortbay.util:已加载

如果Google发生错误,我找不到任何有用的信息。我错过了什么?



请参阅将软件包内的密封一个JAR文件


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.

这篇关于java.lang.SecurityException:密封违规:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆