java.lang.IllegalStateException: Class invariant violation
at org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:199)
at org.apache.log4j.LogManager.getLogger(LogManager.java:228)
at org.apache.log4j.Logger.getLogger(Logger.java:117)
这个是log4j的一个已知bug。
由org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES这个属性引起。它默认是TRUE,将其设置成FALSE就可以规避这个错误。
这个问题在TOMCAT和Glassfish两个容器里都会出现,不知道其他的会不会。
原因当这个属性为TRUE的时候,会在应用停止的时候会试图将所有为NULL的静态或不可修改字段(final)从已加载类里清除。
出处:http://blog.csdn.net/yuanyuan110_l/article/details/7304581
分享到:
相关推荐
The 80x86 MOV Instruction<br>4.8 - Some Final Comments on the MOV Instructions<br><br>4.9 Laboratory Exercises<br>4.9.1 The UCR Standard Library for 80x86 Assembly Language Programmers<br>4.9.2 ...
采用最广泛的是基于特征点的图像匹配算法,<br> 其中用得最多的是采用SIFT(scale invariant feature transform)算子来描述一幅图像的特征,进而采用RANSAC算<br> 法来剔除误匹配点。然而传统RANSAC算法在图像不同...
<remove invariant="System.Data.SqlServerCe.4.0"/> <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for...
The iterative learning control problem of nonlinear system which can be described by a time<BR>invariant model and a variant model is studied. The model of time invariant part, which is k
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" /> </providers> </entityFramework> <connectionStrings> <add name=...
<provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"></...
SIFT(Scale-Invariant Feature Transform,尺度不变特征变换)是一种在图像处理和计算机视觉领域广泛应用的特征检测算法,由David G. Lowe在1999年提出。它旨在找到图像中的关键点,这些关键点在不同的尺度、旋转、...
:warning:如果您是由于如下所示的Apollo Client错误消息而来到这里的: Invariant Violation: Invariant Violation: 27 (see https://github.com/apollographql/invariant-packages)您应该查阅文件node_modules/@...
<provider invariantName="System.Data.SqlClient" connectionString="Data Source=Server;Initial Catalog=Database;User Id=Username;Password=Password;"></provider> </dataSource> <sqlMaps> <sqlMap ...
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> </codeConfigurationType> ``` ...
1.打开安装目录C:\Program Files\System.Data.SQLite\2010\bin拷贝System.Data.SQLite.dll System.Data.SQLite.Linq.dll 至工程目录并引用到工程2.App.Config新增以下配置<appSettings><add key="ConnectionString" ...
<remove invariant="Oracle.ManagedDataAccess.Client" /> <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" ...
这一步通常使用SIFT(Scale-Invariant Feature Transform)或ORB(Oriented FAST and Rotated BRIEF)等特征检测算法。 2. **几何配准**:通过比较相邻视频帧的关键点,计算出各个视角间的相对姿态,建立一个全局的...
Under the linear minimum variance sense, a distributed optimal<br>weighted fusion estimator is given for discrete time-invariant stochastic linear systems with<br>multiple distributed sensors....
<add name="Oracle Data Provider" invariant="Oracle.DataAccess.Client" description=".Net Framework Data Provider for Oracle" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, ...
<DbProviderFactories> <add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory...
是应用hu Seven invariant moments 方法对图像进行处理的代码
范围不变 React 的invariant()函数的一个版本..." ) // throws '[path] Invariant Violation: failed!' scopedInvariant ( 'my-module' ) ( false , "failed!" ) // throws '[my-module] Invariant Violation: failed!'
<button onClick={e => this.changeText()}>面试官系列</button> </div> ); } changeText() { this.setState({ message: "JS每日一题" }); } } ``` 在上面的代码中,我们使用 setState 方法来更新组件的...