java.lang.SecurityException

转载 2011年01月08日 02:44:00
我在用MyEclipse6.0做Struts1.2、Hibernate3.1、Spring2.0的整合开发过程中,启动Tomcat6.0时遇到了如下异常:
 
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
Caused by:
java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
 
严重: action: null
org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
Caused by: java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
 

解决办法如下
MyEclipse6.0支持Struts1.2的过程中自带了commons-beanutils.jar,把这jar移除工程,到apache官方网站上下载commons-beanutils-1.7.0.zip,把里面的commons-beanutils.jar添加到工程中即可。

相关文章推荐

ActivityManager: java.lang.SecurityException 问题

====================================================== 注:本文源代码点此下载 =============================...

Java.lang.SecurityException

本人遇到的问题是第二个。在eclipse中清除tomcat相关,重新设置java版本,检查jdk的security文件加下的两个jar,然后重启eclipse,重新配置tomcat,再次启动。ok,错...

Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.int

crash information: Caused by: java.lang.SecurityException: Permission Denial: not allowed to send b...

java.lang.SecurityException:under uid 10090 but it is really 10060

E/DatabaseUtils( 1255): java.lang.SecurityException: Package com.flyaudio.skin does not belong to 10...

Intellij打包jar文件,“java.lang.SecurityException: Invalid signature file digest for Manifest main attrib

下面是使用Intellij 打包jar文件的步骤,之后会有运行jar文件时遇到的错误。 打包完成。 ============================================...

webloigc 使用 spring-loaded 报错,java.lang.SecurityException: 无法定位登录配置

webloigc 使用 spring-loaded 报错,java.lang.SecurityException: 无法定位登录配置
  • jaynol
  • jaynol
  • 2014-05-09 11:03
  • 2052

配置phonegap进行android开发()java.lang.SecurityException: ConnectivityService:

[转自]http://www.cnblogs.com/lonelyDog/archive/2012/05/28/2521619.html 配置phonegap进行android开发()java....

java.lang.SecurityException: JCE cannot authenticate the provider BC

JCE cannot authenticate the provider BC

Launcher中动态加载APK出现java.lang.SecurityException异常的解决方法(二)

在Launcher中动态加载APK,之前有出现过java.lang.SecurityException的异常, 具体的异常信息如下: 09-05 19:05:55.033: E/AndroidRunt...

Caused by: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.int

最近在整理拍照或从相册中取图片功能,忽然有个想法,就是拍照之后的图片立马能在相册中看到。我们都知道相册里的图片数据是在sd卡挂载的时候扫描的,如果要想拍照之后在相册中看到图片是不能的,但是呢,我们可以...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)